GetProvidusAccount

Returns details, including balance, for the account tied to the username making the call.


URI: /GetProvidusAccount

HTTP Method: POST

Headers:

  • Accept: application/json

  • Content-Type: application/json

Request Parameters (JSON):


{
  "accountNumber": "1700263070",
  "userName": "test",
  "password": "test"
}

Response body (JSON)

{
  "accountStatus": "ACTIVE",
  "emailAddress": "[email protected]",
  "phoneNumber": "08054477605",
  "accountName": "CHARLES OMORE UGBO",
  "bvn": "22144577606",
  "accountNumber": "5900085856",
  "cbaCustomerID": "45439",
  "responseMessage": "SUCCESSFUL",
  "availableBalance": "996856.76",
  "responseCode": "00"
}

Sample Implementation

curl -X POST http://154.113.16.142:8882/postingrest/GetProvidusAccount \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"accountNumber":"1700263070","userName":"test","password":"test"}'

The above command returns JSON structured like this:

{
  "accountStatus": "ACTIVE",
  "emailAddress": "[email protected]",
  "phoneNumber": "08054477605",
  "accountName": "CHARLES OMORE UGBO",
  "bvn": "22144577606",
  "accountNumber": "5900085856",
  "cbaCustomerID": "45439",
  "responseMessage": "SUCCESSFUL",
  "availableBalance": "996856.76",
  "responseCode": "00"
}

Last updated