Send money
Payouts
Send money from your balance to a mobile money wallet or a bank account, with one request.
A payout moves money out of your balance to a wallet or a bank account. You say how much, in what currency, by what method, and to whom. You never choose a provider: the country and the method decide how the payment is sent.
Key requirements
- A credential that can create payouts: a dashboard session, or an API key
holding
payouts:write. Ask_test_key while you build. - A balance in the currency you pay out: RWF for a payout into Rwanda, UGX for a payout into Uganda. The payout and its fee are taken from it. A mobile money payout to the other country can be converted.
- A destination: a wallet's number and network, a bank account and its
bank_code, or a saved beneficiary that carries one.
A live API key can create payouts only if it holds payouts:write and your
business has registered an IP allowlist.
Until you add at least one address, a live key with payouts:write is refused
(403 IP_NOT_ALLOWED). Approval policies, payout limits, recipient screening
and corridor checks apply to a key's payouts exactly as to a dashboard's, and
the person who issued a key cannot approve what it raised. Cancelling,
reviewing, batches, schedules and payroll stay in the dashboard. A key with
payouts:read can read payouts.
How it works
- Reserve. You create the payout. Before the response comes back, the amount and the fee are reserved from your balance.
- Send. The payout goes to the wallet's network or the bank, and its status
is
processing. - Settle. The network or bank answers. The payout ends
completed, orfailedwith the reservation released so the money is spendable again.
The money is committed before the response, whether or not the payout needs
a signature. If your own approval thresholds want one, the payout comes back
requires_approval: the money is held and somebody must sign, not nothing
has happened yet. If you treat a pending approval as "not raised" and send
again, the idempotency key is what saves you from paying twice.
Step 1 — Choose where the money goes
Both countries pay out to MTN and Airtel wallets and to bank accounts. Pick your country in the header, or in any of the tabs below.
| Rwanda | |
|---|---|
| Currency | RWF (country_code RW) |
| Phone format | 250788123456. Also accepted: 0788123456, +250788123456. |
| Networks | MTN or Airtel |
| Collect | MTN and Airtel mobile money |
| Pay out | MTN and Airtel mobile money, Bank account. A bank payout needs a bank_code from GET /payout-banks?country_code=RW. |
| Amounts | Whole francs: amount_minor a multiple of 100. 5,000 RWF is 500000. |
| Test numbers | Yes, for payouts: +250788000001 to +250788000005 force an outcome. |
method | destination keys |
|---|---|
mobile_money | phone_number, and network: MTN or Airtel |
bank | account_number, and a bank_code from the bank list |
bill | Don't hand-write one. Bills are paid in the dashboard |
We check a destination's shape when you create the payout, before any money is reserved, and a refusal names the field at fault. We do not check that the account exists or that it belongs to the person you named. If you want the account checked before anything is committed, pay a saved beneficiary.
Mobile money
Give the wallet's number and the network it is on.
Send the network, MTN or Airtel. The number must be a Rwandan mobile number:
+250788123456, 250788123456 and 0788123456 are all accepted.
Bank accounts
A bank payout is the same call with "method": "bank" and account details
instead of a wallet number. Both countries need a bank_code. Get the list from
the API and let your user pick from it; read it from the API rather than copying
it into your code, because it changes when a bank is licensed, merges or closes.
What each field means is on Account lookups.
curl "https://api.inversepay.app/api/b/v1/payout-banks?country_code=RW" \
-H "Authorization: Bearer $INVERSEPAY_TEST_KEY"{
"country_code": "RW",
"banks": [
{ "code": "040", "name": "BANQUE DE KIGALI", "swift": "BKIGRWRW", "commercial": true },
{ "code": "044", "name": "BANQUE POPULAIRE DU RWANDA", "swift": "BPRWRWRW", "commercial": true },
{ "code": "192", "name": "EQUITY BANK", "swift": "EQBLRWRW", "commercial": true },
{ "code": "090", "name": "UMWALIMU SACCO", "swift": "UMWARWRW", "commercial": false }
]
}Send the bank's code as destination.bank_code: "040", as a string, with
its leading zero. In Rwanda only the code is read. A SWIFT/BIC is not
accepted in its place, and bank_name is ignored, so a payout with a name and
no code is refused. MTN's and Airtel's wallets are not on the list: pay a wallet
with a mobile_money payout.
Account lookups are not available in Rwanda yet, so the API cannot tell you whose account a number is before you pay it. Confirm the details with your recipient, and save them as a beneficiary in the dashboard, which is screened before it can be paid.
Step 2 — Create the payout
Every payout has these five fields:
| Field | ||
|---|---|---|
idempotency_key | required | 8–128 characters. Yours. Send it again and you get the original payout back, not a second one. |
amount_minor | required | Minor units, greater than zero. 150,000 RWF is 15000000; 450,000 UGX is 45000000. |
currency | required | Three letters. RWF or UGX. |
method | required | mobile_money, bank, card or bill. |
transaction_type | required | b2p paying a person, b2b paying a business. |
transaction_type is never inferred. It is a different product to the partner
and a different line in a regulator's report, so guessing it would be guessing
at money. It follows the recipient, not the country.
Everything else is optional: recipient_name, country_code, reference (up
to 128 characters, yours), account to pay from one of your
sub-accounts rather than your main account,
and one of beneficiary_id or destination to say where the money goes.
Leave fee_minor out: InversePay sets the fee from your
plan and returns it on the response.
Mobile money
curl -X POST https://api.inversepay.app/api/b/v1/payouts \
-H "Authorization: Bearer $INVERSEPAY_TEST_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "payroll-2026-08-0042",
"amount_minor": 15000000,
"currency": "RWF",
"method": "mobile_money",
"transaction_type": "b2p",
"recipient_name": "Aline Uwase",
"country_code": "RW",
"reference": "AUG-SALARY-0042",
"destination": {
"phone_number": "+250788123456",
"network": "MTN"
}
}'{
"id": "9d1b...",
"reference": "AUG-SALARY-0042",
"amount_minor": 15000000,
"fee_minor": 30000,
"total_minor": 15030000,
"currency": "RWF",
"status": "processing",
"method": "mobile_money",
"transaction_type": "b2p",
"recipient_name": "Aline Uwase",
"country_code": "RW",
"provider_reference": null,
"failure_reason": null,
"approval_id": null,
"created_at": "2026-08-14T09:12:44Z",
"completed_at": null
}Bank account
curl -X POST https://api.inversepay.app/api/b/v1/payouts \
-H "Authorization: Bearer $INVERSEPAY_TEST_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "invoice-8821-settlement",
"amount_minor": 240000000,
"currency": "RWF",
"method": "bank",
"transaction_type": "b2b",
"recipient_name": "Rwanda Metal Works Ltd",
"country_code": "RW",
"reference": "INV-8821",
"destination": {
"account_number": "00040100123456789",
"bank_code": "040"
}
}'{
"id": "4e7a...",
"reference": "INV-8821",
"amount_minor": 240000000,
"fee_minor": 50000,
"total_minor": 240050000,
"currency": "RWF",
"status": "processing",
"method": "bank",
"transaction_type": "b2b",
"recipient_name": "Rwanda Metal Works Ltd",
"country_code": "RW",
"provider_reference": null,
"failure_reason": null,
"approval_id": null,
"created_at": "2026-08-14T09:20:05Z",
"completed_at": null
}| Field | ||
|---|---|---|
currency | required | RWF: a payout into Rwanda is paid in francs. Anything else is refused, except UGX on a converted mobile money payout. |
amount_minor | required | Whole francs: a multiple of 100. See Limits. |
country_code | send it | RW. |
destination | required | Always, in Rwanda. A payout into Rwanda with no destination, sent or saved on its beneficiary, is refused. |
destination.phone_number, destination.network | mobile money | A Rwandan mobile number, and MTN or Airtel. |
destination.account_number, destination.bank_code | bank | The account, and a code from GET /payout-banks?country_code=RW. bank_name is not read. |
total_minor is amount_minor + fee_minor: what leaves your balance. The fee is
InversePay's, added on top, so the recipient receives amount_minor in full.
The fees in these examples are made up; GET /payouts/fee quotes yours.
provider_reference is the paying network's or bank's own reference, and fills
in once they have one. Responses also include a rail field, for support and
reconciliation; don't branch on it, because it can change for the same request.
Step 3 — Track it
curl https://api.inversepay.app/api/b/v1/payouts/$PAYOUT_ID \
-H "Authorization: Bearer $INVERSEPAY_KEY"Reading a payout needs only payouts:read.
Read it back with a live key, not a test one. Test and live never see each
other's rows. A payout raised with a sk_live_ key is a live row, and so is one
raised in the dashboard — a session carries no mode, and the only safe default for an unmarked credential is
the one where nothing is simulated. A sk_test_ key asking for that payout gets
the same 404 it would for a payout that does not exist. See
Test and live below.
For why a payout is where it is (every transition, in the order it happened, with who caused each) there is a timeline:
curl https://api.inversepay.app/api/b/v1/payouts/$PAYOUT_ID/timeline \
-H "Authorization: Bearer $INVERSEPAY_KEY"{
"payout_id": "9d1b...",
"status": "completed",
"entries": [
{ "event_type": "payout.created", "at": "2026-08-14T09:12:44Z", "actor_kind": "member", "actor_id": "3a2f..." },
{ "event_type": "payout.processing", "at": "2026-08-14T09:12:44Z", "actor_kind": "system" },
{ "event_type": "payout.completed", "at": "2026-08-14T09:13:02Z", "actor_kind": "system" }
]
}actor_kind is member or system and is never absent: the platform acting is
a real answer, not a missing one.
Webhooks
The same transitions are delivered as webhooks, which is how
you stop polling. Each status below names its event. A payout.failed delivery
says why in its data:
{
"payout_id": "5b0e...",
"reference": "INV-7731",
"status": "failed",
"transaction_type": "b2b",
"reason": "unknown",
"amount_minor": 250000000,
"currency": "UGX",
"funds_released": true
}reason is the payout's failure_reason, from the shared
vocabulary.
Paying a saved beneficiary
For a bank account, pay a saved beneficiary instead. A destination is
checked for its shape and nothing more: nothing checks that the account exists or
that the name on it is the name you typed. A beneficiary,
saved in the dashboard (an API key can't create one), is name-checked and
screened before any money is committed to it, and a payout
to one that has not cleared is refused rather than sent. On a wallet a wrong
digit usually bounces; on a bank account it usually arrives, at somebody else's.
Paying a saved recipient is shorter, because the beneficiary already carries the
name, country and account. A key with payouts:write can do it:
curl -X POST https://api.inversepay.app/api/b/v1/payouts \
-H "Authorization: Bearer $INVERSEPAY_TEST_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "invoice-8821-settlement",
"amount_minor": 240000000,
"currency": "RWF",
"method": "bank",
"transaction_type": "b2b",
"beneficiary_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
}'A recipient_name or country_code you send wins over the beneficiary's own;
one you leave out is filled in from it. A destination you send replaces the
beneficiary's destination as a whole: it is not merged key by key.
The destination rules in Step 2 apply to a beneficiary's destination too. A saved recipient that has none cannot be paid into Rwanda: add the account to it in the dashboard, under Recipients, then Edit.
A payout to a beneficiary that is blocked, archived or has not cleared screening
is a 409. The check runs again at payout time, not only when the recipient was
saved.
Statuses
| Status | Webhook | What it means |
|---|---|---|
created | payout.created | Raised, funds reserved. |
requires_approval | — | Your own thresholds want a signature. approval_id says which request. |
parked_for_review | payout.parked | We are holding it: a compliance control, not your threshold. |
approved | payout.approved | Signed, about to go. |
processing | payout.processing | With the network or the bank, or about to be handed to it. |
completed | payout.completed | Paid. |
failed | payout.failed | Terminal. The reservation has been released, so the money is spendable again. |
returned | payout.returned | It was paid and then sent back. |
requires_approval and parked_for_review are not the same thing and collapsing
them would be a mistake: a threshold approval is you deciding you are happy to
send your own money, and a park is us deciding we are not yet happy to move it.
Signing cannot clear a park. Releasing a park (payout.released) does not sign
the spend: a released payout rejoins its normal path and can land straight back
in requires_approval.
curl https://api.inversepay.app/api/b/v1/payouts/parked \
-H "Authorization: Bearer $INVERSEPAY_KEY"Cancelling
A payout that has not reached processing, because it is waiting on a
signature or a review, can be withdrawn. The reservation is released, so the
money is spendable again immediately. Once it is processing it cannot be
cancelled (409 PAYOUT_NOT_CANCELLABLE): wait for it to settle.
Cancel a payout in the dashboard. An API key cannot cancel one, however it is scoped.
Limits
| Minimum | |
|---|---|
| MTN or Airtel wallet, or bank account | 500 RWF (50000) |
Per payout, and whole francs only: amount_minor a multiple of 100. A
part franc is refused with 400 INVALID_PAYOUT (field: amount_minor), and the
message gives the two whole amounts either side of it. Test keys are exempt
from the whole-franc rule, so the sandbox amounts still work.
A payout under the minimum is refused the same way, in test and live alike, from the next API release. Until then it is accepted, the money reserved, and it fails when the network refuses it; the money then comes back to your balance. Check the minimum yourself before you send.
These are checked before anything is created or reserved, so a refusal holds none of your money.
Your account's own limits apply on top. They are ours, not yours: you cannot set
them, and being refused by a limit nobody will show you is not a control, it is
an outage. So they are listed, per currency (RWF or UGX), in the
dashboard. An API key cannot read them; a 422 LIMIT_EXCEEDED names the limit
it hit.
Errors
Refused when you create it
Every one of these is checked before a row exists or money is reserved, so a refused payout leaves nothing behind to clean up, and retrying with the same idempotency key is safe.
| Status | code | What happened | What to do |
|---|---|---|---|
400 | INVALID_PAYOUT | The request cannot be a payout: a non-positive amount, a country_code that contradicts the wallet number, or a destination we cannot send. field names the part at fault; see below. | Fix the request. |
401 | MFA_REQUIRED | A dashboard session's large payout, from a person with an authenticator set up. The body gives the threshold. | Send it again with mfa_code. |
402 | INSUFFICIENT_BALANCE | Your balance will not cover amount_minor + fee_minor. | Top up, or send less. |
403 | CORRIDOR_NOT_OPEN | We do not pay out to that country by that method. | |
404 | ACCOUNT_NOT_FOUND | account names no account of yours in this key's mode. | Use a reference from GET /accounts. |
409 | ACCOUNT_NOT_ACTIVE | account is frozen or closed, so money cannot leave it. | Pay from another account. |
409 | BENEFICIARY_BLOCKED | The beneficiary is blocked, archived, or has not cleared screening. | Pick another recipient, or ask support. |
422 | LIMIT_EXCEEDED | One of your account's limits refused it. The body names the limit. | Send less, or see your limits in the dashboard. |
422 | CURRENCY_NOT_ACTIVATED | The currency is not activated on your business, or the account you named does not hold it. | |
503 | NO_RAIL_AVAILABLE | No rail can carry it: we do not serve the corridor, or every rail that does is out of service. The message says which. | If it is a corridor we serve, retry with the same idempotency key. |
503 | PAYOUTS_PAUSED | We have paused payouts to that country. See below. | Retry later with the same idempotency key. |
The field on a 400 INVALID_PAYOUT:
field | What happened |
|---|---|
currency | Not RWF, and not a converted mobile money payout. |
destination | No destination at all, sent or saved on the beneficiary. |
phone_number, network | Missing, not a Rwandan mobile number, or a network other than MTN or Airtel. |
amount_minor | A part franc (live keys), or under the 500 RWF minimum. |
account_number | Missing on a bank payout. |
bank_code | Missing, not a code from the Rwandan bank list, or the code of a mobile money wallet rather than a bank. |
country_code | Contradicts the wallet number: RW with a +256 number. |
Refusals from a paused rail
We can pause payouts to a country, for maintenance or because the network or
bank that pays them is misbehaving. While they are paused, POST /payouts to
that country is refused:
{
"type": "unavailable",
"code": "PAYOUTS_PAUSED",
"message": "Payouts to UG are paused right now. Nothing was created or held; try again later or use another provider.",
"request_id": "01J..."
}Nothing was created and nothing is held. Retry later with the same idempotency key: it is safe, because there is no first payout to collide with. A pause is a person's decision, so the payment is refused rather than quietly sent another way.
It is not the same as 503 NO_RAIL_AVAILABLE, which means no rail can carry the
corridor at all. Read the code, not the status. Collections have the same
switch, COLLECTIONS_PAUSED; see Collections.
Failed after it was sent
A payout that was sent and failed carries a failure_reason from one normalised
vocabulary: insufficient_funds, invalid_account, cancelled_by_payer,
timeout, rejected_by_provider, account_unavailable, unknown. Branch on
that, never on the message.
Test and live
Mode comes from the credential and never from the request. There is no header that makes a live payment simulated, because that header would also be a way to have a real payout treated as a test.
An API key carries a mode — sk_test_ is test, sk_live_ is live. A dashboard
session carries none, and a credential with no mode is live.
Live
POST /payouts in live mode takes either a dashboard session or a sk_live_ key
holding payouts:write. A key can do it only once your business has an
IP allowlist, and only from a listed address;
until then it is refused with 403 IP_NOT_ALLOWED. Either way the payout is
attributable: it records the person, or the key and the person who issued it, and
that person cannot approve it.
A live payout is a live row, so read it back with a credential that can see it: a
live key with payouts:read, or a dashboard session. A sk_test_ key asking for
it gets a 404.
Test
A sk_test_ key holding payouts:write can create a payout from anywhere (test
keys are not held to the IP allowlist), so you can rehearse the failures before
you ship. It runs every check above exactly as live: a test payout that breaks
a rule is refused the same way, with the same field.
A test payout settles as it is raised. There is no network or bank to wait for, so the outcome is already in the response. What that outcome is comes from the magic amounts and destinations:
curl -X POST https://api.inversepay.app/api/b/v1/payouts \
-H "Authorization: Bearer $INVERSEPAY_TEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "rehearsal-1",
"amount_minor": 999999,
"currency": "RWF",
"method": "mobile_money",
"transaction_type": "b2p",
"country_code": "RW",
"destination": { "phone_number": "+250788123456", "network": "MTN" }
}'999999 declines, 999998 times out, 999997 returns after completing, and
999996 holds for review.
+250788000001 to +250788000005 force an outcome as the destination: succeed,
decline, time out, return, hold for review. A magic destination beats an
ordinary amount, which is what you want when the amount is not yours to choose.
See payouts in test mode.
Test and live never see each other's rows, in either direction, and no test payout touches a balance. A sandbox that needed real funding before it would simulate a decline would be no use to anybody.
Developer notes
How the country is decided
The country a payout goes to decides how it is paid, never the country your
business is registered in. It comes from country_code first, then from a
wallet number's dialling code, then from currency.
| Country | Currency | country_code |
|---|---|---|
| Rwanda | RWF | RW |
| Uganda | UGX | UG |
So "currency": "RWF" is enough to route a Rwandan bank payout, and a +256
number makes a wallet payout Ugandan. Send country_code anyway. A
country_code that contradicts the number is refused rather than guessed at.
Paying the other country from your balance
A mobile money payout to a number in the other country is converted. Send RWF
and a +256 number, or UGX and a +250 number: the recipient is paid in
their own currency, and the response carries a conversion block saying what
is held from your balance. POST /payouts/cross-border/quote prices one first,
and max_total_minor caps what you agree to have taken. A converted payout is
sent on its own, never as a batch line.
Amounts are in minor units
Every amount is in minor units, two places for every currency, including
UGX, which has no coins. Multiply by 100: 150,000 RWF is 15000000, and
2,500,000 UGX is 250000000. See amounts are in minor
units.
Fees
InversePay's fee comes from your plan and is added on top of the amount:
total_minor is what leaves your balance, and the recipient receives
amount_minor. GET /payouts/fee?currency=…&amount_minor=… quotes it, for RWF or UGX.
A fee_minor you send, other than 0, is refused.