Create Variable-Amount Checkout Session
Creates a new checkout session in Stripe.
Body
Checkout mode: payment, setup, or subscription.
Line items for this checkout session.
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.
Three-letter lowercase currency code for the inline Stripe Price, for example usd.
Positive integer amount in the currency's smallest unit (cents for USD).
Customer-visible product or payment-request name.
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.
Comma-separated response fields to include.