Skip to content

Mobile Phone Top Up

Mobile Phone Top Up

Perform mobile top up.

HTTP Request

POST /wallets/topup

Request Headers
    "Content-Type": "application/json",
    "Authorization": "Bearer {{access_token}}"
Request Body
    "idempotencyKey": "280a03fc-2255-11eb-adc1-0242ac120002",
    "phoneNumber": "551234567890",
    "operatorId": "TA",
    "packageSku": "TAE010"
Content-Type: application/json
    "code": 200,
    "errorMsg": "",

HTTP Headers Details

Key Value
Content-Type application/json
Accept application/json
Authorization "bearer"+ "" + {{access_token}}
x-api-key {{api_key}}

Request Body Parameters

Parameter Required Type Description
idempotencyKey String Unique key to ensure idempotent requests
phoneNumber String Mobile full phone number
operatorId String Identifier of an operator
packageSku String The SKU of package

Response Body Details

Parameter Type Description
statusCode Integer 200 Success, 401 Access denied, 422 Required fields missing or invalid data, 500 internal error
errorMsg String error message if failed
transactionId String The transaction id
transferStatus String Transfer status, settled, in progress or failed
Back to top