- Purchase with any cryptocurrency in the wallet.
- Receive funds from another wallet to a Sequence wallet and purchase.
- Pay using a credit or debit card which will intelligently detect the correct provider for each region, chain and currency.
- Pay with another cryptocurrency in a wallet by doing an automated swap and purchase.
@0xsequence/checkout and using it in conjunction with @0xsequence/connect.

In order to enable credit card payments for checkout, please get in touch with the Sequence team as your contract address will need to be allowlisted and go through a KYB process for your organization. Credit card payments only work on various networks mainnets
Installation and Setup
To integrate the checkout feature, follow these steps:
Now we have the setup done, let’s see how to use the checkout modal for different use cases.
Checkout with an ERC1155 Token
We have convenient utility functions for ERC1155 tokens that make it easy to configure the checkout modal. Here’s a configuration with example variables:Custom Contract
We instantiate theuseSelectPaymentModal hook to open the checkout modal and pass a settings object. In addition, for custom contracts, you can specify a contract ABI along with encoding the call data, in this case we are using ethers and viem’s encodeFunctionData utility.