List AirtelTigo data bundles
Returns the available AirtelTigo data bundles for a phone number, supplied in the destination field. Use the returned bundle values when submitting a payment.
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.
Query Parameters
The destination number which will be receiving the data bundle value. This parameter is to be placed in the URL. Not in the request body.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/commissionservices/string/06abd92da459428496967612463575ca?destination=233273833933"{ "ResponseCode": "0000", "Message": "Successful", "Label": "Select bundle", "Data": [ { "Display": "80MB Bundle (GHS 1)", "Value": "DATA1", "Amount": 1 }, { "Display": "200MB Bundle (GHS 2", "Value": "DATA2", "Amount": 2 }, { "Display": "650MB Bundle (GHS 5)", "Value": "DATA5", "Amount": 5 }, { "Display": "2GB Bundle (GHS 10)", "Value": "DATA10", "Amount": 10 }, { "Display": "5GB Bundle (GHS 20)", "Value": "DATA20", "Amount": 20 }, { "Display": "11GB Bundle (GHS 50)", "Value": "DATA50", "Amount": 50 } ]}Buy Telecel data bundle POST
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.
List MTN data bundles GET
Returns the available MTN data bundles for a phone number, supplied in the destination field. Use the returned bundle values when submitting a payment.