开通子账户的合约业务
请求示例
post /api/v3/broker/sub-account/futures?timestamp={{timestamp}}&signature={{signature}}
返回示例
{
"code": "0",
"message": "",
"data": [{
"subAccount": "mexc1",
"isFuturesEnabled": true,
"timestamp": "1597026383085"
}]
}
HTTP请求:
- POST
/api/v3/broker/sub-account/futures
Query参数:
| 参数名 | 数据类型 | 是否必须 | 说明 |
|---|---|---|---|
| timestamp | string | yes | 时间 |
| signature | string | yes | 签名 |
Body请求参数:
| 参数名 | 数据类型 | 是否必须 | 说明 |
|---|---|---|---|
| subAccount | string | yes | 子账户名称 |
返回参数:
| 参数名 | 类型 | 说明 |
|---|---|---|
| subAccount | string | 子账户名称 |
| isFuturesEnabled | boolean | 开通合约业务,开通:true |
| timestamp | string | 返回时间 |