HubtelDevelopers
API referenceDirect Send Money

Pay out to a mobile money wallet

POST
/api/merchants/{accountNumber}/send/mobilemoney

Sends money from your disbursement account to a mobile money wallet. The response is pending; the final result is POSTed to PrimaryCallbackUrl. Your disbursement balance must cover the amount plus fees. If no callback arrives within 5 minutes, call Check a payout's status.

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.

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/api/merchants/string/send/mobilemoney" \  -H "Content-Type: application/json" \  -d '{    "RecipientName": "Joe Doe",    "RecipientMsisdn": "233200000000",    "CustomerEmail": "[email protected]",    "Channel": "vodafone-gh",    "Amount": 10,    "PrimaryCallbackURL": "https://webhook.site/b503d1a9-e726-f315254a6ede",    "Description": "Union Dues",    "ClientReference": "25335r45pch53544044"  }'
{  "ResponseCode": "0001",  "Data": {    "AmountDebited": 0,    "TransactionId": "8a545e5c7357714b80b65f76",    "Description": "Your request has been accepted. We will notify you when the transaction is completed.",    "ClientReference": "25335r45pch53544044",    "ExternalTransactionId": "",    "Amount": 10,    "Charges": 0,    "Meta": null,    "RecipientName": null  }}