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
1
{
2
"data": [
3
{
4
"id": "758ad65f-9849-43a9-999a-dc5a94887110",
5
"merchant_id": "b0ad3bfe-c7a1-4def-9840-6c8f2570d2ce",
6
"created_at": "2022-02-17T02:00:06.922Z",
7
"updated_at": "2022-02-17T02:00:06.922Z",
8
"batch_number": 15,
9
"amount": "0.02",
10
"data": {
11
"approvedAmount": "0.02",
12
"voidAmount": "0.00",
13
"cardReport": {
14
"visa": {
15
"totalCharges": "0.02",
16
"numberOfCharges": 1,
17
"totalRefunds": "0.00",
18
"numberOfRefunds": 0
19
}
20
},
21
"achReport": {
22
"totalCharges": "0.00",
23
"numberOfCharges": 0,
24
"totalRefunds": "0.00",
25
"numberOfRefunds": 0
26
}
27
}
28
},
29
{
30
"id": "65883bd6-6b08-4bba-8d3e-a449ba009e04",
31
"merchant_id": "b0ad3bfe-c7a1-4def-9840-6c8f2570d2ce",
32
"created_at": "2022-02-05T02:00:07.313Z",
33
"updated_at": "2022-02-05T02:00:07.313Z",
34
"batch_number": 14,
35
"amount": "2.20",
36
"data": {
37
"approvedAmount": "2.20",
38
"voidAmount": "0.00",
39
"cardReport": {
40
"visa": {
41
"totalCharges": "2.20",
42
"numberOfCharges": 1,
43
"totalRefunds": "0.00",
44
"numberOfRefunds": 0
45
}
46
},
47
"achReport": {
48
"totalCharges": "0.00",
49
"numberOfCharges": 0,
50
"totalRefunds": "0.00",
51
"numberOfRefunds": 0
52
}
53
}
54
}
55
],
56
"meta": {
57
"total": 2,
58
"current_page": 1,
59
"total_pages": 1
60
}
61
}
Copied!
Copy link