Categorization
Create a Platform rule
Creates a new Platform categorization rule.
POST
/
v0
/
platform
/
categorization
/
rules
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
expression
string
requiredA comparative expression to match on
Transactions. Use t
to access the Transaction object. Must
evaluate to a boolean. Accepts regex evaluations.
Read more: Categorization guide
ledger_name
string
requiredThe name of the destination ledger.
name
string
requiredAn arbitrary string to name the rule.
priority
integer
requiredThe priority of the rule.
Response
201 - application/json
id
string
requiredThe unique ID of the object.
expression
string
requiredA comparative expression to match on
Transactions. Use t
to access the Transaction object. Must
evaluate to a boolean. Accepts regex evaluations.
Read more: Categorization guide
ledger_name
string
requiredThe name of the destination ledger.
name
string
requiredAn arbitrary string to name the rule.
priority
integer
requiredThe priority of the rule.