跳到正文
注册

账户

获取账户

密钥代表的是谁:账户的 UID、类型和等级、验证状态,以及我们的团队在该账户上暂停的任何功能。

GET/api/v1/account获取密钥
curl --request GET \
  --url "https://reirex.com/api/v1/account" \
  --header "GX-API-KEY: $GX_API_KEY" \
  --header "GX-API-TIMESTAMP: $TIMESTAMP" \
  --header "GX-API-SIGN: $SIGNATURE"

200 OKapplication/json

{
  "uid": 4182736455,
  "type": "individual",
  "companyUid": null,
  "status": "active",
  "verification": "approved",
  "restrictions": [],
  "tier": "Gold",
  "vip": false,
  "leverageConfirmedAt": "2026-10-02T11:20:04.518Z",
  "permissions": ["read", "trade"],
  "createdAt": "2026-03-02T09:14:27.902Z"
}

子账户密钥读取的是子账户本身,其所属公司的 UID 位于 companyUid。它的验证状态、限制和等级与公司当时的一致。

在所有者于网站上确认杠杆外汇风险之前,leverageConfirmedAt 始终为 null。确认之后,开仓才能成功。

响应

  • uidinteger

    账户的 UID。子账户密钥读取的是子账户自身的 UID。

  • typestring

    individual、institution,子账户密钥为 sub_account。

  • companyUidinteger | null

    子账户密钥所属公司的 UID;其他情况为 null。

  • statusstring

    active;我们的团队暂停了某项功能时为 restricted,见 restrictions。

  • verificationstring

    身份验证进度:验证通过后为 approved,审核中为 pending。

  • restrictionsstring[]

    我们的团队在该账户上暂停的功能,例如 trading、convert 或 earn。无暂停时为空。

  • tierstring

    决定你手续费的等级:Bronze、Silver、Gold、Platinum 或 Diamond。

  • vipboolean

    账户是否为 VIP。

  • leverageConfirmedAtstring | null

    所有者在网站上确认杠杆外汇风险的时间;确认前为 null。

  • permissionsstring[]

    此密钥的权限:read,写操作还需 trade。

  • createdAtstring

    账户开立时间。