Create account request
Create an account based on the group name and account name
Request address
- API Address (requestURI) : /api/v1/account/createAccountByGroupAndName
Request parameters
Parameter name | Type | Requirement | description |
---|---|---|---|
login | Long | R | Administrator account |
userId | Long | O | The unique identifier for the user |
groupName | String | R | The name of the group or role the user belongs to |
masterPassword | String | R | The user's main password |
investorPassword | String | R | The investor password, which may be used for certain operations requiring an additional level of security |
firstName | String | R | The user's first name |
lastName | String | O | The user's last name |
leverage | Integer | R | The leverage used by the user in trading |
rights | Integer | R | The user's level of permissions, possibly a number indicating what operations the user can perform |
phone | String | O | The user's phone number |
String | O | The user's email address |
Sample request
{
"login": 100001,
"userId": 123456,
"groupName": "demo\\TTF\\Prop trading\\Premium\\USD\\Level1",
"masterPassword": "P!0aInUs",
"investorPassword": "VhH-6fGh",
"firstName": "John",
"lastName": "Wilson",
"leverage": 100,
"rights": 2403,
"phone": "13555555555",
"email": "mc_trading@email.com"
}
Response parameters
Parameter name | Type | Requirement | description |
---|---|---|---|
userId | Long | R | The unique identifier for the user |
Sample response
{
"code": "200",
"desc": "Success",
"data": {
"userId": 200000502
}
}