Delete a transaction
DELETE
/api/v1/money/budgets/{budget_id}/transactions/{transaction_id}
const url = 'https://example.com/api/v1/money/budgets/example/transactions/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/v1/money/budgets/example/transactions/example \ --header 'Authorization: Bearer <token>'Remove a simple register row and its note lines from the budget. The server returns no content after removal. Split, transfer, and foreign-currency rows are not supported. Route: /api/v1/money/budgets/{budget_id}/transactions/{transaction_id}. Inputs: budget_id, transaction_id. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”budget_id
required
string
Budget ID
transaction_id
required
string
Transaction ID
Responses
Section titled “Responses”Removed the row and its note lines
Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Not yet supported (split, transfer, foreign currency)
Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}