Share a batch
curl -X POST "https://test-api.kashier.io/v2/batch/string/create-share"{ "data": { "_id": "string", "batchId": "string", "shareLink": "string", "expiresAt": "string", "resharedAt": "string", "createdAt": "string" }, "message": "string"}Turns the batch into live invoices and sends each customer their own payment link, on the channel their row carries. Call this once the imported items look right; the response carries the share record for the batch.
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's record id.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Import batch items from a sheet POST
Fills a batch by uploading an Excel sheet of invoices. sheetType must match how the batch was created — withCustomer when each row carries the customer's details, withoutCustomer when the rows are…
Re-share a batch POST
Re-sends an already-shared batch to the same customers, on the channel used the first time. Useful for chasing a batch of unpaid invoices without rebuilding it.