Transactions and statuses
The transaction types, the three statuses, which transitions are possible, and how to resolve a PENDING transaction.
Every movement of money is a Transaction: one row, one id, one status. Whatever endpoint created it, you read it back the same way and it obeys the same state rules.
Transaction types
| Type | Created by | Direction |
|---|---|---|
COLLECTION |
POST /transactions/collect, hosted checkout |
Money in |
PAYOUT |
POST /transactions/disburse and its payout-credit-transfer alias |
Money out |
WITHDRAWAL |
POST /transactions/withdraw |
Money out, to your own settlement account |
PAY_BILL |
POST /transactions/pay-bill, pay-bill-ext |
Money out, to a biller |
SEND_MONEY |
POST /transactions/send-money |
Two-leg: collect then disburse |
MONEY_REQUEST_DISBURSEMENT |
The Request Money flow | Money out |
The three statuses
| Status | Means | What you should do |
|---|---|---|
PENDING |
Dispatch is in flight, or awaiting confirmation from the rail. We do not know yet. | Wait for a webhook, or reconcile. Do not assume either outcome. |
SUCCESS |
Confirmed by the rail. Money arrived. | Fulfil. |
FAILED |
Rejected, or confirmed failed. Money did not leave. A ledger debit taken for it is returned to your balance. | Do not fulfil. Retry with a new reference if you still want to pay. |
There is no fourth value. If you ever see something not on this list, treat it as PENDING -
unknown, resolve it before acting.
Terminality
Note
For
PAYOUTandWITHDRAWAL,SUCCESSandFAILEDare terminal statuses: once one of these resolves, reconciliation does not change it, and you can build on it as final.
The status records what the rail told us. A bank or network can occasionally recall or return a payment after the fact, outside the API. That is rare, it is handled with you directly through support, and it never silently rewrites a status you have already read.
SEND_MONEY and PAY_BILL are different: a FAILED one can still become SUCCESS. When the
sender was charged but the recipient leg failed (you receive TRANSACTION_COMPENSATION_REQUIRED),
the transaction is FAILED - and if delivery is then retried successfully
(POST /transactions/{id}/retry-disbursement, or by support), it moves to SUCCESS and you receive
TRANSACTION_SUCCEEDED. Only once the sender has been refunded (TRANSACTION_COMPENSATION_COMPLETED)
is such a FAILED final. Act on the latest webhook, not the first one you saw.
Why a transaction failed
A FAILED transaction carries failureReason, and so does its *_FAILED webhook. It means the same
thing whichever bank or wallet the payment went through, so branch on it - never on message, whose
wording can change.
failureReason |
What happened | What to tell the payer / do next |
|---|---|---|
EXPIRED |
The payer did not approve the prompt in time. | Ask them to try again and approve promptly. |
CANCELLED |
The payer declined or cancelled. | Nothing went wrong on your side; they can try again. |
WRONG_PIN |
A wrong PIN was entered. Most networks report this as CANCELLED. |
Ask them to retry with the correct PIN. |
INSUFFICIENT_FUNDS |
Not enough money in the payer's account or wallet for the full amount. On mobile money the network refuses before the payer is prompted, so they may never see a prompt. | Ask them to top up or use another wallet or card. The same wallet fails again until it is topped up. |
LIMIT_EXCEEDED |
The payer's wallet or card reached a limit set by their network or bank: a daily or monthly amount, a number of payments, or the cap for its verification (KYC) level. | Try a smaller amount, another wallet, or the next day. To raise the limit, the payer contacts their network or bank - we cannot change it. |
INVALID_ACCOUNT |
The number or account does not exist or cannot receive. | Check the details before trying again. |
DECLINED |
Refused by the bank, network or card issuer. | Try another account or card. |
PROVIDER_ERROR |
The network failed to process it. | Usually safe to try again later, with a new reference. |
UNKNOWN |
The network gave no reason we recognise. | Treat as a general failure. |
failureReason is null while a transaction is not FAILED, and for transactions that failed
before 2026-10-23. A FAILED send-money or pay-bill that later succeeds on a retry drops its reason.
We may correct the failureReason of a past FAILED transaction when we find we read a network's code
wrongly. Its status never changes and no new webhook is sent; GET /transactions/find/{id} returns the
corrected reason. Corrections are listed in the changelog.
Before you ask a payer to pay
Most mobile money failures are avoidable before the request is sent:
- Show the exact amount the payer will be debited - including any charge they bear - and ask them to make
sure their wallet holds it. A wallet short by even a small amount fails as
INSUFFICIENT_FUNDS. - Confirm the number and the network match the wallet the payer will approve on.
- Test in
TESTmode. InLIVEmode every request reaches a real wallet, and repeated test payments against one number can run into that wallet's daily limits (LIMIT_EXCEEDED).
Retrying after a failure
failureReason |
Retry the same wallet? |
|---|---|
EXPIRED, CANCELLED, WRONG_PIN |
Yes, when the payer is ready to approve. |
INSUFFICIENT_FUNDS |
Only after they top up. |
LIMIT_EXCEEDED |
Not today, unless the amount is smaller or the payer raised the limit. |
INVALID_ACCOUNT, DECLINED |
No - use another account, wallet or card. |
PROVIDER_ERROR, UNKNOWN |
Yes, later. |
Every retry is a new request with a new reference. Retrying the same wallet in a tight loop does not help and can trip the network's own limits.
Why mobile money is usually PENDING first
A wallet collection needs the payer to approve a prompt on their handset. We return as soon as the
request is accepted by the rail, which is before the human has touched anything - so PENDING is
the normal, healthy first response, not a warning sign.
Disbursement varies by destination. Many payouts resolve in the same request, but some wallet
networks confirm later, so a payout can also come back PENDING. Handle both on every
destination rather than assuming one per network.
Resolving a PENDING transaction
Webhooks first. Configure a webhookUrl and we push the outcome as soon as we have it. This
is the lowest-latency, lowest-cost option and it is what production integrations should rely on.
See Webhooks overview.
Reconcile when you need to ask. Each flow has a reconcile endpoint that re-checks the rail and updates our record:
| Flow | Endpoint |
|---|---|
| Collection | POST /transactions/collect/{id}/reconcile |
| Payout | POST /transactions/payout-credit-transfer/{id}/reconcile (alias: /transactions/disburse/{id}/reconcile) |
| Withdrawal | POST /transactions/withdraw/{id}/reconcile |
| Bill payment | POST /transactions/pay-bill/{id}/reconcile, POST /transactions/pay-bill-ext/{id}/reconcile |
| Send money | POST /transactions/send-money/{id}/reconcile |
Read without re-checking. GET /transactions/find/{id} returns our stored state. Use this
once a webhook has already told you the transaction resolved - it is cheaper than a reconcile and
does not touch the rail.
Tip
Reconcile on a backoff - 10s, 30s, 2m, 5m, then every 15 minutes - rather than in a tight loop. Combine it with webhooks: webhooks handle the normal case, the reconcile sweep catches anything whose delivery you missed.
Querying
You query with our id, returned in the response that created the transaction - persist it. If you never received it,
GET /transactions/list?reference= finds the transaction by your own invoiceOrAccountNumber.
| Endpoint | Returns |
|---|---|
GET /transactions/find/{id} |
The transaction |
GET /transactions/details/{id} |
The transaction with expanded detail |
GET /transactions/{id}/journey-snapshot |
Step-by-step history of what happened and when |
GET /transactions/list |
Your transactions, paginated and filterable |
journey-snapshot is the first thing to pull when something looks wrong - it shows each stage of
the journey with timestamps, and it is the most useful thing to attach to a support ticket.
GET /transactions/{id}/send-money-snapshot is an older name for the same endpoint. It still
works, but use journey-snapshot in new code.
Filtering the list
| Query parameter | Filters on |
|---|---|
pg, ipp |
Page number and items per page |
from, to |
Creation date range |
status |
PENDING, SUCCESS or FAILED |
type |
A transaction type from the table above, e.g. PAYOUT |
recipientStatus |
The recipient-side status |
q |
Free-text search over the description and the recipient's name, email, country and number |
Receipts
GET /transactions/receipts/{id} returns the receipt for a SUCCESS transaction, where {id} is
the transaction id. It needs the TRANSACTIONS_READ scope. A transaction that is PENDING or
FAILED has no receipt yet.
Distinguishing "never seen" from "failed"
| You get | Means |
|---|---|
404 Transaction not found |
We have no record of this id. Nothing was created. |
200 with data.status: "FAILED" |
It exists and definitively failed. |
They are distinguishable by HTTP status code, not by the body alone.
Next
Amounts and charges - which amount field is which.