Skip to Content

StripeCheckoutSessionCreateInput

type StripeCheckoutSessionCreateInput = object;

What a Stripe Checkout Session sells, and where Stripe sends the customer afterwards.

Properties

cancelUrl

cancelUrl: string;

idempotencyKey?

idempotencyKey?: string;

Stable across retries of the same logical checkout. Pass the same key on every retry: when omitted, each create() call generates a new one, so a retry can start a second session.


productId

productId: string;

The product to buy.


successUrl

successUrl: string;
Last updated on