PUT
/
v1
/
businesses
/
{businessId}
/
bank-transactions
/
{transactionId}
/
uncategorize

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Path Parameters

businessId
string
required

The UUID of the business that the transaction to uncategorize belongs to

transactionId
string
required

The UUID of the bank transaction to uncategorize

Response

200 - application/json
id
string

Unique identifier of the bank transaction

business_id
string

Unique identifier of the business the bank transaction is associated with

source
enum<string>

Source of the transaction.

Available options:
UNIT,
PLAID,
API,
STRIPE,
CUSTOM
source_transaction_id
string

External transaction ID from the source platform (e.g, Plaid transaction ID)

source_account_id
string

External account ID from the source platform (e.g, Plaid account ID)

imported_at
string

Timestamp when the transaction was imported

date
string

Date of the transaction

direction
enum<string>

Direction of the transaction.

Available options:
CREDIT,
DEBIT
amount
integer

Transaction amount in cents

counterparty_name
string | null

Name of the transaction counterparty

description
string | null

Description of the transaction.

account_name
string | null

Name of the bank account

categorizationStatus
enum<string>

The status of the transaction’s categorization in Layer’s systems.

Available options:
PENDING,
READY_FOR_INPUT,
CATEGORIZED,
SPLIT,
LAYER_REVIEW,
JOURNALING,
MATCHED
category
object

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

categorization_method
enum<string>

The method used to classify the transaction.

Available options:
SMS,
API,
LAYER_AUTO,
LAYER_MANUAL
projected_income_category
enum<string>
Available options:
REVENUE,
EXPENSE,
EXCLUDE
suggested_matches
object[]
match
object
transaction_tags
object[]