get https://api.lenco.co/access/v1/virtual-accounts/
Get a virtual account details by the account reference - both dynamic and static
Response Schema:
{
"status": boolean,
"message": string,
"data": {
"id": uuid,
"accountReference": uuid,
"bankAccount": {
"accountName": string,
"accountNumber": string,
"bank": {
"code": string,
"name": string
}
},
"type": "Static Virtual Account"|"Dynamic Virtual Account",
"status": "active"|"expired"|"blacklisted",
"createdAt": date-time,
"expiresAt": date-time|null,
"currency": string,
"meta": {
"isStatic": boolean,
"bvn": string|null,
"transactionReference": string|null,
"amount": string|null,
"minAmount": string|null
}
}
}