Transactions

Retrieve and refresh 24 months of historical transaction data, including geolocation, merchant, and category information.

The Transaction Object

The Transaction object retrieves 24 months of historical transaction data.

id ObjectID required
Unique Auth ID (Unique Okra Identifier)


debit Number required
The amount deducted from an account


credit Number required
The amount credited to an account


account ObjectID required
Unique account ID (Unique Okra Identifier)


connected Boolean required
Customer connection status (Did they choose to connect this account to you?)


customer ObjectID required
Unique Customer ID (Unique Okra Identifier)
See Manage Customers ]


record ObjectID required
Unique Record ID (Unique Okra Identifier)
See Records


owner ObjectID required
Unique Company ID (Unique Okra Identifier) (Your Client Token)


env string required
Okra API env the Auth was pulled from production or production-sandbox


created_at Date required
Date transaction was fetched


last_updated Date required
Last date transaction fetched


trans_date Date required
The date a transaction occurred


cleared_date Date required
The date a transaction was cleared at the bank


unformatted_trans_date string required
The date transaction occurred (from the bank)


unformatted_cleared_date string required
The date transaction cleared (from the bank)


branch String required
The branch transactions occurred


ref String required
The bank reference ID (from the bank)


code String required
Bank Code (from the bank)


benefactor ObjectID required
Customer ID of the sender (within Okra)


notes Object required
Breakdown of Narrative from bank


bank ObjectID required
Unique Bank ID (Unique Okra Identifier)


balance Number required
Balance after transaction line