The checkout flow will ask users where they want the NFTs to be delivered. If they don’t have a wallet, Crossmint will create one on-the-fly, accessible from crossmint.com or from your website, if you use embedded wallets.

However, if you already know the wallet address of the user, you can pass it to the checkout component.

Specifying the recipient would force delivery to that address. Users will not be able to modify it on the checkout.

Specifying the Recipient of the NFT

The implementation differs slightly between the Pay Button and the Embedded Checkout.

Add a mintTo property to the checkout component: