get https://sandbox.lenco.co/access/v1/point-of-sale/transactions/
Retrieve information about a specific POS transaction
Response Schema:
{
"status": boolean,
"message": string,
"data": {
"transaction": {
"id": string,
"reference": string,
"amount": string,
"stampDuty": string | null,
"fee": string | null,
"settlementAmount": string | null,
"type": "card-payment" | "transfer",
"status": "successful" | "failed",
"datetime": date-time,
"message": string,
"cardPayment": {
"pan": string,
"stan": string,
"rrn": string,
"responseCode": string | null,
"responseMessage": string | null
} | null,
"transfer": {
"sender": string | null,
"description": string,
"sessionId": string | null
} | null,
"terminal": {
"id": string,
"name": string,
"address": string | null,
"phone": string | null,
"serialNumber": string,
"model": string | null,
"assignedAt": date-time,
"settlementAccountId": string | null,
"accountDetails": {
"accountName": string,
"accountNumber": string,
"bankName": string,
} | null,
"status": "assigned" | "unassigned",
"unassignedAt": date-time | null
},
"settlementStatus": "pending" | "successful" | "failed" | null
}
}
}