Fail a payment

POSThttps://api.sandbox.stridehq.ai/v1/test_helpers/payments/{id}/fail

Not available yet. This endpoint is planned and may change before it’s released.

Sandbox only. Fails one payment, with the reason you choose.

Scope payment_runs:prepareSandbox only

View as Markdown

Path parameters

id stringrequired

The payment's id.

Body parameters

failure_reason string

One of: bank_details_invalidaccount_closedreturned_by_bankcompliance_holdother

Responses