跳到主要内容

查询子账户累计充提

类型: GET

描述: /v4/user/account/broker-sub/fund-summary

使用经纪商母账户的 API Key 签名调用,查询经纪商自身母账户或名下某子账户的 lifetime 累计充提折 U。

参数​

名称类型是否必填默认值描述取值范围
uidlong是-查询目标:经纪商自身母账户 uid 或名下子账户 id-
detailboolean否false为 true 时响应追加 byCurrency 分币种明细true / false
统计口径
  • 充提均按成功(SUCCESS)记录统计。
  • 金额按记录时点价格折算为 USDT。
  • 子账户维度的「提现」为子账户向母账户划出(归集)的累计。

请求示例​

curl -X GET '{baseUrl}/v4/user/account/broker-sub/fund-summary?uid=10645823292041&detail=true' \
-H 'validate-algorithms: HmacSHA256' \
-H 'validate-appkey: {accessKey}' \
-H 'validate-recvwindow: 5000' \
-H 'validate-timestamp: {timestamp}' \
-H 'validate-signature: {signature}'

响应示例​

Response
{
"rc": 0,
"mc": "SUCCESS",
"result": {
"userId": 10645823292041,
"totalDepositU": "0",
"totalWithdrawU": "100",
"netInflowU": "-100",
"depositCount": 0,
"withdrawCount": 1,
"firstDepositTime": null,
"lastDepositTime": null,
"firstWithdrawTime": 1792144413000,
"lastWithdrawTime": 1792144413000,
"updatedTime": 1792149635806,
"byCurrency": [
{ "currency": "usdt", "depositAmount": "0", "withdrawAmount": "100" }
]
}
}

响应参数​

名称类型描述
userIdlong查询的账户 id
totalDepositUstring累计充值折 U
totalWithdrawUstring累计提现 / 划出折 U
netInflowUstring净流入折 U(充值 - 提现)
depositCountlong充值笔数
withdrawCountlong提现 / 划出笔数
firstDepositTime / lastDepositTimelong首次 / 最近充值时间(毫秒);无记录时为 null
firstWithdrawTime / lastWithdrawTimelong首次 / 最近提现时间(毫秒);无记录时为 null
updatedTimelong统计更新时间(毫秒)
byCurrency[].currencystring币种;仅 detail=true 时返回
byCurrency[].depositAmountstring充值量(原币种)
byCurrency[].withdrawAmountstring提现 / 划出量(原币种)