Create Checkout Session
Creates a new checkout session in Stripe.
Query
Comma-separated response fields to include.
Body
Checkout mode: payment, setup, or subscription.
Line items for this checkout session.
The price ID for a line item.
Quantity for the line item.
URL to redirect customers after successful checkout in hosted mode.
URL to redirect customers if they cancel checkout.
Existing customer ID to prefill checkout.
URL to return customers to your site for embedded/custom UI modes.
Email used to prefill customer data when no customer ID is provided.
Allowed payment method types for this session.
Checkout UI mode: hosted, embedded, or custom.
Reference ID to reconcile session with your internal systems.