查询账号可用的接入点列表。
GET /client/dynamics/account/endpoint/info
| 参数名 | 类型 | 描述 |
| x-merchant-token | String | 商户令牌 |
| x-merchant-code | String | 商户代码 |
| 参数名 | 必选 | 类型 | 描述 |
| accountId | 是 | Long | 用户账号ID |
fetch('/client/dynamics/account/endpoint/info?accountId=1', {
method: 'GET',
headers: {
'x-merchant-token': 'your_token',
'x-merchant-code': 'your_code'
}
})
.then(response => response.json())
.then(data => console.log(data));
{
"total": 1,
"rows": [
{
"accountId": "384933",
"endpointHost": "gate-us.host.io",
"endpointPort": 13233,
"supportedProtocol": "http"
}
],
"code": 200,
"msg": "查询成功"
}
| 参数名 | 类型 | 描述 |
| total | Long | 总记录数 |
| code | Integer | 业务状态码 |
| msg | String | 提示信息 |
| rows | Array | 接入点列表 |
| rows[].accountId | String | 子账号 ID |
| rows[].endpointHost | String | 接入点主机 |
| rows[].endpointPort | Integer | 接入点端口 |
| rows[].supportedProtocol | String | 支持的协议(如 http、socks5 等) |