Skip to main content
Final Class Configuration for CrossmintEmbeddedCheckout.

Constructors

CrossmintCheckoutConfig

Creates a checkout config.

Properties

order

Order to check out — either a CrossmintCheckoutNewOrder built from line items, or a CrossmintCheckoutExistingOrder referencing an already-created order by id.

payment

Payment method configuration — fiat, crypto, and default method.

appearance

Optional appearance customization — CSS variables, rules, fonts.

jwt

Optional JWT for authenticated checkouts — attaches the user’s Crossmint session to the hosted page so the experience is signed-in when the user lands. Pass client.auth.state.session?.jwt when you want the checkout to inherit the current app session.

Methods

toQueryParams

Serializes to query parameters for the checkout URL.