- Creates a new category
Retrieves a list of categories
Updates a category by its ID
Deletes a category by its ID
Creates a new category
POST {{baseURL}}/pay-int-api/categories
This endpoint creates a new category.
Category name must be unique in the merchant account.
Security
Bearer
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-int-api/categories
- Sandbox environmenthttps://sandbox.api.flute.com/pay-int-api/categories
- Production environmenthttps://api.flute.com/pay-int-api/categories
curl -i -X POST \
https://developer.flute.com/_mock/api-reference/pay-int-api/categories \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-api-version: string' \
-d '{
"name": "Desserts",
"defaultUnitTypeId": 3
}'Response
{ "id": "6780a6b7-8c9d-4e0f-1a2b-3c4d5e6f7a03" }