owner or admin role:
Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /api/v1/admin/register/personal | Create a personal user account and return JWT tokens |
User lifecycle
A newly registered user always starts withstatus: pending. The status transitions to active once the user completes identity verification (KYC).
Idempotency behavior
This endpoint is safe to call multiple times with the same email or phone. No duplicate accounts are created.| Scenario | Behavior |
|---|---|
| User does not exist | Creates user, wallet, and all account records |
| User exists, wallet missing | Generates wallet without recreating the user |
| User and wallet both exist | Assigns role and returns fresh tokens |
Common errors
| HTTP status | Cause |
|---|---|
400 | Missing email or malformed field value |
401 | Invalid or expired token, or caller lacks owner / admin role |
500 | Unexpected server error |