MngAddAccount New
MngAddAccount¶
Command: MngAddAccount
Deprecated alias: AddUser
AddUser is kept only for backward compatibility. New integrations must use MngAddAccount; the alias may be removed in a future release.
Description: Registers a new user account in the system. Requires basic identity, group, and login configuration.
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
| group | string | Yes | User group name |
| name | string | Yes | Full name of the user |
| password | string | Yes | Account password |
| leverage | int | Yes | Account leverage (1–10000) |
| enable | int | Yes | Account enable status (1 = active, 0 = disabled) |
| string | Yes | Email address | |
| login | int | No | Optional user login ID (if not auto-generated) |
| comment | string | No | Optional comment field |
| country | string | No | Country |
| city | string | No | City |
| address | string | No | Street address |
| phone | string | No | Phone number |
| enable_read_only | int | No | If 1, user cannot perform trading actions |
| enable_change_password | int | No | If 0, user cannot change password |
| send_reports | int | No | If 1, system will send reports |
| id | string | No | External ID or document ID |
| lead_source | string | No | Marketing or acquisition source |
| user_color | string | No | Optional user color code (UI feature) |
| magic | int | No | Account magic identifier |
| customer_id | int | No | Linked customer ID |
| ### Request Example | |||
|
Response Parameters¶
| Name | Type | Description |
|---|---|---|
| login | int | Assigned login ID for the new account |
| leverage | int | Effective leverage assigned |
| brand | string | Derived brand namespace from the account trading group |
| update_time | int | Account creation/update timestamp |
| currency | string | Base currency of the assigned group |
Response Example¶
{
"login": 102030,
"leverage": 100,
"brand": "ion4",
"update_time": 1713000100,
"currency": "USD"
}