Developer Portal

Get AccountGET

Return the trading account properties for the specified account ID.

View as Markdown
GET
/accounts/{id}

Authorization

Authorization<token>

Bearer access token issued by the admin login flow.

In: header

Path Parameters

idRequiredstring
curl -X GET "https://example.com/accounts/<string>" \
  -H "Authorization: <token>"

A successful response.

{
  "id": "string",
  "groupId": "string",
  "profileId": "string",
  "currency": "string",
  "positionMode": "POSITIONING_MODE_UNSPECIFIED",
  "status": "TRADE_STATUS_UNSPECIFIED",
  "nop": 0.1,
  "balance": 0.1,
  "maxLeverage": "string",
  "version": "string",
  "isSb": true,
  "isDemo": true,
  "marginCalcTypeOverride": "MARGIN_CALC_TYPE_UNSPECIFIED",
  "dailyStatement": true
}