Send money from wallets to M-Pesa or bank accounts. Withdrawals are processed via M-Pesa B2C for mobile money.
API Reference
Get Withdrawal Providers
Create Withdrawal
POST
/partner/withdrawals
Expand
Get Withdrawal Status
GET
/partner/withdrawals/:withdrawalId
Expand
Withdrawal Flow
Funds are reserved from the wallet
M-Pesa B2C request is sent to Safaricom
Customer receives money in M-Pesa
Webhook is sent with final status
Fees
Provider
Fee
M-Pesa
35 KES flat
Bank Transfer
75 KES flat
Testing in Sandbox
Sandbox wallets start with 0 KES balance. You need to deposit funds first you can use for testing withdrawals. In sandbox mode, withdrawals use the real M-Pesa B2C API to send money to real phone numbers.
Use real Kenyan phone numbers for testing
Real funds will be sent to the recipient
Webhooks will be triggered upon completion or failure
Test balance is replenished when you create new wallets