查询余额
说明:交易桥查询余额
group=tradeApi
version=0.0.1
bizType=tradeapi.admin.AccountAdminService.queryBalances
Header parameters
companyIdstringOptionalExample:
{{company}}
tracestringOptionalExample:
{{mock_trace}}
apiKeystringOptionalExample:
{{apikey}}
recvWindowstringOptionalExample:
5000
signaturestringOptionalExample:
{{sign}}
langstringOptionalExample:
zh-CN
versionstringOptionalExample:
0.0.1
groupstringOptionalExample:
tradeApi
Body
tradeTypeinteger · longRequired
玩法类型。10-交易桥;
exchangeIdstringRequired
平台标识符。binance-币安;okx-欧易
accountNamestringRequired
平台账号别名
customerIdinteger · longOptional
客户Id
customerNostringRequired
客户编码
customerGroupIdinteger · longRequired
客户组Id
omitZeroBalancesbooleanOptional
隐藏所有零余额。默认false,不隐藏零余额资产
currencystringOptional
筛选币种。多个币种间以,分割。区分大小写
Responses
200Success
application/json
post
POST /global/tradeapi.admin.AccountAdminService.queryBalances HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 153
{
"tradeType": 1,
"exchangeId": "text",
"accountName": "text",
"customerId": 1,
"customerNo": "text",
"customerGroupId": 1,
"omitZeroBalances": true,
"currency": "text"
}
200Success
{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": [
{
"currency": "text",
"balance": "text",
"locked": "text"
}
]
}
Last updated