KashierDevelopersKashier Developers

Get a batch

curl -X GET "https://test-api.kashier.io/v2/batch/string"
{  "data": {    "_id": "string",    "batchName": "string",    "currency": "string",    "merchantId": "string",    "createdByUserId": "string",    "status": "string",    "itemsCount": 0,    "createdAt": "string",    "updatedAt": "string",    "items": [      {        "_id": "string",        "batchId": "string",        "name": "string",        "amount": 0,        "currency": "string",        "dueDate": "string",        "status": "string",        "createdAt": "string",        "updatedAt": "string"      }    ]  },  "message": "string"}

Retrieves a single batch together with the items it contains, so you can review what was imported before sharing it.

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

GET
/v2/batch/{batchId}