Skip to main content
GET
Retrieve rule

Authorizations

Authorization
string
header
required

API key prefixed with finta_

Path Parameters

id
string
required

Public rule_ ID returned by List rules, with a nonempty alphanumeric suffix of any length.

Pattern: ^rule_[A-Za-z0-9]+$

Response

The complete rule object, identical to its entry in List rules.

The complete saved company automation definition. IDs are stable opaque rule_ identifiers, including for historical rules. No public condition IDs, priority, enable state, or historical application status are exposed. The create-time application flag is not response state.

id
string
required
Pattern: ^rule_[A-Za-z0-9]+$
object
enum<string>
required
Available options:
rule
conditions
object[]
required

Flat AND conditions; repeated fields express multiple constraints. Text matches are case-insensitive.

Minimum array length: 1

merchant matches the assigned merchant name; description matches the transaction description. account_id and card_id match exact stable identities, never display names. Legacy account and card_name are compatibility text fields; duplicate names and contains can match multiple sources. Their original stored text is preserved. transaction_type currently represents transfer only; it is not the public transaction resource's standard/transfer/split enum. Signed amount_cents uses integer cents without absolute values or currency conversion. greater_than means >=, less_than means <=, and between includes both bounds, minimum first. Signed amounts express inflow/outflow constraints; there is no separate direction field. Consumers must handle legacy text fields and should tolerate future supported condition variants.

actions
object
required

Only configured actions are present; absent actions are omitted rather than null. category_id and department_id preserve the saved reference's public ID, including legacy references that may no longer be selectable for a new rule. Reading a rule performs no actions. Accounting-date offsets are relative to the original transaction date on import, and do not apply historically. Nonzero offsets cannot be combined with Asset category actions.