Manually close a batch of transactions. Closing a batch initiates the settlement process for all captured transactions in the batch.
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.
The unique identifier of the specific batch to close. Omit to close all open batches for the client.
The payment processor or service provider for the integration. Send the value exactly as spelled here. On the integration operations the gateway parses this field case-sensitively, so TSYS is rejected.
| Enum Value | Description |
|---|---|
| Tsys | TSYS payment processor |
| Vericheck | Vericheck ACH processor |
The type of batch.
| Enum Value | Description |
|---|---|
| Credit | Credit batch — contains credit/sale transactions. |
| Debit | Debit batch — contains debit transactions. |
- Mock server (simulated responses)https://developer.reefpay.net/_mock/apis/openapi/v1/batches/close
{ "client_id": "CLIENT-01KFDKXMQ637EKEAY410MSQSXB", "batch_id": "BATCH-01KEW32V6YNV11T33XGDR7TGWC", "processor": "Tsys", "batch_type": "Credit", "created_at": "2026-07-15T08:00:00Z", "timezone": "America/New_York" }
{ "response_text": "Batch closed successfully. 1 batch submitted for settlement.", "correlation_id": "01KFDKXMQ637EKEAY410MSQSXB" }