Skip to main content
PUT
Update a transaction

Authorizations

x-api-key
string
header
required

Your private API key for authentication. This key identifies your workspace for all requests.

Path Parameters

id
string<uuid>
required

The unique identifier for the transaction.

Body

application/json
sub_id
string<uuid>
revenue_item_id
string<uuid>
name
string
amount
number<float>
currency_code
string
date
string<date-time>
type
enum<string>
Available options:
expense,
revenue
category
string
tags
integer[]
website
string<uri>
project_id
string<uuid>

Response

Transaction updated successfully.

id
string<uuid>
read-only

Unique identifier for the transaction.

sub_id
string<uuid> | null

ID of the linked expense, if applicable.

revenue_item_id
string<uuid> | null

ID of the linked revenue item, if applicable.

name
string

A descriptive name for the transaction.

amount
number<float>

The value of the transaction.

currency_code
string

The ISO 4217 currency code for the transaction amount.

date
string<date-time>

The date and time the transaction occurred.

type
enum<string>

The type of transaction.

Available options:
expense,
revenue
category
string

Organizational category for the transaction.

tags
integer[]

Array of tag IDs.

website
string<uri>

Associated website, if any.

workspace_id
string<uuid>
read-only

Identifier of the workspace this transaction belongs to.

project_id
string<uuid>

Identifier of the project this transaction is assigned to.