Update a specific transaction
const url = 'http://localhost:8000/api/v1/transactions/1?type=income';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"client_id":"example","amount":1,"type":"income","intent":"regular","date":"2026-04-15","party_id":1,"group_id":1,"description":"example","wallet_id":1,"is_recurring":true,"recurrence_period":"example","recurrence_interval":1,"recurrence_ends_at":"example","categories":[1],"updated_at":"2026-04-15T12:00:00Z"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url 'http://localhost:8000/api/v1/transactions/1?type=income' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "client_id": "example", "amount": 1, "type": "income", "intent": "regular", "date": "2026-04-15", "party_id": 1, "group_id": 1, "description": "example", "wallet_id": 1, "is_recurring": true, "recurrence_period": "example", "recurrence_interval": 1, "recurrence_ends_at": "example", "categories": [ 1 ], "updated_at": "2026-04-15T12:00:00Z" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”ID of the transaction
Query Parameters
Section titled “Query Parameters ”Type of transaction (income/expense)
Request Body required
Section titled “Request Body required ”object
Unique identifier for your local client
Set the transaction as a recurring transaction
Set how often the transaction should repeat
Set how often the transaction should repeat
When the transaction stops repeating
Responses
Section titled “ Responses ”Transaction updated successfully
object
ID of the transaction
Type of the transaction (income or expense)
Amount of the transaction
Description of the transaction
Date and time of the transaction
List of categories of the transaction
Set the transaction as a recurring transaction
ID of the user who created the transaction
Transaction amount converted to the currency of the budget
ID of the associated transfer, if any
Client-generated ID of the associated wallet
Client-generated ID of the associated party
Files attached to the transaction
object
ID of the file
Path or content of the file
URL to access the file
Type of file (image, icon, emoji, pdf)
Related model name
ID of the related model
object
ID of the transaction
ID of the transaction
Set how often the transaction should repeat
Set how often the transaction should repeat
When the transaction stops repeating
When next the transaction should happen
Example
{ "type": "income", "files": [ { "type": "image" } ]}Invalid input
Transaction not found