Return a list of batches. Use the query parameters to filter and sort the results.
Filters the batch list. A comma-separated list of pieces, each one of: a createdate comparison against a quoted ISO 8601 timestamp, using >=, <=, >, < or = and repeatable to bound a range; one status= with opened, closed, in_progress or failed; and one IANA time zone name or UTC. A timestamp with no offset is read as UTC. The time zone decides which calendar day an open batch falls on, and is UTC when omitted. A term holding any other piece is refused, and the response today is 500 SYSTEM_ERROR rather than 400.
The child client this request acts on behalf of. A reseller still authenticates as itself — Api-Key and Client-Id stay the reseller's — and names the child here.
This works only from a parent to its own children. Merchants have no children, so a merchant calling as itself omits the header. Sending your own client ULID here is not the same as omitting it, and is rejected on some operations.
- Mock server (simulated responses)https://developer.paradisepayments.com/_mock/apis/openapi/v1/batches
curl -i -X GET \
https://developer.paradisepayments.com/_mock/apis/openapi/v1/batches \
-H 'Api-Key: YOUR_API_KEY_HERE' \
-H 'Client-Id: CLIENT-01KFDKXMQ637EKEAY410MSQSXB'{ "count": 3, "results": [ { … } ], "correlation_id": "01KFDKXMQ637EKEAY410MSQSXB" }