Store the bank's id. You send it as institution_id. min_amount and max_amount are reference values, not limits. Institution ids can differ between sandbox and live, so always take them from this list.
The rate
GET /v1/transfer/rates?currency=NGN returns the indicative rate. Read the item whose direction is USD_NGN. This call does not lock the rate. To lock it, call POST /v1/transfer/quote with Chinedu's payee as destination, and send its quote_id with the transfer.
The account number
The account number is exactly 10 digits. You do not need a routing number or an address.
Steps
1. Check the account holder's name (optional)
Show Ada the name the bank holds before she pays. This call does not need an Idempotency-Key.
Trust the name only when verification_source is provider. local means the format looks right, not that the bank confirmed it. The verify call covers bank accounts only, never phone numbers.
If an active payee with this account and bank exists, reuse its id and skip step 3. Gravv's duplicate check can miss a match when the bank's name check has replaced the name, so look first.
The API returns HTTP 200, not 202, and the payee is active at once. account_name is the holder's name as the bank records it, in upper case, not the name you sent.
local_amount makes sense for the rate. Here, 250 times about 1,530 is about 382,500. If it looks like 250 times 1, or is far off, do not show it. Contact support with the reference.
•
Store reference for a resume and for the webhooks, and transaction_id for polling.
On the transaction, transaction_type is global_remittance and channel is bank_transfer. metadata names the recipient and the sender but not the local amount. Keep local_amount from the transfer response, and read the fee Gravv charged from the transaction.
Gravv promises no timing. A route that keeps reporting "processing" stays pending.
Paying from an NGN account
If Ada holds an NGN account, use its id as source.id. No currency exchange takes place. When you pay from an NGN account:
•
The payee must receive NGN.
•
The amount has at most 2 decimal places.
•
A zero balance blocks payouts.
What can go wrong
Response
Why
Fix
400 nigerian account numbers must be exactly 10 digits (NUBAN)
The number is not 10 digits
Ask for the 10-digit number, then resend with a new Idempotency-Key
400 account number must not contain spaces
The number has spaces or dashes
Send digits only
400 account verification failed: bank could not resolve account holder: invalid input
400 a recipient with the same account name, account number and bank already exists, with data.payee_id
The payee already exists. Deleted and failed payees count
Use data.payee_id
400 transfers to NG/NGN are not available at this time
The route is not open for your business
Contact support
400 transfers to NG/NGN are not supported at this time
No route can pay this country and currency now
Contact support
400 transfers from this account to NG/NGN are not supported at this time
The source account cannot pay this route
Pay from a different account
400 this payee is not yet set up for transfers — please contact support to complete its setup
The payee has no institution_id from the institutions list
Save the payee with an institution_id
400 the payee is missing required information for this transfer type — please update the payee details
The route needs a bank code that Gravv's record of the bank lacks. Your fields are usually fine
Contact support with the payee id. Saving the payee again does not help
400 payee … is not active: deleted
The payee was deleted
Save a new payee
400 insufficient balance
The amount plus the fee is more than the balance
Fund the account, then retry with a new key
400 FX rate unavailable for currency conversion
No rate is available right now
Retry shortly with a new key
400 the selected source account cannot be used for an international transfer
This account cannot send abroad
Use the customer's USD account
400 the selected source account is not compatible with this transfer — a crypto wallet account is required
The route pays only from a wallet-backed account
Use a wallet-backed USD account
400 payee type "bank_account" does not accept ACH/Wire transfers
You sent "rail": "wire"
Leave rail out
local_amount far from the published rate
A wrong rate on Gravv's side
Do not show it. Contact support with the reference before the payout completes
transfer.status.failed, transaction failed, and a transfer_refund row
The bank refused the payout
Gravv refunds the amount and fee. Check the details and send again
transfer.status.failed, but the transaction is still pending
The transfer is in manual review. The outcome was unclear, so a person checks it
Do not send it again. Contact support with the reference
transfer.status.returned after completed
The bank sent the money back
Gravv refunds the customer. Fix the payee and send again
Webhooks you will receive
1.
external_account.created, with event_data.statusactive.
2.
transfer.status.pending, several times, one per internal step, with workflow_typeglobal_remittance. Treat each one as a sign that the transfer is still in progress.
3.
transfer.status.completed or transfer.status.failed. Rarely, transfer.status.returned later.
Each event_data carries amount, associated_transactions, client_reference, destination_id (the payee), reference, status, transfer_status and workflow_type.
Testing in sandbox
•
Every naira account check returns account_holder_nameSIM ACCOUNT HOLDER, and the payee takes that name.
•
A 5.00 USD payout from a USDC wallet (source_typeinternal_crypto_wallet) to a Nigerian bank payee completed in about 2 minutes.