If you are using our previous version of embedded checkout, please refer to the old component properties guide

The following properties are available for the CrossmintPayButton component:

projectId
string
required

GUID that identifies your project. Found in the developer console in the detail view for a registered collection.

collectionId
string
required

Identifier for your collection. Found in the developer console on the detail view for a registered collection.

Previously named clientId.

environment
string
required

Indicates whether you’re using the staging or production environment.

staging production

currency
string

Indicates the preferred currency for the checkout.

USD AUD EUR GBP HKD INR JPY KRW SGD VND

locale
string

Indicates the preferred language for the checkout.

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, Klingon

mintConfig
object
required
The mintConfig object should not be included for Solana collections.
mintTo
string

Indicates the wallet address where the NFTs should be delivered. It can be a standard ethereum address or a base58 Solana address.

When left empty, the NFTs will be delivered to the buyer’s . If they don’t have one, one will be created on-the-fly.

emailTo
string

Indicates the email address of the buyer. When provided, Crossmint will deliver the NFTs to the buyer’s , associated with that address. If they don’t have one, one will be created on-the-fly.

When left empty, Crossmint will ask the buyer for their email address and do the same as above.

emailLogin
string

Indicates the email where the user will receive the purchase receipt. It pre-fills the email input field on the buyer’s UI, and freezes it so they can’t modify it.

When left empty, Crossmint will ask the buyer for their email address.

checkoutProps
object