KashierDevelopersKashier Developers

Get a category

curl -X GET "https://test-api.kashier.io/v2/category/string"
{  "body": {    "_id": "string",    "name": "string",    "description": "string",    "merchantId": "string",    "createdByUserId": "string",    "createdAt": "string",    "updatedAt": "string"  },  "message": "string"}

Retrieves a single category by its record id.

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

id*string

The category's record id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

GET
/v2/category/{id}