Skip to contentSkip to Content
GuidesTransaction lifecycle

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 customer
collection_successPaid, collection wallet credited
collection_failureCustomer declined or provider failed
cancelledCancelled or timed out: statusMessage says which

Payout 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 201
termination_successDelivered to recipient
termination_failureFailed

Older names such as processing, completed and failed are no longer used. Ignore them.

Handling pending and failed transactions

Request timed out

Look it up by reference. 404 transaction not found means it wasn’t created. Retry with the same reference.

Still pending

Wait for the webhook. If none arrives, poll the status endpoint. Never create a second transaction.

Failed

Final. No money moved. Fix the cause, then start a new transaction with a new reference.

cURL: payout status
curl https://api.test.wakapay.io/business/transactions/TEST-TRANSFER-KE-001 \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
200OK
{ "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).

FieldMeaning
availableFunds you can use now
holdingReserved while payouts process
pendingCollections 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

StepWhat to do
1Store every reference you send, with its latest status and amounts
2Fetch the previous day’s payouts: GET /business/transactions?from=…T00:00:00Z&to=…T23:59:59Z (UTC)
3Fetch recent collections with GET /business/collections?limit=…
4Match by reference. Investigate anything missing on either side or still pending
5Compare your expected wallet movement with available, holding and pending

Use the amounts WakaPay returns: totalDebited on create, and debitAmount + feeAmount = totalDebit on the webhook.