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

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

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