Internet top up
Check a top-up by id
GET
Status of one internet top-up by its topupId. Poll every 5 seconds while HANDLING.
AccessTokenheader
X-Access-Token<token>Your API key. Sandbox keys start with flx_test_, production keys with flx_live_.
id*stringLength
1 <= length <= 64The top-up
application/json- response
success*trueValue in
truedata*meta*requestId*stringcurl -X GET 'https://api.flexyliktelecom.com/v3/internet/check-id/F00012345'Example Response
{ "success": true, "data": { "_id": "T00045678", "ref": "order-10294", "status": "HANDLING", "type": "ADSL", "number": "030000009", "topup_amount": 1000, "balance_amount": 1000, "card_name": "string", "card_code": "string", "serial_number": "string", "num_trans": "string", "refund_message": "string", "manual_message": "string", "created_at": "2026-11-15T10:31:00.000Z" }, "meta": { "timestamp": "2026-11-15T10:30:00.000Z" }, "requestId": "req_8fK2mQx7Lp0aZ3nV1cWb"}Send a mobile top-up POST
Starts a top-up and returns at once with `topupId` and `topupRef`. The result comes later: poll check-id or check-ref until the status is final (COMPLETED, REFUNDED or UNKNOWN_ERROR). DEBT_PENDING means the line has an unpaid debt: answer with POST /v3/mobile/resolve-debt. Always send your own `ref`; if the call fails or times out, check that ref before sending again.
Validate a line number GET
Checks with Algérie Télécom that the line exists for this type. Optional before a send, but it catches typos early. Can take a few seconds.