Transaction lifecycle
Every collection and payout starts pending and ends in exactly one final status. A final status never changes.
Collection statuses
collection_pendingPrompt sent to customercollection_successPaid, collection wallet creditedcollection_failureCustomer declined or provider failedcancelledCancelled or timed out: statusMessage says whichPayout statuses
Applies to mobile money, Till/Paybill and bank payouts. An insufficient available balance error (412) is returned immediately and creates no payout.
termination_pendingCreated, returned with 201termination_successDelivered to recipienttermination_failureFailedOlder names such as processing, completed and failed are no longer used. Ignore them.
Handling pending and failed transactions
Look it up by reference. 404 transaction not found means it wasn’t created. Retry with the same reference.
Wait for the webhook. If none arrives, poll the status endpoint. Never create a second transaction.
Final. No money moved. Fix the cause, then start a new transaction with a new reference.
curl https://api.test.wakapay.io/business/transactions/TEST-TRANSFER-KE-001 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"{
"businessReference": "TEST-TRANSFER-KE-001",
"createdAt": "2026-04-12T12:09:50Z",
"receiverAmount": 100,
"receiverCurrency": "KES",
"senderAmount": 0.7751937984496124,
"senderCurrency": "USD",
"status": "termination_success",
"updatedAt": "2026-04-12T12:09:51Z",
"wakapayReference": "0ad0a4a6-364b-11f1-8c14-0242ac120008",
"fxRate": 129
}Refunds and failed payouts
There’s no refund endpoint. When a payout ends in termination_failure, the funds return to your available balance and you receive the failure webhook. For any other case, contact WakaPay support or your partnership contact.
Balances
GET /business/balance returns one wallet per currency and purpose (payout or collection).
| Field | Meaning |
|---|---|
available | Funds you can use now |
holding | Reserved while payouts process |
pending | Collections still settling |
If your account has auto-sweep, Waka moves collection funds nightly at 00:05 East Africa Time. Auto-sweep is set up by Waka and isn’t available through the API. See Auto-sweep.
Daily reconciliation
| Step | What to do |
|---|---|
| 1 | Store every reference you send, with its latest status and amounts |
| 2 | Fetch the previous day’s payouts: GET /business/transactions?from=…T00:00:00Z&to=…T23:59:59Z (UTC) |
| 3 | Fetch recent collections with GET /business/collections?limit=… |
| 4 | Match by reference. Investigate anything missing on either side or still pending |
| 5 | Compare your expected wallet movement with available, holding and pending |
Use the amounts WakaPay returns: totalDebited on create, and debitAmount + feeAmount = totalDebit on the webhook.