Update a batch item
curl -X PUT "https://test-api.kashier.io/v2/batch-item/string" \ -H "Content-Type: application/json" \ -d '{ "batchItem": { "description": "Product purchase", "totalAmount": 100, "paymentType": "simple", "referenceId": "REF-001", "isSuspendedPayment": false, "dueDate": "2026-12-31 23:59:59+00:00", "extraFees": [], "items": [] } }'{ "_id": "string", "batchId": "string", "name": "string", "amount": 0, "currency": "string", "dueDate": "string", "status": "string", "createdAt": "string", "updatedAt": "string"}Corrects a single row inside a batch before it is shared — most often to fix an amount or a due date that came in wrong from the imported sheet. The fields live under a batchItem wrapper and mirror the ones on an invoice.
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
The batch item's record id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Delete a batch item DELETE
Removes a single row from a batch. Use it to drop a customer from a bulk billing run without re-importing the whole sheet.
Get a merchant's allowed payment methods GET
Retrieves the payment methods your merchant account is entitled to. A custom checkout calls this first and renders only the methods it gets back — the hosted checkout and iframe apply the same enti…