Customers API
Customers represent end users in your application. Each customer is linked via anexternalUserId that you provide.
Create Customer
Create a new customer or retrieve an existing one byexternalUserId.
Endpoint
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
externalUserId | string | Yes | Your unique identifier for this user |
email | string | No | Customer email address |
metadata | object | No | Custom key-value data |
Example Request
Response
Get Customer
Retrieve a customer by ID.Endpoint
Example Request
Get Customer by External ID
Retrieve a customer using your external user ID.Endpoint
Example Request
Update Customer
Update customer information.Endpoint
Request Body
| Parameter | Type | Description |
|---|---|---|
email | string | Updated email address |
metadata | object | Updated metadata (merged with existing) |
Example Request
List Customers
List customers for your project.Endpoint
Query Parameters
| Parameter | Type | Description |
|---|---|---|
kycStatus | string | Filter by KYC status |
limit | number | Max results (default: 20) |
cursor | string | Pagination cursor |
Example Request
KYC Statuses
| Status | Description |
|---|---|
pending | KYC not started |
in_progress | KYC verification in progress |
approved | KYC approved |
rejected | KYC rejected |
expired | KYC verification expired |
Customer Lifecycle
Related Endpoints
- Wallets API - Manage customer wallets
- KYC API - KYC verification management