Commission Services
Sell airtime, data bundles, TV subscriptions and utility top-ups, and earn commission.
Host: cs.hubtel.com. Requests must come from an allowlisted IP.
Authenticate with your API ID and API Key. See Authentication and accounts.
| Operation | Request |
|---|---|
| Top up MTN airtime | POST /commissionservices/{accountNumber}/fdd76c884e614b1c8f669a3207b09a98 |
| Top up Telecel airtime | POST /commissionservices/{accountNumber}/f4be83ad74c742e185224fdae1304800 |
| Top up AirtelTigo airtime | POST /commissionservices/{accountNumber}/dae2142eb5a14c298eace60240c09e4b |
| List MTN data bundles | GET /commissionservices/{accountNumber}/b230733cd56b4a0fad820e39f66bc27c |
| Buy MTN data bundle | POST /commissionservices/{accountNumber}/b230733cd56b4a0fad820e39f66bc27c |
| List Telecel data bundles | GET /commissionservices/{accountNumber}/fa27127ba039455da04a2ac8a1613e00 |
| Buy Telecel data bundle | POST /commissionservices/{accountNumber}/fa27127ba039455da04a2ac8a1613e00 |
| List Telecel broadband | GET /commissionservices/{accountNumber}/b9a1aa246ba748f9ba01ca4cdbb3d1d3 |
| Buy Telecel broadband | POST /commissionservices/{accountNumber}/b9a1aa246ba748f9ba01ca4cdbb3d1d3 |
| List AirtelTigo data bundles | GET /commissionservices/{accountNumber}/06abd92da459428496967612463575ca |
| Buy AirtelTigo data bundle | POST /commissionservices/{accountNumber}/06abd92da459428496967612463575ca |
| Look up a DStv account | GET /commissionservices/{accountNumber}/297a96656b5846ad8b00d5d41b256ea7 |
| Pay DStv | POST /commissionservices/{accountNumber}/297a96656b5846ad8b00d5d41b256ea7 |
| Look up a GOtv account | GET /commissionservices/{accountNumber}/e6ceac7f3880435cb30b048e9617eb41 |
| Pay GOtv | POST /commissionservices/{accountNumber}/e6ceac7f3880435cb30b048e9617eb41 |
| Look up a StarTimes account | GET /commissionservices/{accountNumber}/6598652d34ea4112949c93c079c501ce |
| Pay StarTimes | POST /commissionservices/{accountNumber}/6598652d34ea4112949c93c079c501ce |
| Look up a ECG prepaid meter | GET /commissionservices/{accountNumber}/e6d6bac062b5499cb1ece1ac3d742a84 |
| Pay ECG prepaid | POST /commissionservices/{accountNumber}/e6d6bac062b5499cb1ece1ac3d742a84 |
| Look up a Ghana Water meter | GET /commissionservices/{accountNumber}/6c1e8a82d2e84feeb8bfd6be2790d71d |
| Pay Ghana Water | POST /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 Code | Description | Required Action |
|---|---|---|
0000 | The transaction has been processed successfully. | None |
0001 | Transaction pending. Expect callback request for final state | None |
0005 | There was an HTTP failure/exception. | The transaction state is not known. Please contact your Retail Systems Engineer to confirm the status of this transaction. |
2000 | General Failure Error | |
2001 | General Failure Error | Usually, 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 |
4000 | An error occured. Kindly try again later/ missing mobile value. An error occured during verification | Kindly check to ensure you are parsing the correct parameters. |
4010 | Validation Errors | A required request parameter might have been left empty, invalid or omitted. |
4101 | Authorization for request is denied/could not find prepaid account | Ensure 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 |
4103 | Permission denied | You are not allowed to perform this transaction. Kindly ensure your API keys are accurate. |
4075 | Insufficient 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. |
Send an SMS POST
Sends one SMS from an approved sender ID. The response includes a `messageId`; delivery is reported to your callback and via **Get a message**. Sender IDs are approved per business; in test mode any sender ID works.
Top up AirtelTigo airtime POST
Tops up AirtelTigo airtime from your disbursement (prepaid) balance. The response is pending (`0001`); the final result is POSTed to `CallbackUrl`. Destination test numbers follow Send Money payout scenarios (e.g. `233240000101` succeeds). Maximum amount is 100 cedis.