/
Fetch all Transaction Details

Fetch all Transaction Details

 

Title: Fetch all Transaction Details

Description: This endpoint is used to retrieve transaction details in pages. Default size is 50pages

URL: https://laas.leatherback.co/Payout/Disbursement/Payout/FetchPayoutTxns

 

First, you need to pass the Query params stated below;

 

Element

Description

Type

Example

Required

pageNumber

Current page of the transaction list

Integer | query Params

1

Yes

pageSize

Number of items returned per current page

Integer | query Params

Default is 50

Yes

{ "value": { "pageData": { "pageNumber": 1, "pageCount": 51, "pageSize": 2, "hasNextPage": true, "hasPreviousPage": false, "firstItemOnPage": 1, "lastItemOnPage": 2, "totalItemCount": 101 }, "record": [ { "txnId": "ada50036-3f3f-4cc4-5a1d-08dbd036e81c", "batchId": "9672d878-692c-4b14-bbd8-af3aefc74844", "debitAccountNumber": "GB80LEAT04069100005580", "debitAccountName": "LAAS TEAM", "beneficiaryAccountNumber": "GB02LEAT04069100008245", "currencyCode": "GBP", "currencySymbol": "£", "amount": 4000, "narration": "Received Credit transaction", "status": "Successful", "previousBalance": 0, "currentBalance": 4000, "payoutType": "Credit", "tenantReference": "30e57c42-a0c3-40e4-aaf0-8c3c2ffcb5ab", "paymentReference": "AaaS-TDXMPNOZEPPO", "beneficiaryAccountName": "BOLLY GROUP", "beneficiaryPaymentMethodType": "None", "beneficiaryPaymentMethodValue": null, "transactionDate": "2023-10-19T00:04:05.5111377" }, { "txnId": "99f41f45-b8e5-4956-1fce-08dbd0370126", "batchId": "9f937918-c72c-4e0e-9b07-04d73d04aa26", "debitAccountNumber": null, "debitAccountName": null, "beneficiaryAccountNumber": "9977598776", "currencyCode": "NGN", "currencySymbol": "₦", "amount": 5000000, "narration": "Account Topup.", "status": "Successful", "previousBalance": 0, "currentBalance": 5000000, "payoutType": "Credit", "tenantReference": "", "paymentReference": "T9QFTIAHJPPO", "beneficiaryAccountName": "MERCHANT(Bolly group)", "beneficiaryPaymentMethodType": "BankCode", "beneficiaryPaymentMethodValue": "000023", "transactionDate": "2023-10-19T00:04:48.6103903" } ] }, "isSuccess": true, "error": "", "message": "", "responseCode": null, "type": null, "title": null, "status": 200, "detail": null, "instance": null, "extensions": {} }
{ "value": { "pageData": { "pageNumber": 1, "pageCount": 51, "pageSize": 10, "hasNextPage": false, "hasPreviousPage": false, "firstItemOnPage": 0, "lastItemOnPage": 0, "totalItemCount": 0 }, "record": [] }, "isSuccess": true, "error": "", "message": "", "responseCode": null, "type": null, "title": null, "status": 200, "detail": null, "instance": null, "extensions": {} }
{ "errors": { "pageNumber": [ "The value 'e' is not valid." ] }, "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1", "title": "One or more validation errors occurred.", "status": 400, "traceId": "00-77a2c1552f5cf72df0b8c9c455aada95-a8626ad2891ff1be-00" }

 Related articles

Leatherback 2024