Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Final Class
Configuration for CrossmintEmbeddedCheckout.
final class CrossmintCheckoutConfig
Constructors
CrossmintCheckoutConfig
const CrossmintCheckoutConfig({
required this.order,
required this.payment,
this.appearance,
this.jwt,
})
Creates a checkout config.
Properties
order
final CrossmintCheckoutOrder order
Order to check out — either a CrossmintCheckoutNewOrder built from line items, or a CrossmintCheckoutExistingOrder referencing an already-created order by id.
payment
final CrossmintCheckoutPayment payment
Payment method configuration — fiat, crypto, and default method.
appearance
final CrossmintCheckoutAppearance? 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
Map<String, String> toQueryParams()
Serializes to query parameters for the checkout URL.