KashierDevelopersKashier Developers

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
Authorization<token>

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

batchId*string

The batch's record id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/v2/batch/{batchId}/create-share