Get Balance
GetBalance
bizType=customer.admin.CustomerAdminApiService.queryAccountList
Header parameters
tokenstringRequiredExample:
{{auto_token}}
versionstringRequiredExample:
0.0.1
tracestringRequiredExample:
{{mock_trace}}
Body
customerNostringRequired
Customer Number
tradeTypeintegerRequired
Trading gameplay
Responses
200
Success
application/json
post
POST /openapi-b/customer.admin.CustomerAdminApiService.queryAccountList HTTP/1.1
Host: pre-api-test.cmfbl.com
token: text
version: text
trace: text
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"customerNo": "{{customerNo}}",
"tradeType": 1
}
200
Success
Balance is used in the balance field
{
"msg": "Success",
"fail": false,
"trace": "t-23uee2-go44-se70u4w7-jyx6bvb-1660187117",
"code": "0",
"data": [
{
"netAssets": "47.319290",
"available": "47.319290",
"remark": null,
"type": 1,
"equity": "47.319290",
"firstDepositTime": 1646123635909,
"lockMargin": "0.000000",
"balance": "47.319290",
"interest": "0.000000",
"customerId": 189,
"liabilities": "0.000000",
"currency": "USDT",
"activateStatus": 2,
"withdrawAmount": "0.000000",
"profit": "0",
"tradeType": 1,
"wholeWarehouseBalance": null,
"freeMargin": "0",
"margin": "0",
"firstWithdrawTime": null,
"activateTime": 1646123635934,
"frozen": "0.000000",
"wholeWarehouseRate": null,
"accountId": 1003496,
"openAccountStatus": true,
"companyId": 1,
"liabilitiesPrincipal": "0.000000",
"interestProportion": null,
"createTime": 1646123590664,
"lockAmount": "0.000000",
"marginRadio": null,
"notWithdrawAmount": "10000000.000000",
"availableLoan": null,
"digits": 6,
"customerNo": "86000188",
"status": 2,
"assetsId": 1
}
],
"bizCode": "C",
"tm": 18737968,
"msgParams": null,
"ok": true
}
Last updated