Skip to main content

Get Customers

This endpoint retrieves all customers/wallets created by the merchant.

URL: https://developer-sandbox.accessbankplc.com/virtualpayapi/GetCustomers

Method: POST

Request Parameters

TypeNameParameter RequiredDescription
stringchannel_codeRequiredClient application code
stringmerchant_idRequiredID 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"
}
]
}
}