Send money directly to a customer’s M-Pesa mobile number.
409 INSUFFICIENT_FUNDS.PROCESSING).FAILED state and the transaction’s result_code
and result_desc contain the M-Pesa error details.
Reversed transactions have status: "REVERSED". You can safely retry a failed payout —
the original transaction will not be retried automatically.Use your API key as the username. Leave the password field empty.
Authorization: Basic <base64(apikey:)>You can also pass the raw API key:
Authorization: Basic <apikey>Payout amount in KES. Minimum KES 10.
x >= 10500
Recipient M-Pesa phone number.
"0712345678"
Your reference for this payout (e.g. withdrawal ID).
"WD-2024-001"
HTTPS URL to receive the payout result.
"https://yourserver.com/webhooks/b2c"
Currency code. Currently only KES is supported.
Short description of the payout purpose.
"Commission payout"
Optional channel to use for this payout.
Payout queued successfully. Transaction is in PENDING state.