PUT
/
v0
/
source-accounts
/
{source_account_id}
/
transactions
/
{transaction_id}
curl --request PUT \
  --url https://api.sandbox.teal.dev/v0/source-accounts/{source_account_id}/transactions/{transaction_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'teal-instance-id: <teal-instance-id>' \
  --data '{
  "category": {
    "category_ledger_id": "HLn8oy2eqMUCwjp1Cwdgco",
    "updated_category_ledger_id": "WhvrC7XAES1fDrpWWgmPtg"
  },
  "description": "<string>",
  "metadata": {},
  "review_status": "reviewed",
  "tag_ids": [
    "<string>"
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

modified-by
string | null

An optional identifier for audit logging.

Path Parameters

transaction_id
string
required

The Transaction ID.

source_account_id
string
required

The Source Account ID.

Body

application/json
category
object | null

Only supported for platformgl instances

description
string | null

An arbitrary string on the object, useful for displaying information to the user.

metadata
object | null

Arbitrary structured information about the transaction. This could be location of the transaction to display to the user or vendor information to use as part of a Platform or Instance categorization rule. Teal does not use metadata for any accounting purposes.

review_status
enum<string> | null

Indicates if the transaction has been reviewed. See the reviewing transactions for steps on how to use this.

Available options:
unreviewed,
reviewed
Example:

"reviewed"

tag_ids
string[] | null

An array of IDs of the Tag objects associated with the Transaction.

Note that Tags are not transitive and the tags on a Transaction can be different than those on its line entry or entires.

Response

204
_mintlify/placeholder

Successful Response