Skip to main content

Generate Virtual Account Number

This endpoint generates a Breezepay virtual account number/wallet ID to be used for payment by customer if customer does not already have one tied to ID.

URL: https://developer-sandbox.accessbankplc.com/virtualpay/GenerateVirtualAccountNumber

Method: POST

Request Parameters

TypeNameParameter RequiredDescription
stringcustomer_nameName of the customer (for account enquiry)
stringcustomer_emailCustomer’s email address
stringchannel_codeRequiredClient application code
stringmerchant_idRequiredID of the merchant
stringtransaction_amountrequiredTransaction amounts
stringcustomer_idRequiredUnique ID for the customer on client system
stringcustomer_phoneCustomer’s phone number
stringrequest_authorizerRequest authorizer on client system

Sample Request

{ 

"customer_id": "jondoe@yahoo.com",
"merchant_id": "MERCHANT ID",
"customer_name": "Jon Doe",
"transaction_amount":"100",
"customer_email": "jondoe@yahoo.com",
"customer_phone": "07051234567",
"request_authorizer": "System",
"currency": "NGN",
"channel_code": "MERCHANT ID"
}

Sample Response

{
"response_code": "00",
"response_message": "Successful Request",
"response_data": {
"virtual_acct_no": "1444624445",
"virtual_acct_name": "MERCHANT ID- IHIYI OBA",
"request_id": "TESTd829ba2e87d7a6a",
"expiry_datetime": "2024-06-20 15:47:23"
}
}