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 key with the sk_test_ prefix. 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

Responses

For common errors, see HTTP response codes.