PaymonetraDocs

Send a transfer

Money out of your balance to a Nigerian bank account.

POSThttps://api.paymonetra.com/v1/transfersSecret key

Send your secret key: Authorization: Bearer sk_live_…. See authentication.

Body parameters
referencestringRequired
Your unique id, up to 100 letters, digits, . - _. Reusing it returns the first transfer.
amountnumberRequired
Naira, minimum 100.
bank_codestringRequired
From GET /banks.
account_numberstringRequired
Ten digits.
account_namestringOptional
The name you expect. If it does not match the bank's, nothing is sent (name_mismatch). Recommended.
narrationstringOptional
Up 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:

statusmeanswhat to do
successit arrivedmark your withdrawal paid
processingsent, not yet confirmed by the bankwait for the webhook or poll. Do not resend under a new reference.
failedit did not go; reason says whythe money is back in your balance; retry with a new reference
reversedit arrived, then the receiving bank sent it backthe 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:

codehttpmeans
invalid_request422field names the problem
name_mismatch422the account belongs to somebody else; the message names them
account_not_found422the bank does not recognise the account
amount_over_limit422above your per-transfer limit
daily_limit422today's API transfers, fees included, would pass your daily limit; carries remaining_today
insufficient_ready422your ready balance does not cover total
transfers_not_enabled403live transfers are not switched on for this business
ip_not_allowed403the call did not come from a listed server
provider_error502we could not reach the bank; nothing was sent, retry the same reference

Test mode. Transfers succeed, except to account 0000000000, which fails.