Batch Report
The Batch Report displays the settled batches for a given date range. The batches are grouped by batch number
get
https://<PayEngine-host>
/api/merchant/:merchant_id/settlement
Get batch history
Sample Response
{
"data": [
{
"id": "758ad65f-9849-43a9-999a-dc5a94887110",
"merchant_id": "b0ad3bfe-c7a1-4def-9840-6c8f2570d2ce",
"created_at": "2022-02-17T02:00:06.922Z",
"updated_at": "2022-02-17T02:00:06.922Z",
"batch_number": 15,
"amount": "0.02",
"batch_reference": "415453214",
"merchant_payout_id": "64333bd6-6a05-4bba-8d3e-a559ba118e04",
"data": {
"approvedAmount": "0.02",
"voidAmount": "0.00",
"cardReport": {
"visa": {
"totalCharges": "0.02",
"numberOfCharges": 1,
"totalRefunds": "0.00",
"numberOfRefunds": 0
}
},
"achReport": {
"totalCharges": "0.00",
"numberOfCharges": 0,
"totalRefunds": "0.00",
"numberOfRefunds": 0
}
}
},
{
"id": "65883bd6-6b08-4bba-8d3e-a449ba009e04",
"merchant_id": "b0ad3bfe-c7a1-4def-9840-6c8f2570d2ce",
"created_at": "2022-02-05T02:00:07.313Z",
"updated_at": "2022-02-05T02:00:07.313Z",
"batch_number": 14,
"amount": "2.20",
"batch_reference": "593502035:5929583",
"merchant_payout_id": "64333bd6-6a05-4bba-8d3e-a559ba118e04",
"data": {
"approvedAmount": "2.20",
"voidAmount": "0.00",
"cardReport": {
"visa": {
"totalCharges": "2.20",
"numberOfCharges": 1,
"totalRefunds": "0.00",
"numberOfRefunds": 0
}
},
"achReport": {
"totalCharges": "0.00",
"numberOfCharges": 0,
"totalRefunds": "0.00",
"numberOfRefunds": 0
}
}
}
],
"meta": {
"total": 2,
"current_page": 1,
"total_pages": 1
}
}
Copy link