Pay ECG prepaid
Pays for ECG prepaid from your prepaid balance; look up a meter 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.
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.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
Callbacks
curl -X POST "https://example.com/commissionservices/string/e6d6bac062b5499cb1ece1ac3d742a84" \ -H "Content-Type: application/json" \ -d '{ "Destination": "233541312238", "Amount": 1, "CallbackUrl": "https://webhook.site/fcad8efa-624b-44c8-a129-b1c01921191d", "ClientReference": "TestDATA2022052105", "Extradata": { "bundle": "P09137104" } }'{ "ResponseCode": "0001", "Message": "Transaction pending. Expect callback request for final state", "Data": { "ClientReference": " TestDATA2022052105", "Amount": 1, "TransactionId": " 6bf810b8f7d5424a973165b36cc1817e", "Meta": { "Commission": "0.0171" } }}Top up Telecel airtime POST
Tops up Telecel 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.
Programmable Services
Tell Hubtel you've delivered a paid Programmable Services order.