Collect
Bank transfer
Ask PayInvert for a transfer instruction on an existing order. Use a bank code from GET Banks.
/payment/order/pay/newCreate the order first. paymentoption is bank-transfer (case does not matter). The customer pays the account returned; settlement arrives later. Request field names are matched without regard to case.
| Field | Notes |
|---|---|
reference | From Create order. |
country | Usually NG. |
bankTransfer.bankCode | From GET /payment/banks?paymentmethod=bank-transfer. Send the public key on that list so it matches your business. |
Send your public key on GET /payment/banks so the list matches your business. If a bank is missing, it is not available right now — offer the others.
The transfer instruction
PayInvert opens a one-off account for that payment. It takes payment until expiresAt (often 30 minutes). The customer's bank shows a name derived from your business. They must send the exact amount, once, before expiry.
{
"reference": "ORD-20261117-0001",
"paymentOption": "BANK-TRANSFER",
"bankTransfer": { "bankCode": "<from GET /payment/banks>" }
}statusCode 02 means the account is open and PayInvert is waiting. It does not mean the order is paid.
| Field | Meaning |
|---|---|
data.orderPayment.totalAmount | Exact amount the customer must send, in naira. |
data.paymentDetail.recipientAccount | Account number to pay into. |
data.paymentDetail.bankName / bankCode | The bank you selected. |
data.paymentDetail.expiresAt | When the account stops taking payment (UTC). |
data.paymentDetail.expiryMinutes | How long the account lives. |
data.paymentDetail.paymentReference | PayInvert's reference for this attempt. Quote it to support. |
Show the bank, account number, exact amount, a countdown to expiresAt, and the name to expect.
Confirm the payment
- While the customer is on your page, poll order status every 10 seconds. Paid when
statusCodeis00. - Before you release goods, confirm from your server with verify (secret key).
A paid bank transfer uses the same payment notification as your other methods. Treat that as a prompt to verify, not as proof on its own.
| Situation | What PayInvert does | What you do |
|---|---|---|
Exact amount, before expiresAt | Marks the order paid | Verify, then fulfil |
| Less or more than the amount | Does not apply it; holds for review. Order status says so on the attempt. | Do not fulfil. Contact support with paymentReference. |
Paid after expiresAt | Held for review | Contact support with paymentReference |
| Paid twice | First payment counts; the second is held | Contact support for the extra payment |
| Never paid | Account stops at expiresAt. About 10 minutes later the attempt is 04 (expired). No webhook for this. | Call pay again for a new account if they still want to pay |
Each call to pay opens a new account. An earlier account keeps taking money until its own expiry. Show only the newest account, and do not call pay again while the customer may still be sending to the previous one.
statusCode | Meaning | What to do |
|---|---|---|
BANK_PROVIDER_UNAVAILABLE | That bank is down, turned off, not set up, or the order is not NGN | Offer another bank, or contact support |
ORD404 | Order not found | Check the reference and the key's world |
ORD005 | Order already paid | Do not take payment again |
ORD0021 | Below the ₦20 minimum | Raise the amount |
BANKTRANSFERNULL | bankTransfer is missing | Send bankTransfer.bankCode |
EMB10, EMB11, EMB26 | The account could not be opened | Retry, or offer another bank |
004 | Temporary failure | Check order status first. An account may already exist. |
Poll order status or wait for the webhook. Do not fulfil on this 200.