Skip to main content
POST
/
v2
/
cash_flow_categories
/
{category_id}
/
subcategories
Create a cash flow subcategory
curl --request POST \
  --url https://thirdparty.qonto.com/v2/cash_flow_categories/{category_id}/subcategories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Cloud hosting",
  "vat_rate": "20"
}
'
{
  "cash_flow_subcategory": {
    "id": "9f3b2c1d-7e8a-4b6c-9d0e-1f2a3b4c5d6e",
    "name": "Cloud hosting",
    "vat_rate": "20"
  }
}

Authorizations

Authorization
string
header
required

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

X-Qonto-Staging-Token
string

Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.

Path Parameters

category_id
string
required

UUID of the parent cash flow category.

Example:

"3786f44c-a2e1-472e-870d-4cdb152b33fa"

Body

application/json
name
string
required

Display name of the new subcategory. Must be non-empty.

vat_rate
string

Optional VAT rate, as a decimal string (for example 20 or 5.5). Omit to create a subcategory with no associated VAT rate.

Response

Returns the created cash flow subcategory.

cash_flow_subcategory
object
required

A cash flow subcategory nested under a parent category. Its id matches the cashflow_subcategory.id field returned on transactions.