Skip to main content

createPromoCodeCheckoutSession

Create a Stripe checkout session for a one-time promo code purchase

createPromoCodeCheckoutSession(
input: CreatePromoCodeCheckoutSessionInput
): CreatePromoCodeCheckoutSession

Arguments

createPromoCodeCheckoutSession.input ● CreatePromoCodeCheckoutSessionInput input

Type

CreatePromoCodeCheckoutSession object

Creates a Stripe checkout session for a one-time promo code purchase. Returns a URL to redirect the user to Stripe's hosted checkout page.