curl -X POST 'https://crypto-api.yativo.com/api/customers' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+14155552671"
}'
{
"status": "success",
"data": {
"id": "cust_01HX9KZMB3F7VNQP8R2WDGT4E5",
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+14155552671",
"status": "pending",
"kyc_status": "not_started",
"created_at": "2026-03-26T10:00:00Z"
}
}
Register a new customer in your account
curl -X POST 'https://crypto-api.yativo.com/api/customers' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+14155552671"
}'
{
"status": "success",
"data": {
"id": "cust_01HX9KZMB3F7VNQP8R2WDGT4E5",
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+14155552671",
"status": "pending",
"kyc_status": "not_started",
"created_at": "2026-03-26T10:00:00Z"
}
}
Bearer YOUR_ACCESS_TOKEN+14155552671).Request/Response Type Definitions
interface CreateCustomerRequest {
email: string;
first_name: string;
last_name: string;
phone?: string;
metadata?: Record<string, string>;
}
interface CreateCustomerResponse {
status: "success";
data: {
id: string;
email: string;
first_name: string;
last_name: string;
phone?: string;
status: "pending";
kyc_status: "not_started";
created_at: string;
};
}
curl -X POST 'https://crypto-api.yativo.com/api/customers' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+14155552671"
}'
{
"status": "success",
"data": {
"id": "cust_01HX9KZMB3F7VNQP8R2WDGT4E5",
"email": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+14155552671",
"status": "pending",
"kyc_status": "not_started",
"created_at": "2026-03-26T10:00:00Z"
}
}