Skip to main content
Users endpoints require an admin JWT with the owner or admin role:
Authorization: Bearer <admin-token>

Endpoints

MethodEndpointDescription
POST/api/v1/admin/register/personalCreate a personal user account and return JWT tokens

User lifecycle

A newly registered user always starts with status: pending. The status transitions to active once the user completes identity verification (KYC).
pending  →  active

  └── KYC not yet completed
Tokens are issued immediately at registration. You can use them to authenticate requests on behalf of the user regardless of their KYC status.

Idempotency behavior

This endpoint is safe to call multiple times with the same email or phone. No duplicate accounts are created.
ScenarioBehavior
User does not existCreates user, wallet, and all account records
User exists, wallet missingGenerates wallet without recreating the user
User and wallet both existAssigns role and returns fresh tokens

Common errors

HTTP statusCause
400Missing email or malformed field value
401Invalid or expired token, or caller lacks owner / admin role
500Unexpected server error