Skip to main content

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

TypeNameParameter RequiredDescription
stringchannel_codeRequiredClient application code
stringcustomer_idRequiredID of the merchant
stringmerchant_idRequiredID 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"
}
}