Create a cash flow category
OAuth scope: cash_flow_category.write
Creates a new top-level cash flow category in the authenticated organization’s catalog.
The category’s color and icon are assigned automatically by Qonto and are not part of this contract. To add subcategories to the new category, use Create a cash flow subcategory.
Authorizations
Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.
Headers
Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.
Body
Display name of the new category. Must be non-empty.
Direction of the category:
CATEGORY_TYPE_INFLOW: money coming inCATEGORY_TYPE_OUTFLOW: money going out
CATEGORY_TYPE_INFLOW, CATEGORY_TYPE_OUTFLOW Optional VAT rate, as a decimal string (for example 20 or 5.5). Omit to create a category with no associated VAT rate.
Response
Returns the created cash flow category. Its subcategories array is always empty.
A cash flow category. Categories carry a stable id that the
cashflow_category.id field on transactions refers to, letting you
reconcile categories against an external chart of accounts.