get https://api.lenco.co/access/v1/virtual-accounts
Get list of all static virtual accounts
Response Schema:
{
"status": boolean,
"message": string,
"data": {
"virtualAccounts": [
{
"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
}
}
],
"meta": {
"total": number,
"pageCount": number,
"perPage": number,
"currentPage": number,
}
}
}