Creating a customer
To create a customer, you'll need to make a POST request to the /v1/customers
endpoint. This guide will walk you through the process step by step.
When creating a new customer, please provide as much information as possible to help us verify your users. This will help speed up the KYC process and reduce the likelihood of rejections.
Prepare identifying documents
Before creating a customer, you'll need to prepare their identifying documents. These documents must be converted to base64-encoded Data URIs. Here's how to do it in different programming languages:
The resulting Data URI should follow this format:
Supported document types include:
- Driver's license
- Passport
- National ID card
Document requirements:
- Minimum dimensions: 200x200 pixels
- Supported formats: JPG, PNG, WebP, HEIF
Make the API request
Once you have prepared the documents, you can create a customer by making a POST request to our API:
Make sure to replace YOUR_SECRET_API_KEY
with your actual API key and include the base64-encoded document data in both the frontSideImage
and backSideImage
fields (if applicable). The document images should be encoded as Base64 Data URIs as described in Step 1.
Handle the response
Upon successful creation, you'll receive a response containing the customer's information:
We will handle all KYC for the customer and return a status field that denotes the KYC status for the customer.