get https://api.lenco.co/access/v1/virtual-accounts/rejected-transactions
Get only rejected transactions that occurred on your virtual accounts
Response Schema:
{
"status": boolean,
"message": string,
"data": {
"rejectedTransactions": [
{
"id": string,
"transactionAmount": string,
"currency": string,
"narration": string,
"details": {
"accountName": string,
"accountNumber": string,
"bank": {
"name": string,
"code": string,
}
},
"virtualAccount": {
"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
}
},
"accountReference": string,
"datetime": date-time,
"nipSessionId": string | null,
"transactionReference": string | null,
"reasonForRejection": {
"code": string,
"message": string
}
}
],
"meta": {
"total": number,
"pageCount": number,
"perPage": number,
"currentPage": number,
}
}
}