List bank transactions
Returns a list of bank transactions for the specified business. Transactions can be filtered by date range, direction, categorization status, amounts, and description searches. Results will be paginated, see Pagination for details.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type must be set to application/json
Path Parameters
The UUID of the business to fetch bank transactions for
Query Parameters
The start date of the transaction range to fetch.
The end date of the transaction range to fetch.
The direction of the transaction to fetch.
INFLOW
, OUTFLOW
The categorization status of the transaction to fetch.
CATEGORIZED
, UNCATEGORIZED
, PENDING
The minimum amount of the transaction to fetch.
The maximum amount of the transaction to fetch.
Substring to search for in description transactions. Only exact matches will be returned.
Regex to search for in description transactions. Regex will be parsed exactly as given and an error will be returned if the regex is invalid.
Response
Unique identifier of the bank transaction
Unique identifier of the business the bank transaction is associated with
Source of the transaction.
UNIT
, PLAID
, API
, STRIPE
, CUSTOM
External transaction ID from the source platform (e.g, Plaid transaction ID)
External account ID from the source platform (e.g, Plaid account ID)
Timestamp when the transaction was imported
Date of the transaction
Direction of the transaction.
CREDIT
, DEBIT
Transaction amount in cents
Name of the transaction counterparty
Description of the transaction.
Name of the bank account
The status of the transaction’s categorization in Layer’s systems.
PENDING
, READY_FOR_INPUT
, CATEGORIZED
, SPLIT
, LAYER_REVIEW
, JOURNALING
, MATCHED
The category assigned to the transaction. Only populated for transactions that have a finalized category.
The method used to classify the transaction.
SMS
, API
, LAYER_AUTO
, LAYER_MANUAL
REVENUE
, EXPENSE
, EXCLUDE