Categories (obsolete)
Last updated
Was this helpful?
Last updated
Was this helpful?
The current version of this feature is obsolete. A major redesign of it is in progress.
Authentication: endpoints listed in this page require with a user token.
GET
https://{domain}.biapi.pro/2.0/categories
Get all categories.
Response body: CategoriesList object
GET
https://{domain}.biapi.pro/2.0/categories/{categoryId}
Get a single category by ID.
categoryId*
Integer
Category ID.
Response body: Category object
categories
The full list of categories.
id
Integer
ID of the category.
id_parent_category
Integer
ID of the parent category. If this is a parent category, it will be equal to its own ID.
name
String
Name of the category.
color
String
Color of the category.
income
Boolean or null
Is an income category. If null, this is both an income and an expense category.
refundable
Boolean
This category accepts opposite sign of transactions.
id_logo
Integer or null
ID of the logo.
Array of objects