Update transaction

PUT/api/v1/transactions/{transaction_id}

Update transaction metadata like tags, review status, or description.

Operation ID: update_transaction_api_v1_transactions__transaction_id__put·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

transaction_idstringrequired

Request body

amountinteger

Amount in cents.

datetimestring · date

Transaction date.

descriptionstring

Transaction description.

counterpartystring

Counterparty / merchant name override.

metaobject

Metadata JSON object for storing additional transaction details.

categorization_methodstring

How this transaction was categorized: 'ai', 'rules', 'similarity', 'transfer_between_accounts', 'uncategorized', 'user', 'historical', or 'global_pattern'.

posted_statusstring

Posting status: 'not_posted', 'posted', or 'deleted'.

review_statusstring

Review status: 'unreviewed' or 'reviewed'.

opposing_line_entry_idsarray · string

UUIDs of opposing line entries for double-entry accounting.

personalboolean

Mark as personal expense (not business-related).

journal_entry_idstring

UUID of linked journal entry for categorization.

teal_source_account_idstring

Teal accounting system source account ID.

ledger_idstring

UUID of the ledger (bank account) this transaction belongs to.

reconciledboolean

Mark transaction as reconciled with bank statement.

invoice_idstring

UUID of linked invoice (for payment transactions).

Responses

200Successful Response

successboolean
messagestring
codestring
dataTransactionResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject