Create a Stripe checkout session for a customer using a Stripe product key, with an optional Stripe price ID override.
API key from your PriceOS dashboard.
Internal customer ID.
Product key from your PriceOS dashboard. Must reference a Stripe product (not a custom product).
Optional Stripe price ID. When provided, it must be active and belong to the selected Stripe product.
Optional checkout success redirect URL.
Optional checkout cancel redirect URL.
Optional metadata to attach to the Stripe checkout session.
Optional customer info used when creating/updating the customer.
Optional Stripe Checkout Session params to merge into the request.
Checkout session
Stripe checkout URL.