Create a Virtual Account

You can use this endpoint to create a virtual account for receiving payments.

POST /v2/virtualaccount

POST
https://api.emrrapay.com/v2/virtualaccount

Authorization

This API requires authorization with a Bearer token in the headers, you can get this from your account dashboard under settings > Api Key

Body

firstname: string (required)

lastname: string (required)

accountname: string (required)

email: string (required)

phonenumber: string (required)

bvn: string (required)

Success Response Example

{
  "status": "success",
  "accountId": "12345",
  "accountRef": "REF-98765",
  "accountName": "John Doe",
  "accountNumber": "00123456789",
  "bankName": "Sample Bank"
}