GetNIPAccount
Validates the supplied account number and bank code (3-digit or 6-digit NIP bank code) and returns account details.
URI: /GetNIPAccount
HTTP Method: POST
Headers:
Accept: application/json
Content-Type: application/json
Request Parameters (JSON):
{
"accountNumber": "1018996198",
"beneficiaryBank": "110000",
"userName": "test",
"password": "test"
}
{
"bankCode": "110000",
"accountName": "NNAJI, JOSHUA & VIVIAN",
"transactionReference": "",
"bvn": "",
"responseMessage": "Approved or completed successfully",
"accountNumber": "1018996198",
"responseCode": "00"
}
Sample Implementation
curl -X POST http://154.113.16.142:8882/postingrest/GetNIPAccount \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"accountNumber":"1018996198","beneficiaryBank":"110000","userName":"test","password":"test"}'
The above command returns JSON structured like this:
{
"bankCode": "110000",
"accountName": "NNAJI, JOSHUA & VIVIAN",
"transactionReference": "",
"bvn": "",
"responseMessage": "Approved or completed successfully",
"accountNumber": "1018996198",
"responseCode": "00"
}
Last updated