A provision node enables the automation of payment settlements by directly connecting with payment service providers & facilitating efficient market-making.
We have set up a sandbox provision node to test NGN (Naira) disbursals using Lenco PSP.
Pull the provision node image from docker and spin it up locally with the sandbox environment variables by running the command below in your terminal:
docker run -d \\
-p 8105:8000 \\
-e AGGREGATOR_BASE_URL=http://localhost:8000 \\
-e AGGREGATOR_CLIENT_ID=1bd3cd41-2b34-4fe4-bade-03adbe321d84 \\
-e AGGREGATOR_SECRET_KEY=mjYFzbE3nAkZg-9zOfkQXomsuF-5a6pGLP3irDU8ZPc= \\
-e ALLOWED_HOSTS=0.0.0.0 \\
-e CURRENCIES=NGN \\
-e DEBUG=False \\
-e LENCO_ACCOUNT_ID=b6fe4d0b-79bd-45c9-8a4b-1b77cc89e96d \\
-e LENCO_API_KEY=bf307db1fcb4749120b81470eff89961367c8760f904d8dffcfa78d633d23e67 \\
-e LENCO_BASE_URL=https://sandbox.lenco.co/access/v1 \\
-e SECRET=QUWs1Qn4VJM3GZWcOmrdGG8N4yfDU6LH \\
-e SERVER_HOST=0.0.0.0 \\
-e SERVER_PORT=8000 \\
docker.io/safaria/riverpod:pilot-main-amd64
N/B: the AGGREGATOR_BASE_URL
is the default in the .env.example
of the aggregator repo. Kindly update it if you are running on a different port.
While initiating a successful payment order. Use the following information:
0161444427 | GTBINGLA | Transfer Successful |
---|
In the sandbox environment, you can simulate a failed transaction by performing a bank transfer to any of these accounts:
Account Number | Institution | Error |
---|---|---|
6257392194 | FBNINGLA | Transfer Not Successful |
4000007863 | FBNINGLA | Beneficiary Bank not Available |
0954428453 | ZEIBNGLA | System Malfunction |
0783199300 | ZEIBNGLA | Timeout waiting for response from destination bank |
5858433191 | GTBINGLA | Insufficient Balance in Debit Account |