Sandbox Testing

The sandbox runs the same API as production against a simulated payout network. No money moves, and you choose the outcome of each transfer with the beneficiary's account number.

Choosing the outcome

A transfer to an ordinary account number, such as 123456789012, succeeds: it reaches PAID a few seconds after it is created.

The account numbers below are reserved. Each one produces a fixed outcome, for INR and for PHP. The last digit, shown as x, is 0 or 1.

Account numberOutcomeStatuses
99000000001xPaid.SCHEDULED, PROCESSING, then PAID after a few seconds
99000000002xThe receiving bank rejects the payout.SCHEDULED, PROCESSING, then FAILED after a few seconds
99000000003xNever settles.SCHEDULED, then PROCESSING for good
99000000004xThe payout is rejected before it is sent.SCHEDULED, then FAILED within seconds

Each of these creates answers 201 and the outcome arrives afterwards. For INR that holds for an account you are able to pay: see NRO and NRE accounts below. Other account numbers are reserved for further scenarios: all that start with 99, and some that start with 4, 5, 1000 or 7777. Do not use those as ordinary test accounts.

A webhook is sent for each status change, as in production.

INR: NRO and NRE accounts

For INR the last digit of a reserved account number sets the account category: 0 is NRO and 1 is NRE. For example 990000000011 is an NRE account that is paid, and 990000000021 an NRE account whose bank rejects the payout. An ordinary account number is NRO.

An NRE number follows the production rules for NRO and NRE accounts. Validate receiver bank answers it as valid only when NRE payouts are switched on for you, and a transfer to it must then be funded from your NRE wallet. Validation answers ordinary account numbers and the NRO numbers above as valid.

PHP: receiving banks

The sandbox knows only a few bank codes. Use unionbank, bpi, bdouni, metrobank or gcash in beneficiary.account.institution_name. Most codes that production supports are rejected on creation here.

Wallets

Your sandbox wallets are funded by the Levl team. A transfer for more than the wallet holds is accepted and then moves to FAILED, as described under Errors and Retries.


Did this page help you?