Before you begin
- You have a Sumsub account and have integrated their KYC flow
- You have requested Meld enable Sumsub token sharing for your account
- You can obtain the Sumsub KYC token for each user
- The onramp you plan to route to supports Sumsub token sharing (currently Mercuryo)
For sandbox testing details, see KYC testing.
Step 1: Sumsub Setup
This requires you to integrate Sumsub, and use them to KYC your user. It is very important that you show the user a screen where they consent to having their KYC data shared with another party (aka the onramps), which is what is happening in this flow. While Sumsub stores the physical KYC data, they will share it with the onramp for the user to skip KYC in the onramp, and the user must consent to this data sharing. See Sumsub requirements for importing the applicant. You will need to pass the Sumsub KYC token, generated for client id meld.io_75082. This is done in the Sumsub dashboard, as shown below.
Step 2: KYC the user via Sumsub
In order for your user to not be asked for any additional KYC information by the onramp, you must collect, at minimum,- First name
- Last name
- Date of birth
- ID picture
- Phone number
- Email address
- Address
- Country
Step 3: Create a Meld customer
This step is required for the user to skip logging into the onramp, and is a one-time setup per user. CallPOST /accounts/customers and pass in the user’s first name, last name, email address, phone number, and birthday. Your request will look like this:
id in the response is now the Meld customerId of that user. You will need to pass this to Meld every time that user wants to make a transaction.
Step 4: Pass Meld the KYC token
If you send the user to an onramp that supports Sumsub token sharing, pass Meld the KYC token of the user when you callPOST /crypto/session/widget. Your request will look like this:
widgetUrl or serviceProviderWidgetUrl, then the user go straight to the Mercuryo payment screen, as seen in this demo video:
And that’s it! Congrats, you are now using Meld’s Unified KYC product to enhance your users’ experience!