Fetch Customer Details
This endpoint retrieves customer details using virtual account number or customer ID.
URL: https://developer-sandbox.accessbankplc.com/virtualpayapi/FetchCustomerDetails
Method: POST
Request Parameters
| Type | Name | Parameter Required | Description |
|---|---|---|---|
| string | channel_code | Required | Client application code |
| string | virtual_account_no | Required | Virtual account number |
| string | customer_id | ID of the merchant | |
| string | merchant_id | Required | ID of the merchant |
Sample Request
{
"virtual_account_no": "1509600498",
"merchant_id": "YOUR MERCHANT ID",
"customer_id": "jondoe@GMAIL.COM",
"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"
}
}
