How It Works
- Verify the user with your IDV provider
- Have the user accept Crossmint’s Privacy Policy
- Register the user’s KYC data with Crossmint
- Create an onramp order to the wallet linked to that user
- Crossmint runs sanctions, Politically Exposed Persons (PEP), and compliance checks
- The user completes payment
Accept Crossmint’s Privacy Policy
Before sharing any user KYC data with Crossmint, the user must accept Crossmint’s Privacy Policy. Record their acceptance with the Accept Legal Document endpoint before registering KYC data:cURL
Create an Onramp Order
Once the user is registered with their KYC data, you can create an onramp order. The order will use the registered KYC data for compliance checks.The
lineItems field accepts either a single object or an array. The examples above use an array for consistency, but you can also pass a single line item object directly.Linking KYC Data to Orders
When you create an order, Crossmint automatically looks up the user’s KYC data based on the email address provided inpayment.receiptEmail. Here is the complete flow:
1
Accept the privacy policy
Record the user’s privacy-policy acceptance first (see the Accept Crossmint’s Privacy Policy section above). This is required before any KYC data is shared with Crossmint.
2
Register user with KYC data
First, register the user’s KYC information using the Create User API. Make sure to include the user’s email in the
email field within kycData:3
Create order with matching email
When creating the onramp order, use the same email address in
payment.receiptEmail:Order Responses
Success: Full KYC Data Present
Success: Full KYC Data Present
When all required KYC data has been provided and validated, the order moves to the payment phase:
Success: Additional KYC Inquiry
Success: Additional KYC Inquiry
When full KYC data is present but Crossmint needs to run additional compliance checks, the order enters a processing state. This typically resolves within a few seconds as Crossmint runs the appropriate checks:
Error: Missing KYC Data
Error: Missing KYC Data
If no user personal data is provided, or if the data is insufficient, the order will fail:

