CustomerRegistration¶
Endpoint¶
POST /customer/registration
Description¶
Registers a new customer profile.
The server accepts public registration fields and resets manager/KYC/AML/internal fields to safe defaults.
Request¶
{
"email": "[email protected]",
"password": "strong-password",
"first_name": "John",
"last_name": "Smith",
"phone": "+35700000000",
"brand": "default",
"preferred_language": "en",
"timezone": "Asia/Nicosia",
"marketing_allowed": 1
}
Response¶
{
"registered": true,
"customer": {
"customer_id": 1,
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith",
"full_name": "John Smith",
"status": 0,
"enable": 1,
"brand": "default",
"created_time": 1777600000,
"updated_time": 1777600000
}
}
Errors¶
| HTTP | Error | Description |
|---|---|---|
400 |
INVALID_DATA |
Invalid request body |
409 |
DUPLICATE_RECORD |
Email is already registered |