Retrieve a payment session
Payment sessions
Retrieve a payment session
GET /payment-sessions/ — status and the full attempt trail
GET
Retrieve a payment session
Returns the session’s current status and its per-gateway attempt trail. Use
this to reconcile a checkout whose webhook you missed, or to poll after a
customer’s browser disconnected mid-payment.
For fulfillment, prefer webhooks — they push the same
data the moment the outcome is known. This endpoint is the pull-based
complement, not a substitute for verifying webhook signatures.
Request
The session identifier from the create response.
Response
CREATED | SUCCEEDED | DECLINED | DEGRADED | EXPIRED.Which of your gateways captured (
STRIPE / ADYEN); null unless
SUCCEEDED.true when the capture happened on a gateway other than the first one
attempted.One entry per gateway attempt, in order.
outcome is APPROVED,
DECLINED, TIMEOUT, or GATEWAY_ERROR; declineClass is HARD,
SOFT, or FRAUD for declines. Latency is per-attempt, in milliseconds.