HubtelDevelopers
API referenceCommission Services

Top up AirtelTigo airtime

POST
/commissionservices/{accountNumber}/dae2142eb5a14c298eace60240c09e4b

Tops up AirtelTigo airtime from your disbursement (prepaid) balance. The response is pending (0001); the final result is POSTed to CallbackUrl. Destination test numbers follow Send Money payout scenarios (e.g. 233240000101 succeeds). Maximum amount is 100 cedis.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key.

In: header

Path Parameters

accountNumber*string

Your disbursement account number (prepaid), which funds payouts and purchases. Find it in your Hubtel merchant account under Programmable keys → Account ID. In the sandbox, use the disbursement account in Workbench.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/commissionservices/string/dae2142eb5a14c298eace60240c09e4b" \  -H "Content-Type: application/json" \  -d '{    "Destination": "233574126849",    "Amount": 0.5,    "CallbackUrl": "https://webhook.site/fcad8efa-624b-44c8-a129-b1c01921191d",    "ClientReference": "TestEVD01027"  }'
{  "ResponseCode": "0001",  "Data": {    "ClientReference": "TestEVD01027",    "Amount": 0.85,    "TransactionId": "a1579b60845444babfe13945660a679d",    "Meta": {      "Commission": "0.35"    }  }}