Expense categories

Create an expense category

POST
/api/v1/expense-categories
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/expense-categories" \  -H "Content-Type: application/json" \  -d '{    "name": "Office Expenses",    "description": "This is to be used for all official expenses during working hours"  }'
{
  "id": "string",
  "name": "Office Expenses",
  "description": "This is to be used for all official expenses during working hours",
  "businessId": "98d34e0c-69dc-4683-9bbe-6e6921ed155c",
  "status": "active",
  "limit": 100000,
  "createdAt": "2024-09-24T16:07:49.891Z",
  "updatedAt": "2024-09-24T16:07:49.891Z"
}
Empty
Empty
Empty
Empty

How is this guide?

Last updated on