Delete transaction
Deletes a transaction and all its related data (items, customer, addresses, payments, refunds).
Endpoint
Section titled “Endpoint”DELETE
https://api.rapidchargeback.com/api/v1/transactions/:idAuthentication
Section titled “Authentication”Authorization: Basic base64(client_id:client_secret)URL parameter
Section titled “URL parameter”| Parameter | Type | Description |
|---|---|---|
id | string (UUID) | Transaction ID |
Did not keep the id? Find the transaction by your system’s ID.
Validations
Section titled “Validations”- If the transaction was already used by a solution (e.g. queried by Prevention), deletion is blocked with
409 Conflict
Request example
Section titled “Request example”curl -X DELETE https://api.rapidchargeback.com/api/v1/transactions/00000000-0000-0000-0000-000000000042 \ -H "Authorization: Basic Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ="Response examples
Section titled “Response examples”Success
Section titled “Success”HTTP/1.1 204 No ContentNo response body.
Transaction not found
Section titled “Transaction not found”{ "error": { "code": "TRANSACTION_NOT_FOUND", "message": "Transaction not found" }}Immutable transaction
Section titled “Immutable transaction”{ "error": { "code": "TRANSACTION_IMMUTABLE", "message": "Transaction cannot be modified, it has been used by a network event" }}