Skip to main content
Final Class Payment configuration for the embedded checkout.
At least one of fiat or crypto must be enabled. When both are configured, defaultMethodType (or defaultMethod) controls which method the checkout opens on first.

Constructors

CrossmintCheckoutPayment

Creates a payment configuration.

Properties

fiat

Fiat (card, Apple Pay, Google Pay) configuration — null disables the fiat tab entirely.

crypto

Crypto payment configuration — null disables the crypto tab.

defaultMethod

Raw default payment method string. Prefer defaultMethodType for compile-time safety. When both are set, defaultMethodType wins.

defaultMethodType

Typed default payment method — one of CrossmintCheckoutDefaultMethod: fiat (open on credit card / Apple Pay / Google Pay) or crypto (open on on-chain payment). Takes precedence over defaultMethod.

receiptEmail

Email to receive the order receipt. Leave null to use the recipient email (for CrossmintCheckoutEmailRecipient) or rely on the user entering an email inside the hosted page.