Excluir um lançamento do cartão
DELETE/card-transactions/:id
Deletes a launch — or its series with scope — and its mirror in the card's financial account. A recurring occurrence is not deleted: mark it not_charged or end the recurrence. Deleting a prepaid top-up also deletes its transfer and needs the person's card-statements.pay, like creating it. A launch whose statement already closed keeps its amount and date (reason: statement_closed). Requires scope finance/credit_cards with access level delete.
Requisição
Respostas
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Launches deleted.
Malformed scope.
Missing / invalid / expired / revoked token.
Token lacks the finance/credit_cards scope or the delete access level, or the person lacks card-statements.pay to delete a top-up.
Card transaction not found within the tenant.
A launch whose statement already closed keeps its amount and date (reason: statement_closed). Also for a recurring occurrence.
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.