Simulate a payment action
Advances a payment through its lifecycle for testing: approve or decline the risk review, collect or deliver the funds, or simulate a collection or delivery failure. The action runs against the real payment, so the status change and any webhooks fire just as in production. Available in non-production environments only.
Authorizations
Headers
Unique key (UUID recommended) that makes a create request safe to retry by replaying the original response; retained 24h per partner.
255Path Parameters
A payment id (pay_).
Body
The payment lifecycle transition to simulate.
risk-approve, risk-decline, collect, deliver, fail-collect, fail-deliver Optional free-text reason recorded on decline/failure actions.
Optional metadata echoed to logs; not persisted on the payment.
Response
Action applied.