KashierDevelopersKashier Developers

List a merchant's categories (public)

curl -X GET "https://test-api.kashier.io/v2/category/simple?merchantId=string"
[  {    "_id": "string",    "name": "string",    "description": "string",    "merchantId": "string",    "createdByUserId": "string",    "createdAt": "string",    "updatedAt": "string"  }]

Returns just the ids and names of a merchant's categories, with no pagination and no authentication. This is the lightweight read a storefront or a payment page uses to render a category picker, so it deliberately exposes nothing beyond the names.

Query Parameters

merchantId*string

The merchant id the categories belong to, in MID- form. Required — a request without it comes back as "merchantId" is required. Example: YOUR_MID

Response Body

application/json

application/json

application/json

GET
/v2/category/simple