Skip to main content

Category

Transaction category for spending classification.

bank2ai-defined categorization model; not profiled from a single upstream standard. Localized names live on this object so clients can render category labels per the user's locale; programmatic identity goes through id. See CANONICAL_CATEGORY_IDS for the recommended id values shared across servers.

Properties

FieldTypeRequiredDescription
idstringUnique category identifier. SHOULD be one of the canonical ids in CANONICAL_CATEGORY_IDS when a server's category maps cleanly; otherwise free-form server-specific. Examples: "Groceries", "DiningAndEntertainment", "Other".
namestringCategory name (localized) Examples: "Groceries", "Transportation", "Entertainment", "Utilities".
Raw JSON Schema
{
"description": "Transaction category for spending classification.\n\nbank2ai-defined categorization model; not profiled from a single\nupstream standard. Localized names live on this object so clients\ncan render category labels per the user's locale; programmatic\nidentity goes through `id`. See `CANONICAL_CATEGORY_IDS` for the\nrecommended id values shared across servers.",
"properties": {
"id": {
"description": "Unique category identifier. SHOULD be one of the canonical ids in `CANONICAL_CATEGORY_IDS` when a server's category maps cleanly; otherwise free-form server-specific.",
"examples": [
"Groceries",
"DiningAndEntertainment",
"Other"
],
"title": "Id",
"type": "string"
},
"name": {
"description": "Category name (localized)",
"examples": [
"Groceries",
"Transportation",
"Entertainment",
"Utilities"
],
"title": "Name",
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "Category",
"type": "object"
}