Bank transactions are transactions that have occurred within a bank account owned by a business.

Attributes

id
string

Unique identifier for the bank transaction.

external_id
string

Unique ID of the bank transaction in your system for linking purposes. Idempotency key.

type
string

Resource type. Value will be “Bank_Transaction”.

business_id
string

ID for the Business this transaction belongs to.

source
enum

The source that the bank transaction was imported from. Values can be: UNIT, PLAID, API

source_transaction_id
string

Unique ID of the bank transaction in its source system. Idempotency key.

source_account_id
string

ID of the source account in the source system.

date
ISO8601 timestamp

Date the transaction occurred.

direction
enum

The direction of the transaction relative to the source account. Values can be: CREDIT, DEBIT

amount
integer

The amount of the transaction in cents.

counterparty_name
string

The name of the merchant or counterparty associated with the transaction.

description
string

Description of the transaction.

type
string

The type of bank account transaction. Example values: PURCHASE, BOOK, ATM, WIRE, etc.

categorization_status
enum

The status of the transaction’s categorization in Layer’s systems. Values can be: PENDING, READY_FOR_INPUT, CATEGORIZED, LAYER_REVIEW

category
Category object

The category assigned to the transaction. Only populated for transactions that have a finalized category.

suggested_matches
array containing SuggestedMatch objects

The suggested matches for the transaction.