Oleq Payment Gateway API
B2C — Disbursements
Send funds from your short code to a customer's mobile wallet.
Initiates a disbursement from your business short code to a customer's mobile wallet. Commonly used for withdrawals, payouts, refunds, and salary payments.
POST https://{host}/api/paymentRequest fields
| Field | Type | Required | Description |
|---|---|---|---|
CountryCode | string | required | ISO 3166-1 alpha-2 country code. e.g. "ke" |
ApiKey | string | required | Your API key for this short code |
Action | string | required | Must be "B2C" |
Timestamp | string | required | Request timestamp. Format: yyyyMMddHHmmss, e.g. "20260305163822" |
Mobile | string | required | Recipient phone in international format. e.g. "254710111222" |
Amount | string | required | Amount to disburse. e.g. "100" |
Description | string | required | Payment description. e.g. "Withdrawal to Mpesa" |
Reference | string | required | Unique transaction reference from your system. e.g. "ZCEPALVKJA13" |
ShortCode | string | required | Your sending short code |
Occassion | string | optional | Additional context. Often set to the Reference value. |
CallbackUrl | string | required | HTTPS endpoint to receive the disbursement result |
Example request
{
"CountryCode": "ke",
"ApiKey": "yftubezboduk",
"Action": "B2C",
"Timestamp": "20260305163822",
"Mobile": "254710111222",
"Amount": "100",
"Description": "Withdrawal to Mpesa",
"Reference": "ZCEPALVKJA13",
"ShortCode": "12345",
"Occassion": "ZCEPALVKJA13",
"CallbackUrl": "https://yourdomain.com/callbacks/b2c"
}Response
{
"status": "0",
"message": "Accept the service request successfully.",
"ConversationID": "AG_20260305_...",
"OriginatorConversationID": "15743-..."
}| Field | Type | Description |
|---|---|---|
status | string | "0" or "200" = accepted for processing |
message | string | Human-readable acknowledgment |
ConversationID | string | Unique ID for this B2C conversation. Use to match callbacks. |
OriginatorConversationID | string | Originator conversation ID for tracking and reconciliation |