post
https://api.bnesim.com/v2.0/enterprise/recharge-transaction/get-status
Returns the outcome of a top-up requested with Top-up eSIM.
Request
- Method: POST
- URL:
https://api.bnesim.com/v2.0/enterprise/recharge-transaction/get-status - Content-Type:
multipart/form-data - Authentication: Bearer token required
Parameters
rechargeTransaction(Required): therecharge_transaction_idreturned by Top-up eSIM
Response Fields
state: what to act onPENDING- still being processed, check again in a few secondsCOMPLETED- the data plan was added to the eSIMFAILED- the top-up did not go through; seefailure_reason
status: the detailed internal status (TO_BE_PROCESSED,OK,FAILED, ...)recharge_transaction_id,license_cli,iccid,product_idcreated_at,updated_atfailure_reason: present whenstateisFAILED
Unknown IDs return HTTP 404 (RECHARGE_TRANSACTION_NOT_FOUND); a top-up that does not belong to your account returns HTTP 403.
Example cURL
curl --request POST \
--url https://api.bnesim.com/v2.0/enterprise/recharge-transaction/get-status \
--header "accept: application/json" \
--header "authorization: Bearer {{bearerToken}}" \
--header "content-type: multipart/form-data" \
--form rechargeTransaction={{rechargeTransactionId}}
Important Notes
- Top-ups usually complete within seconds; poll every few seconds while
stateisPENDING. - This endpoint is the source of truth, also when you use completion callbacks.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…