Use
SIMULATED for day-to-day testing. It’s free, instant and repeatable, and you can test failure cases such as an expired account or a sender name mismatch. Use LIVE only when you need to see a transfer arrive from a real bank. You can have at most 2 active LIVE accounts; SIMULATED accounts don’t count toward that limit.Create a simulated virtual account
Send the normal create request to the sandbox base URL. Leave outmode, or set it to SIMULATED.
- Simulated account numbers always start with
0. Real Nombank account numbers never do, so no bank can send money to a simulated account. SIMULATEDsupportsNGNonly. Accounts in other currencies are created asLIVE.- Sandbox fetch, list, update and expire calls work the same for both modes. Their responses include
mode, so you can tell the two apart.
Simulate an inflow
Call Simulate an inflow with the account’saccountRef or account number. It applies the same checks as a real transfer and sends the same webhooks.
- a
payment_successwebhook is sent to your webhook URL, and to the account’scallbackUrlif it has one; - the
transactionRefcan be used with Transaction requery, which returns the recorded inflow.
data.status and data.responseCode:
Name matching ignores word order, the same as in production:
Scorsese Daniel matches Daniel Scorsese.
Simulated accounts accept any amount. The
expectedAmount rule only applies to LIVE accounts.Pay a simulated account with a sandbox transfer
You can also fund a simulated account through the sandbox bank transfer flow, using Nombank’s bank code090645:
- Account lookup returns the simulated account’s real name, instead of a random test name.
- Transfer credits the account, which sends the
payment_successwebhook and makes the inflow requeryable, the same as calling Simulate an inflow. If the inflow is rejected (for example, the account has expired), the transfer fails withpayout_failed.
Test with a live account
To create aLIVE sandbox account, set "mode": "LIVE" in the create request.
- Transfer to the virtual account from any bank.
- Note that the Sandbox account name will only show the business name during account lookup on your bank app.
- The amount will be deposited on your account.
- To test the expected amount usecase, update the account with an
expectedAmountbetween ₦100 and ₦150, then transfer exactly that amount. Theidentifieris either theaccountRefyou set or thebankAccountNumberreturned above.