Get a batch within a settlement window
curl -X GET "https://test-api.kashier.io/v3/payment/settlement/windows/string/batches/string"{ "message": "success", "data": { "batchId": "BATCH-XXXX-1", "rfsDate": "2025-07-23 00:00:00+00:00", "channel": "ECOMMERCE", "method": "card", "transactionsCount": 8, "totalOriginalAmount": 3000, "totalFees": 45, "totalVat": 6.3, "totalSettlementAmount": 2948.7 }}Retrieves one batch of one settlement window. This is the last step of reconciling a single order: read the order's settlementWindowId and settlementBatchId from the transaction, then fetch the batch here. A batch inside a closed window has been paid out.
Authorization
secretKey Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).
In: header
Path Parameters
Settlement window identifier.
Settlement batch identifier.
Response Body
application/json
application/json
application/json
application/json
application/json
Get a settlement window GET
Retrieves one settlement window together with its batches. Each batch carries its own rfsDate (the ready-for-settlement date), channel and method, gross and net amounts, and the fees and VAT taken…
Get a settlement batch GET
Retrieves one settlement batch by its id, without needing to know which window it belongs to. Use it when a transaction gave you a settlementBatchId on its own.