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 payment requests 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 Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
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 rows to bill. sheetType must match how the batch was created — withCustomer when each row carries the customer's details, withoutCustomer when the rows…
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 requests without rebuilding it.