Send a transfer
Money out of your balance to a Nigerian bank account.
Send your secret key: Authorization: Bearer sk_live_…. See authentication.
Body parameters
referencestringRequiredYour unique id, up to 100 letters, digits,
. - _. Reusing it returns the first transfer.amountnumberRequiredNaira, minimum 100.
bank_codestringRequiredFrom
GET /banks.account_numberstringRequiredTen digits.
account_namestringOptionalThe name you expect. If it does not match the bank's, nothing is sent (
name_mismatch). Recommended.narrationstringOptionalUp to 100 characters, on the recipient's statement.
Answers 201 with the transfer, or 200 with the existing one when the reference was used before.
status, the one field to branch on:
| status | means | what to do |
|---|---|---|
success | it arrived | mark your withdrawal paid |
processing | sent, not yet confirmed by the bank | wait for the webhook or poll. Do not resend under a new reference. |
failed | it did not go; reason says why | the money is back in your balance; retry with a new reference |
reversed | it arrived, then the receiving bank sent it back | the whole total is back in your balance |
A transfer we accepted that then failed still returns 201 with status: "failed". A 4xx means nothing was created:
| code | http | means |
|---|---|---|
invalid_request | 422 | field names the problem |
name_mismatch | 422 | the account belongs to somebody else; the message names them |
account_not_found | 422 | the bank does not recognise the account |
amount_over_limit | 422 | above your per-transfer limit |
daily_limit | 422 | today's API transfers, fees included, would pass your daily limit; carries remaining_today |
insufficient_ready | 422 | your ready balance does not cover total |
transfers_not_enabled | 403 | live transfers are not switched on for this business |
ip_not_allowed | 403 | the call did not come from a listed server |
provider_error | 502 | we could not reach the bank; nothing was sent, retry the same reference |
Test mode. Transfers succeed, except to account 0000000000, which fails.