Headers
Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Body
The name of the bank rule
"Monthly Salary"
The order of the bank rule
1
The account ID to apply the rule if
1
The transaction type to apply the rule if
"deposit"
The conditions type to apply the rule if
"and"
The conditions to apply the rule if
[
{
"field": "description",
"comparator": "contains",
"value": "Salary"
}
]
The category to assign the rule if
"Income:Salary"
The account ID to assign the rule if
1
The payee to assign the rule if
"Employer Inc."
The memo to assign the rule if
"Monthly Salary"
Response
The bank rule has been successfully created.
The unique identifier of the bank rule
1
The name of the bank rule
"Monthly Salary"
The order in which the rule should be applied
1
The account ID to apply the rule if
1
The transaction type to apply the rule if
deposit
, withdrawal
"deposit"
The conditions type to apply the rule if
and
, or
"and"
The conditions to apply the rule if
[
{
"id": 1,
"field": "description",
"comparator": "contains",
"value": "Salary"
}
]
The category to assign the rule if
InterestIncome
, OtherIncome
, Deposit
, Expense
, OwnerDrawings
"InterestIncome"
The account ID to assign the rule if
1
The creation timestamp of the bank rule
"2024-03-20T10:00:00Z"
The last update timestamp of the bank rule
"2024-03-20T10:00:00Z"
The payee to assign the rule if
"Employer Inc."
The memo to assign the rule if
"Monthly Salary"