Top up Telecel airtime
Tops up Telecel 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 Base64 of API ID:API Key.
In: header
Path Parameters
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/f4be83ad74c742e185224fdae1304800" \ -H "Content-Type: application/json" \ -d '{ "Destination": "233206439599", "Amount": 0.5, "CallbackUrl": "https://webhook.site/fcad8efa-624b-44c8-a129-b1c01921191d", "ClientReference": "TestEVD01021" }'{ "ResponseCode": "0001", "Message": "Transaction pending. Expect callback request for final state", "Data": { "ClientReference": "TestEVD01021", "Amount": 0.85, "TransactionId": "0305e0d79b2048e5b57647d4acaff939", "Meta": { "Commission": "0.0280" } }}Pay StarTimes POST
Pays for StarTimes from your prepaid balance; look up a smartcard or customer number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale.
Pay ECG prepaid POST
Pays for ECG prepaid from your prepaid balance; look up a meter number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale.