Get Customers
This endpoint retrieves all customers/wallets created by the merchant.
URL: https://developer-sandbox.accessbankplc.com/virtualpayapi/GetCustomers
Method: POST
Request Parameters
| Type | Name | Parameter Required | Description |
|---|---|---|---|
| string | channel_code | Required | Client application code |
| string | merchant_id | Required | ID of merchant |
Sample Request
{
"merchant_id": "YOUR MERCHANT ID",
"channel_code": "YOUR CHANNEL CODE"
}
Sample Response
{
"response_code": "00",
"response_message": "Successful Request",
"response_data": {
"customers": [
{
"customer_name": "SAM BUCKNOR",
"customer_id": "TESTINGME@MAILINATOR.COM",
"customer_email": "testingme@mailinator.com",
"merchant_id": "MERCHANT ID",
"virtual_account_no": "1575906081",
"virtual_account_currency": "NGN"
},
{
"customer_name": "JON DOE",
"customer_id": "07032755966",
"customer_email": "jondoe@yahoo.com",
"merchant_id": "MERCHANT ID",
"virtual_account_no": "1575905967",
"virtual_account_currency": "NGN"
}
]
}
}
