Returns a single batch by ID.
curl --request GET \
--url https://api.antonpayments.com/v1/batches/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"merchant_id": "<string>",
"status": "uploaded",
"file_name": "<string>",
"file_format": "csv",
"file_size": 123,
"total_rows": 123,
"valid_rows": 123,
"invalid_rows": 123,
"processed_rows": 123,
"source_currency": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"confirmed_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
}
}curl --request GET \
--url https://api.antonpayments.com/v1/batches/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"merchant_id": "<string>",
"status": "uploaded",
"file_name": "<string>",
"file_format": "csv",
"file_size": 123,
"total_rows": 123,
"valid_rows": 123,
"invalid_rows": 123,
"processed_rows": 123,
"source_currency": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"confirmed_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
}
}