Overview
The Users API allows you to create users, retrieve and update profiles, manage email addresses, and configure trading passwords.Class Reference
Methods
createUser()
Create a new user account.Promise<User>
getCurrentUser()
Get authenticated user details.Promise<User>
updateCurrentUser()
Update user profile information.Promise<User>
getUserAccounts()
Get all trading accounts owned by user.Promise<Account[]>
getUserProfile()
Get complete user profile.Promise<Profile> with personal details
changeEmail()
Update account email address.Promise<void> - Success confirmation
setTradingPassword()
Configure password for sensitive operations.Promise<void> - Success confirmation
TypeScript Types
Examples
User Registration Flow
Update User Profile
Related APIs
- Accounts - Manage trading accounts
- Authentication - OAuth2 authentication