Skip to main content

Overview

The Users API allows you to create users, retrieve and update profiles, manage email addresses, and configure trading passwords.

Package Reference

Methods

CreateUser()

Create a new user account.
Returns: *User, error

UpdateCurrentUser()

Update user profile information.
Returns: *User, error

GetUserAccounts()

Get all trading accounts.
Returns: []Account, error

GetUserProfile()

Get complete user profile.
Returns: *Profile, error

ChangeEmail()

Update account email.
Returns: error

SetTradingPassword()

Configure trading password.
Returns: error

Examples