HubtelDevelopers
API referenceCommission Services

List AirtelTigo data bundles

GET
/commissionservices/{accountNumber}/06abd92da459428496967612463575ca

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
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.

Query Parameters

destination*string

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    }  ]}