CrossmintEmbeddedCheckout
Props
appearance EmbeddedCheckoutV3Appearance
rules EmbeddedCheckoutV3AppearanceRules
GlobalMessage { display?: "hidden" | "visible" }
colors { background?: string; border?: string; boxShadow?: string; placeholder?: string; text?: string }
focus { colors?: { background?: string; border?: string; boxShadow?: string } }
font { family?: string; size?: string; weight?: string }
hover { colors?: { background?: string; border?: string; boxShadow?: string; text?: string } }
Label { colors?: { text?: string }; font?: { family?: string; size?: string; weight?: string } }
font { family?: string; size?: string; weight?: string }
colors { background?: string; text?: string }
disabled { colors?: { background?: string; text?: string } }
font { family?: string; size?: string; weight?: string }
hover { colors?: { background?: string; text?: string } }
colors { background?: string; border?: string; boxShadow?: string; text?: string }
font { family?: string; size?: string; weight?: string }
hover { colors?: { background?: string; border?: string; boxShadow?: string; text?: string } }
selected { colors?: { background?: string; border?: string; boxShadow?: string; text?: string } }
variables EmbeddedCheckoutV3AppearanceVariables
identityVerificationHandling "external": you mount CrossmintIdentityVerification from getIdentityVerificationCredentials(order), or the buyer cannot finish.
payment EmbeddedCheckoutV3Payment
required
crypto EmbeddedCheckoutV3CryptoPayment
required
defaultChain BlockchainIncludingTestnet
initialChain PayerSupportedBlockchains
required
supportedChains PayerSupportedBlockchains[]
handleSignAndSendTransaction fiat EmbeddedCheckoutV3FiatPayment
required
allowedMethods { applePay?: boolean; card?: boolean; googlePay?: boolean }
lineItems EmbeddedCheckoutV3LineItem | EmbeddedCheckoutV3LineItem[]
recipient EmbeddedCheckoutV3Recipient
physicalAddress EmbeddedCheckoutV3PhysicalAddress
Usage
Note: In React Native, when payment.crypto.enabled is true, you must provide a payment.crypto.payer object with the required callback handlers for signing transactions and switching chains.
CrossmintIdentityVerification
Props
credentials IdentityVerificationCredentials
required
onComplete (result: { status: "expired" | "unknown" | "failed" | "verified" | "pending-review" | "pending-manual-review" | "declined" }) => void
Usage
Note: Document capture needs camera access granted by the host app. On Android the WebView requests android.permission.CAMERA at runtime, which only succeeds if your app declares it in AndroidManifest.xml; on iOS you must set NSCameraUsageDescription in Info.plist. Neither is added for you.