PATCH
/
transactions
/
{id}
curl --request PATCH \
  --url https://api.antei.com/transactions/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "transaction_type": "inflow",
  "amount": 123,
  "currency": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "description": "<string>"
}'
{
  "id": "<string>",
  "transaction_type": "inflow",
  "amount": 123,
  "currency": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "description": "<string>"
}

Use this endpoint to append custom metadata or correct auxiliary fields for an existing transaction.

Path Parameter:

  • id – ID of the transaction to update

Editable Fields in Body:

  • metadata
  • internal_notes
  • tags

Response:

Returns the updated Transaction object. If the transaction is locked for tax purposes, an error will be thrown.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID of the transaction to update

Body

application/json

Fields to update

The body is of type object.

Response

200 - application/json

Updated transaction

The response is of type object.