API
Checking Raims account

Revoke a charge

Cancel a charge that should no longer accept payment.

DELhttps://api.raims.com/v1/charges/{id}

Revokes a charge by public identifier. Use this request when the charge should no longer accept payment. It must belong to the company and authenticated environment. The record and history remain available for lookup; revocation does not refund or return paid amounts.

Cancellation may depend on bank confirmation. A 202 with revocation_pending: true means revocation is pending. The code 409 CHARGE_REVOCATION_RESULT_UNKNOWN means the result is still inconclusive. In either case, check status for the same charge in the individual lookup before retrying.

See the differences between Sandbox and Production and how to track confirmation in Revoke a charge.

Path Params

The charge's public identifier in Raims, received when creating or listing charges.

Up to 100 characters

Headers

Unique key chosen by your system to identify this request. When retrying, send the same key and parameters. Without this header, the request is processed normally. See the idempotency guide for retention and handling pending or uncertain responses.

1 to 255 characters

Responses

For common errors, see HTTP response codes.