Check balance

Check balance

post

Description: Transaction Bridge balance query

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

Game type. 10-Transaction Bridge;

exchangeIdstringRequired

Platform identifier. binance-Binance; okx-OUYi

accountNamestringRequired

Platform account alias

customerIdinteger · longOptional

CustomerId

customerNostringRequired

Customer code

customerGroupIdinteger · longRequired

Customer group ID

omitZeroBalancesbooleanOptional

Hide any zero balances. Default is false, zero balance assets are not hidden

currencystringOptional

Filter currencies. Multiple currencies are divided by . case sensitive

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