API
Checking Raims account

Simulate payment failure

Test a charge with a failed payment in the Sandbox.

POSThttps://api.raims.com/v1/simulations/charges/{id}/fail_payment

Simulates payment failure for a charge by ID. Use this request to check how your integration handles an unpaid result.

Sandbox only

Use a Sandbox key or an OAuth connection with Sandbox access. The simulated failure does not affect the balance and is not available in Production.

See Simulation to prepare the charge and understand the conditions for repeating the test.

Path Params

Public identifier of the charge created in your company Sandbox.

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.