Skip to main content

Confirm the session with a payment method token

POST 

/checkout/:id/confirmations

Relays checkout POST /checkout-sessions/{sessionId}/confirmations with the PSP token (never a card number: card-shaped fields and a token that is a card number are refused with 422 before any upstream call). Uses the long confirm budget. 200 carries a definitive session, 202 an in-doubt placement to poll.

Request​

Responses​

The upstream answer to a keyed command, relayed unchanged.

Response Headers
    Idempotency-Replayed

    Present, with the value true, only when the answer is a replay of a stored one (any upstream write hop of the composition was replayed).