Create Checkout
Hosted setup-mode Checkout Session — adblock fallback.
Used when js.stripe.com is blocked and the inline Payment Element can't load. Collects Card on File ONLY: mode='setup', no line items, no Subscription. Completion fires setup_intent.succeeded, which runs the same Layer 2 / Layer 3 / grant flow as the inline path — single source of truth lives in the webhook.
setup_intent_data.metadata.device_id carries the device into the webhook so the safety-net grant can route without a customer→device DB lookup, matching the inline flow's SetupIntent.create metadata.
post/api/payment/create-checkout
Request body
Response
Successful Response
{"stackTrail":"paths:/api/payment/create-checkout:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.