Buy Telecel data bundle
Pays for Telecel data bundles from your prepaid balance; look up a phone 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.
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
Callbacks
curl -X POST "https://example.com/commissionservices/string/fa27127ba039455da04a2ac8a1613e00" \ -H "Content-Type: application/json" \ -d '{ "Destination": "233206439419", "Amount": 0.5, "CallbackUrl": "https://webhook.site/fcad8efa-624b-44c8-a129-b1c01921191d", "ClientReference": "TestDATA01025", "Extradata": { "bundle": "25 MB" } }'{ "ResponseCode": "0001", "Message": "Transaction pending. Expect callback request for final state", "Data": { "ClientReference": "TestDATA01025", "Amount": 1, "TransactionId": " 558625e7f8c94feb82ddf50cb33bc557", "Meta": { "Commission": "0.0140" } }}Buy Telecel broadband POST
Pays for Telecel broadband from your prepaid balance; look up a phone 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.
List AirtelTigo data bundles GET
Returns the available AirtelTigo data bundles for a phone number, supplied in the destination field. Use the returned bundle values when submitting a payment.