curl -X POST 'https://crypto-api.yativo.com/api/v1/customers/create-customer' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{ "username": "Acme Corp", "email": "billing@acme.com" }'
{
"status": true,
"message": "Customer created successfully !",
"data": {
"_id": "6650a1f2c3d4e5f6a7b8c9d0",
"username": "Acme Corp",
"email": "billing@acme.com",
"phone_number": "",
"user_id": "664f0e1d2c3b4a5968778695",
"createdAt": "2026-09-30T10:00:00.000Z",
"updatedAt": "2026-09-30T10:00:00.000Z"
}
}
WaaS Customers (Wallet Sub-accounts)
Create Customer
Create a wallet customer
POST
/
v1
/
customers
/
create-customer
curl -X POST 'https://crypto-api.yativo.com/api/v1/customers/create-customer' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{ "username": "Acme Corp", "email": "billing@acme.com" }'
{
"status": true,
"message": "Customer created successfully !",
"data": {
"_id": "6650a1f2c3d4e5f6a7b8c9d0",
"username": "Acme Corp",
"email": "billing@acme.com",
"phone_number": "",
"user_id": "664f0e1d2c3b4a5968778695",
"createdAt": "2026-09-30T10:00:00.000Z",
"updatedAt": "2026-09-30T10:00:00.000Z"
}
}
string
required
Bearer token:
Bearer YOUR_ACCESS_TOKENstring
required
Display name for the customer.
string
required
Customer email address. Must be unique.
curl -X POST 'https://crypto-api.yativo.com/api/v1/customers/create-customer' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{ "username": "Acme Corp", "email": "billing@acme.com" }'
{
"status": true,
"message": "Customer created successfully !",
"data": {
"_id": "6650a1f2c3d4e5f6a7b8c9d0",
"username": "Acme Corp",
"email": "billing@acme.com",
"phone_number": "",
"user_id": "664f0e1d2c3b4a5968778695",
"createdAt": "2026-09-30T10:00:00.000Z",
"updatedAt": "2026-09-30T10:00:00.000Z"
}
}
_id is the customer_id used by every other customer endpoint. A customer.created webhook is sent on success.
