Create Reserved Account
Reserved accounts are static accounts assigned to a specific user. They do not expire, but should be used judiciously, as there is a limit to the number of virtual accounts that can be created.
Production Base URL
http://154.113.16.142:8088/appdevapi/api/
HTTP Request
POST /PiPCreateReservedAccountNumber
POST http://154.113.16.142:8088/appdevapi/api/PiPCreateReservedAccountNumber
Request Body
{
"account_name": "lemuel",
"bvn": ""
}
{
"account_number": "9977577067",
"account_name": "MERCHANT(lemuel)",
"bvn": "",
"requestSuccessful": true,
"responseMessage": "Reserved Account Generated Successfully",
"responseCode": "00"
}
Sample Implementation
curl -X POST http://154.113.16.142:8088/appdevapi/api/PiPCreateReservedAccountNumber \
-H "Client-Id: dGVzdF9Qcm92aWR1cw==" \
-H "X-Auth-Signature: BE09BEE831CF262226B426E39BD109f2AF84DC63076D4174FAC78A2261F9A3D6E59744983B8326B69CDF2963FE314DFC89635CFA37A40596508DD6EAAB09402C7" \
-H "Content-Type: application/json" \
-d '{"account_name":"lemuel","bvn":""}'
The above command returns JSON structured like this:
{
"account_number": "9977577067",
"account_name": "MERCHANT(lemuel)",
"bvn": "",
"requestSuccessful": true,
"responseMessage": "Reserved Account Generated Successfully",
"responseCode": "00"
}
Last updated