get https://api.lenco.co/access/v1/transaction-by-reference/reference
Retrieve information about a specific transaction using the client reference
Response Schema:
{
"status": boolean,
"message": string,
"data": {
"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
}
}