Skip to main content
PUT

Path Parameters

string
ID of the Business the bank transaction is associated with.
string
ID of the Bank Transaction to categorize.

Body

Either a Category or a Split may be provided. Splits are used when the transaction’s value should be allocated across multiple categories. This is most commonly the case when multiple items are purchased and those items should be categorized separately.

Category

Category payloads should have a type field and a category field. This category field can be any Account Identifier. The available categories can be fetched using the Fetch transaction categories endpoint. Category payload using a StableName
enum
required
Set to Category when categorizing the transaction as a single (non-split) category.
enum
required
Category payload using an AccountId
enum
required
Set to Category when categorizing the transaction as a single (non-split) category.
enum
required

Split Categorizations

Splits are specified with an array of categorizations, as above, with an amount tied to each category. The total amount must exactly equal the amount of the transaction. Amounts are always specified in positive cents.
enum
required
Set to Split when categorizing the transaction as a single (non-split) category.
array
required
Array of entries consisting of a category and an amount.

Response

Returns the categorized Bank Transaction Object