获取资金账户账单流水
HTTP请求 获取资金账户账单流水
- POST
/api/v2/account/fundingBills
权重(IP): 5, 权重(UID): 5
请求参数
| 参数名 | 参数类型 | 是否必须 | 描述 |
|---|---|---|---|
| coinId | Integer | 否 | 币种ID |
| startTime | Long | 否 | 开始时间之后创建的流水 |
| endTime | Long | 否 | 结束时间之前创建的流水 |
| pageIndex | Integer | 否 | 所在页,默认1 |
| pageSize | Integer | 否 | 返回结果的数量,默认10,最大100 |
请求示例
curl -X POST "https://api-spot.weex.com/api/v2/account/fundingBills" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{"coinId": 1}'
返回参数
| 字段名 | 类型 | 字段说明 |
|---|---|---|
| total | Integer | 总条数 |
| page | Integer | 所在页 |
| pageSize | Integer | 页大小 |
| hasNextPage | Boolean | 是否有下一页 |
| >coinId | Integer | 币种ID |
| >coinName | String | 币种名称 |
| >bizType | String | 业务类型 deposit: 链上充值成功 buy_success: 买币成功 sell_cancel: 卖币取消 withdraw_freeze: 链上提币冻结 withdraw_complete: 链上提币完成 withdraw_failed: 链上提币失败 sell_freeze: 卖币冻结 sell_complete: 卖币完成 transfer_in: (现货/合约)账户划转到资金账户 transfer_out: 资金账户划转到(现货/合约)账户 internal_deposit: 内转充值成功 internal_withdraw: 内转提币成功 interest_receive: 持币生息(普通账户收息) wxt_retrieve: wxt锁仓资产(普通用户wxt资产取回) wxt_lock: wxt进行锁仓(用户资产从可用变成锁定) wxt_unlock: wxt解锁资产(用户资产从锁定变成可用) wxt_lock_reward: wxt发放锁仓(普通用户锁仓资产增加) c2c_buy: P2P 买入 c2c_sell: P2P 卖出 c2c_freeze: P2P 冻结 c2c_unfreeze: P2P 解冻 |
| >deltaAmount | String | 余额变动数量 |
| >afterAmount | String | 变动后的余额数量 |
| >fees | String | 手续费 |
| >cTime | String | 创建时间 |
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1759310301500,
"data": {
"total": 1,
"pageSize": 10,
"page": 1,
"hasNextPage": false,
"items": [
{
"billId": "59335865",
"coinId": 2,
"coinName": "USDT",
"bizType": "transfer_in",
"deltaAmount": "100.00000000",
"afterAmount": "100.19000000",
"fees": "0.00000000",
"cTime": "1759306073919"
}
]
}
}