Fetch Customer Accounts
This endpoint retrieves customer account details using merchant ID and customer ID.
URL: https://developer-sandbox.accessbankplc.com/virtualpayapi/FetchCustomerAccounts
Method: POST
Request Parameters
| Type | Name | Parameter Required | Description |
|---|---|---|---|
| string | channel_code | Required | Client application code |
| string | customer_id | Required | ID of the merchant |
| string | merchant_id | Required | ID of the merchant |
Sample Request
{
"customer_id": "07051234567",
"merchant_id": "YOUR MERCHANT ID",
"channel_code": "YOUR CHANNEL CODE"
}
Sample Response
{
"response_code": "00",
"response_message": "Successful Request",
"response_data": {
"customer_id": "jondoe@GMAIL.COM",
"customer_name": "JON DOE",
"virtual_account_no": "1509600498",
"virtual_account_name": " YOUR MERCHANT ID - JON DOE",
"customer_status": "ENABLED"
}
}
