Skip to content

↑↓ navigate ↵ open Ctrl↵ new tab esc close

Delete transaction: not available

Transactions cannot be deleted. Every transaction you send stays on record: it is the basis of the solutions you subscribe to and of your company’s history. The endpoint still exists, but it always refuses the request.

DELETE https://api.rapidchargeback.com/api/v1/transactions/:id
Authorization: Basic base64(client_id:client_secret)

SituationHTTPCode
Transaction exists and belongs to your company405TRANSACTION_DELETE_NOT_ALLOWED
Transaction does not exist or belongs to another company404TRANSACTION_NOT_FOUND

Neither response deletes anything. Do not retry: the response will be the same.


  • Wrong data in a transaction not used yet: fix it with Update transaction (PATCH /api/v1/transactions/:id).
  • Transaction already used by a solution (e.g. queried by Prevention): it can no longer be changed. PATCH responds 409 TRANSACTION_IMMUTABLE. See Immutability protection.
  • Integration that called DELETE: remove the call. It no longer has any effect.

Terminal window
curl -X DELETE https://api.rapidchargeback.com/api/v1/transactions/00000000-0000-0000-0000-000000000042 \
-H "Authorization: Basic Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ="

HTTP/1.1 405 Method Not Allowed
{
"error": {
"code": "TRANSACTION_DELETE_NOT_ALLOWED",
"message": "Transactions cannot be deleted"
}
}
HTTP/1.1 404 Not Found
{
"error": {
"code": "TRANSACTION_NOT_FOUND",
"message": "Transaction not found"
}
}