Skip to main content
Rules

Attach rule to a financial account

Once attached, the rule will be applied to new transactions as they are fetched from the bank. Use order to place the rule at a specific position, or order_list to provide the complete ordered list of rule IDs for the account.

POST
/rules/{ruleId}/accounts/{financialAccountId}
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ruleIdintegerrequired

The rule ID

financialAccountIdintegerrequired

The financial account ID

Body

application/json
orderinteger | null

Single rule ordering - used when only attaching one rule

Required range: 0 <= x <= 999
order_listinteger[]

Full reordering - used when the client wants to provide the complete ordered list

Response

application/json
dataobjectrequired
messagestringrequired