cURL
curl --request GET \ --url http://localhost:8080/v1/batches/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "bat_cq1234567890abcdef", "merchant_id": "<string>", "uploaded_by": "<string>", "status": "uploaded", "file_name": "<string>", "file_format": "csv", "file_size": 123, "total_rows": 123, "valid_rows": 123, "invalid_rows": 123, "processed_rows": 123, "errors": [ { "row": 123, "field": "<string>", "message": "<string>" } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z" }
Merchant API key: ak_live_... or ak_test_...
ak_live_...
ak_test_...
Resource identifier (xid format)
Batch details with errors if any
"bat_cq1234567890abcdef"
uploaded
validating
validated
processing
completed
failed
partial
csv
xlsx
Show child attributes