Get Wallet Details
This endpoint retrieves adetails of a particular customer’s wallet including the balances.
URL: https://developer-sandbox.accessbankplc.com/virtualpayapi/GetAccountDetails
Method: GET
Request Parameters
| Type | Name | Parameter Required | Description |
|---|---|---|---|
| string | channel_code | Required | Client application code |
| string | virtual_account_no | Required | Merchant account number |
Sample Request
{
"virtual_account_no": "1444444481",
"channel_code": "YOUR CHANNEL CODE"
}
Sample Response
{
"response_code": "00",
"response_message": "Successful Request",
"response_data": {
"customer_id": "07032755966",
"merchant_id": " YOUR MERCHANT ID ",
"customer_name": " YOUR MERCHANT ID JON DOE",
"virtual_account_no": "1444444481",
"virtual_account_name": " YOUR MERCHANT ID - JON DOE",
"customer_phone": "07032755966",
"customer_email": "jondoe@yahoo.com",
"total_credit": 1E+3,
"total_debit": 0E+0,
"available_balance": 1E+3,
"net_balance": 1E+3,
"hold_balance": 0E+0,
"customer_status": "ENABLED"
}
}
