If you are using our previous version of embedded checkout, please refer to the old component properties
guide
Common Properties
These properties are shared between both the Embedded and Hosted checkout components.
object | array
required
Specifies the NFTs to purchase. Can be a single item or array of items.
lineItems properties
lineItems properties
string
Collection identifier in one of these formats:
crossmint:<_YOUR_COLLECTION_ID_>[:_TEMPLATE_ID_]- For collections created in Crossmint Console- Template ID is optional and requires template minting to be enabled
- If template minting is disabled and a template ID is provided, the mint will fail with an error
<blockchain>:<contract-address>- For collections using direct contract addresses (e.g.,polygon-amoy:0xF3d2d7b5666f579DcE385b2d53c54AB1b09Ef563)
When using template minting, append the templateId to the collection locator:
crossmint:collectionId:templateId.
Template minting must be enabled in the Crossmint Console or the mint will fail with an error.
See the Mint to Specific Template guide for details on enabling template minting and error handling.string
For secondary sales (buying existing NFTs). Token identifier in one of these formats:
- EVM chains:
<blockchain>:<contractAddress>:<tokenId> - Solana:
<blockchain>:<tokenAddress>
Using
tokenLocator doesn’t require registering the collection in Crossmint Console.object
Arguments passed to your contract’s mint function:
Solidity
Do not pass the recipient argument (e.g.
to) in callData. Crossmint handles this automatically.object
required
Configuration for payment methods.
payment properties
payment properties
object
required
Crypto payment settings:
object
required
Card & wallet payment settings:
Embedded Checkout supports additional payment method customization. See our Embedded Checkout payment methods guide for details.
string
Optional email address where purchase receipt will be sent
string
Sets the default payment tab:
fiat or cryptoobject
string
Sets the checkout interface language.
en-US de-DE es-ES fr-FR it-IT ja-JP ko-KR pt-PT ru-RU th-TH tr-TR uk-UA vi-VN zh-CN zh-TW KlingonSpecific Properties & Hooks
- Hosted Checkout
- Embedded Checkout
- React Hooks
The hosted checkout button is only available for React applications. For full customization options, please use our Headless Checkout.
CrossmintHostedCheckout component:object
Customization options for the hosted checkout. See our UI Customization guide for complete details.Notable appearance options:
- Display mode:
display: "popup" | "new-tab"(default: “popup”) - Background overlay:
overlay.enabled: falseto disable the gray background - Button theme:
theme.button: "light" | "dark" | "crossmint"(default: “light”) - Checkout theme:
theme.checkout: "light" | "dark"(default: “light”)

