Excluir transação
DELETE/financial-transactions/:id
Hard-deletes the row. Requires scope finance.transactions.write. Deleting an auto-created row (one generated by paying / receiving a payable / receivable) returns 422 — cancel the source billing instead. Calling DELETE twice on the same id returns 200 then 404 (Stripe-style).
Requisição
Respostas
- 200
- 401
- 403
- 404
- 422
- 429
- 500
Transaction deleted.
Missing / invalid / expired / revoked token.
Token lacks the finance.transactions.write scope.
Transaction not found within the tenant.
Auto-created transaction — cancel the parent payable / receivable instead.
Rate limit exceeded for this token. Reads and writes have separate budgets, both on a 1-hour sliding window. The response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and Retry-After — wait out Retry-After rather than retrying immediately.
Unhandled server error.