Bank payouts
Send money to a bank account in Kenya or South Africa.
GET
/business/banks?countryCode={countryCode}POST
/business/payout/bankCountries
| Country | payoutCountry | receiverCurrency | receiverEmail |
|---|---|---|---|
| Kenya | KE | KES | Not needed |
| South Africa | ZA | ZAR | Required |
1. Get the bank code
List the banks for the country, then send the code you pick as receiverBankCode. countryCode is required: KE or ZA.
2. Create the payout
receiverBankCodestringrequiredBank code from the banks endpoint.
receiverAccountNumberstringrequiredThe receiver’s bank account number.
receiverEmailstringoptionalRequired for South Africa.
amountnumberrequiredIn the receiver currency.
cURL: list banks
curl "https://api.test.wakapay.io/business/banks?countryCode=KE" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"Kenya
cURL: Kenya bank
curl -X POST "https://api.test.wakapay.io/business/payout/bank" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"senderCurrency": "USD",
"receiverCurrency": "KES",
"amount": 5000,
"payoutCountry": "KE",
"businessReference": "PAY-KE-2026-00001",
"senderTelephoneNo": "+255712345678",
"senderFirstName": "Nate",
"senderLastName": "Smith",
"senderDob": "1990-01-01",
"senderIdType": "passport",
"senderIdNumber": "AB1234567",
"senderNationality": "TZ",
"receiverFirstName": "Jane",
"receiverLastName": "Wanjiku",
"receiverBankCode": "320",
"receiverAccountNumber": "1234567890",
"relationship": "Business",
"purposeOfTransfer": "business_payment",
"sourceOfFunds": "business_income"
}'201Created
{
"wakapayReference": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"businessReference": "PAY-KE-2026-00001",
"status": "termination_pending",
"senderCurrency": "USD",
"receiverCurrency": "KES",
"senderAmount": 38.46,
"receiverAmount": 5000,
"totalDebited": 40.46
}Sender details, receiver names, relationship, purposeOfTransfer, sourceOfFunds, businessReference and the optional callbackUrl work as in a mobile money payout.
3. Track it
A bank payout starts as termination_pending and ends in termination_success or termination_failure. Wait for the webhook or poll GET /business/transactions/{businessReference}.
Sandbox accounts
| Country | Bank code | Account | Account name |
|---|---|---|---|
| Kenya | 320 | 1234567890 | Jane Wanjiku |
| South Africa | 940044 | 9876543210 | John Smith |
For South Africa any valid email works, such as uat.receiver@example.com. The sandbox only has a USD to KES rate.
Errors
| Status | Message |
|---|---|
| 400 | Missing or invalid field |
| 404 | No FX rate for the currency pair, e.g. rate USD_TZS not configured |
| 409 | duplicate reference |
| 412 | insufficient available balance |
| 422 | account not active, or SERVICE_DISRUPTED when the rail is down |