Theme switcher

Create Trading Account

Header Parameters

Authorizationstring

Bearer token used to authenticate the request and authorize access to the resource.

Path Parameters

userAccountUuidstring Required

UUID of the user account that will own this trading account

Body Parameters

loginstring

Custom login number. If omitted, the next available login is assigned automatically

groupstring Required

The trading group for this account

Min length
1
leverageRatioPercentinteger Required

Leverage ratio percentage

accessRightstring

It's the initial access-rights state of the newly created trading account

Enum values:
FULL
Account is fully active - login and trading features are available
CLOSE_ONLY
Opening new positions is blocked; the client can only close existing positions
TRADING_DISABLED
Trading is blocked, but a trader can log in to the platform.
TRADING_AND_LOGIN_DISABLED
Logging in is blocked.
LOCKED_CLOSE_ONLY
Combination of Trading disabled + Close only; described as a “transitional” state (mainly for prop-trading flows)
isProViewboolean

If set to true, it indicates that the trading account is in professional mode, which provides access to market depth and additional advanced features.

accountTypestring Required

DEMO or REAL

Enum values:
DEMOREAL
accountDetailsobject Required

Show child attributes

initialDepositobject

Show child attributes

initialCreditobject

Show child attributes

remarksstring

Response

200
Object

OK

Response Attributes

uuidstring
createdstring
brokerIdnumber
loginstring
groupstring
leverageRatioPercentnumber
accessRightstring
isProViewboolean
accountTypestring
accountDetailsobject

Show child attributes

remarksstring
financeInfoobject

Show child attributes

missingInTradingSystemboolean
versionnumber
400
Object

Bad Request

401
Object

Unauthorized

403
Object

Forbidden

404
Object

Not Found

Response Attributes

pathstring
statusnumber
typestring
titlestring
detailstring
timestampstring
additionalInfostring
500
Object

Internal Server Error

POST

/

Select
1

Response

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot