Configuration used to create Checkout Elements.

Properties

clientSecret: string

The Checkout Session client secret.

returnURL: string

A URL that redirects back to your app after payment authentication.

defaults?: Defaults

Customer information already known by your app.

merchantDisplayName?: string

Customer-facing business name.

Overrides the light or dark appearance.

Configuration for the Checkout-owned Payment Element.

Configuration for the Checkout-owned Shipping Address Element. Provide {} to enable the element with its defaults.

Configuration for Currency Selector Element. Provide this configuration to enable the element when Adaptive Pricing is available.

Configuration for the Express Checkout Element. Provide this configuration to enable the element.