Skip to main content
POST
Simulate a state transition

Authorizations

Authorization
string
header
required

API key. Use pk_live_* for production or pk_test_* for test mode.

Path Parameters

id
string
required

The Payment Intent ID

Body

application/json
targetState
enum<string>
required

The state to transition to

Available options:
confirmed,
failed,
expired,
dropped
failureReason
enum<string>

Optional failure reason when targeting failed state

Available options:
insufficient_balance,
revert,
slippage

Response

State transition simulated

intent
object