get https://api.lenco.co/access/v1/transactions
Get transactions that occurred on your bank accounts
Response Schema:
{
"status": boolean,
"message": string,
"data": {
"transactions": [
{
"id": string,
"amount": string,
"fee": string,
"narration": string,
"type": "credit" | "debit",
"initiatedAt": date-time | null,
"completedAt": date-time | null,
"accountId": string,
"details": {
"accountName": string,
"accountNumber": string,
"bank": {
"code": string,
"name": string,
}
} | null,
"status": "pending" | "successful" | "failed" | "declined",
"failedAt": date-time | null,
"reasonForFailure": string | null,
"clientReference": string | null,
"transactionReference": string,
"nipSessionId": string | null
},
],
"meta": {
"total": number,
"pageCount": number,
"perPage": number,
"currentPage": number,
}
}
}