HubtelDevelopers
API referenceCommission Services

List Telecel data bundles

GET
/commissionservices/{accountNumber}/fa27127ba039455da04a2ac8a1613e00

Returns the available Telecel 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/fa27127ba039455da04a2ac8a1613e00?destination=233206439599"
{  "ResponseCode": "0000",  "Message": "Successful",  "Label": "Successful",  "Data": [    {      "Display": " Dual Recharge",      "Value": " 5.7 GB",      "Amount": 50    },    {      "Display": "Chat Monthly",      "Value": "2 GB",      "Amount": 20    },    {      "Display": "Starter Monthly",      "Value": "560 MB",      "Amount": 10    },    {      "Display": " Streamer Weekly",      "Value": "460 MB",      "Amount": 5    },    {      "Display": "Browser Daily",      "Value": "61 MB",      "Amount": 1    },    {      "Display": " Starter Daily",      "Value": "25 MB",      "Amount": 0.5    }  ]}