DocsAPI Reference
Log In
Docs

NFT Checkout Flow

The NFT checkout flow is when a user wants to buy an NFT and have it sent to their wallet address.

Meld's All in One Wizard does not support NFT Checkouts. Instead, please use Meld's White Label Widget instead.

Prerequisites

Before a user can buy an NFT, you should know the following information:

  • The user's wallet address to have the NFT sent to

  • The payment method the user intends to pay with

  • The amount of fiat the user will buy the NFT for

  • The fiat currency the user will pay the fiat in (for example USD)

  • The cryptocurrency and network corresponding to the user's wallet address (for example ETH_ARBITRUM aka Ethereum on the Arbitrum network)

  • The country the user's billing address is in

  • The onramp the user will buy the NFT on

You should use Meld's service provider endpoints to know which countries / payment methods / fiat currencies / tokens the onramps you have enabled support.

Steps to User Buying an NFT

Once you have the above information, you can complete the following steps, in order:

  1. You will choose an onramp and launch the onramp's widget. In this case the user isn't choosing the onramp because a particular NFT will typically only be available on a particular onramp, unlike crypto tokens which are found on multiple onramps. The user completes the transaction using the widget. This entails the user paying for the NFT and the onramp sending the NFT to the user's wallet address.
  2. Get transaction data. For more information on how to do this see here.

Note that the NFT checkout flow does not include quotes.