HubtelDevelopers
API reference

Commission Services

Sell airtime, data bundles, TV subscriptions and utility top-ups, and earn commission.

Preview documentation

Host: cs.hubtel.com. Requests must come from an allowlisted IP.

Authenticate with your API ID and API Key. See Authentication and accounts.

OperationRequest
Top up MTN airtimePOST /commissionservices/{accountNumber}/fdd76c884e614b1c8f669a3207b09a98
Top up Telecel airtimePOST /commissionservices/{accountNumber}/f4be83ad74c742e185224fdae1304800
Top up AirtelTigo airtimePOST /commissionservices/{accountNumber}/dae2142eb5a14c298eace60240c09e4b
List MTN data bundlesGET /commissionservices/{accountNumber}/b230733cd56b4a0fad820e39f66bc27c
Buy MTN data bundlePOST /commissionservices/{accountNumber}/b230733cd56b4a0fad820e39f66bc27c
List Telecel data bundlesGET /commissionservices/{accountNumber}/fa27127ba039455da04a2ac8a1613e00
Buy Telecel data bundlePOST /commissionservices/{accountNumber}/fa27127ba039455da04a2ac8a1613e00
List Telecel broadbandGET /commissionservices/{accountNumber}/b9a1aa246ba748f9ba01ca4cdbb3d1d3
Buy Telecel broadbandPOST /commissionservices/{accountNumber}/b9a1aa246ba748f9ba01ca4cdbb3d1d3
List AirtelTigo data bundlesGET /commissionservices/{accountNumber}/06abd92da459428496967612463575ca
Buy AirtelTigo data bundlePOST /commissionservices/{accountNumber}/06abd92da459428496967612463575ca
Look up a DStv accountGET /commissionservices/{accountNumber}/297a96656b5846ad8b00d5d41b256ea7
Pay DStvPOST /commissionservices/{accountNumber}/297a96656b5846ad8b00d5d41b256ea7
Look up a GOtv accountGET /commissionservices/{accountNumber}/e6ceac7f3880435cb30b048e9617eb41
Pay GOtvPOST /commissionservices/{accountNumber}/e6ceac7f3880435cb30b048e9617eb41
Look up a StarTimes accountGET /commissionservices/{accountNumber}/6598652d34ea4112949c93c079c501ce
Pay StarTimesPOST /commissionservices/{accountNumber}/6598652d34ea4112949c93c079c501ce
Look up a ECG prepaid meterGET /commissionservices/{accountNumber}/e6d6bac062b5499cb1ece1ac3d742a84
Pay ECG prepaidPOST /commissionservices/{accountNumber}/e6d6bac062b5499cb1ece1ac3d742a84
Look up a Ghana Water meterGET /commissionservices/{accountNumber}/6c1e8a82d2e84feeb8bfd6be2790d71d
Pay Ghana WaterPOST /commissionservices/{accountNumber}/6c1e8a82d2e84feeb8bfd6be2790d71d

Response codes

The codes this service returns in ResponseCode, as documented for production. Codes shared by all payment APIs are also explained in Errors.

Response CodeDescriptionRequired Action
0000The transaction has been processed successfully.None
0001Transaction pending. Expect callback request for final stateNone
0005There was an HTTP failure/exception.The transaction state is not known. Please contact your Retail Systems Engineer to confirm the status of this transaction.
2000General Failure Error
2001General Failure ErrorUsually, check the description of the response callback. It gives the actual error. Eg: The receiving user is not registered in the system. Or the Bundle is invalid
4000An error occured. Kindly try again later/ missing mobile value. An error occured during verificationKindly check to ensure you are parsing the correct parameters.
4010Validation ErrorsA required request parameter might have been left empty, invalid or omitted.
4101Authorization for request is denied/could not find prepaid accountEnsure that you're providing the correct Basic Auth key for the Authorization header. Also ensure you’re passing your Disbursement Account Number in the endpoint
4103Permission deniedYou are not allowed to perform this transaction. Kindly ensure your API keys are accurate.
4075Insufficient prepaid balance.You don't have enough funds in your Disbursement Account to render this service to your customers. You can top-up your Disbursement Account by transferring funds from your available balance or bank deposit.