get https://api.lenco.co/access/v1/bills/by-reference/
Retrieve information about a specific bill payment using the client reference
Response Schema:
{
"status": boolean,
"message": string,
"data": {
"id": string,
"amount": string,
"vendor": {
"id": string,
"name": string,
},
"category": "airtime" | "mobile-data" | "cable-tv" | "electricity",
"product": {
"id": string,
"name": string,
"vendor": {
"id": string,
"name": string,
},
"amount": {
"type": "fixed" | "range",
"fixed": string | null,
"minimum": string | null,
"maximum": string | null,
},
"customerIdLabel": string,
"category": "airtime" | "mobile-data" | "cable-tv" | "electricity",
"commissionPercentage": string,
},
"details": {
"customerId": string,
"customerName": string,
},
"debitAccountId": string,
"instructions": string | null,
"initiatedAt": date-time,
"status": "pending" | "successful" | "failed",
"completedAt": date-time | null,
"failedAt": date-time | null,
"reasonForFailure": string | null,
"clientReference": string | null,
"transactionReference": string,
"commission": string | null,
}
}