查询钱包流水列表
请求
GET https://custody-example-url/custody/v1/api/projects/{b_id}/integrated/flows
参数
字段 |
类型 |
描述 |
bId |
String |
业务线ID |
tx_types |
String[] |
流水类型 |
currency |
String |
币种名称 |
dw_type |
Integer |
流水出入账类型(1-入账 2-出账) |
create_time_start |
Long |
流水创建开始时间戳 |
create_time_end |
Long |
流水创建结束时间戳 |
offset |
Integer |
记录查询索引 |
limit |
Integer |
每页查询数量 |
响应
字段 |
类型 |
描述 |
serial_number |
String |
流水ID |
biz_serial_number |
String |
业务流水号 |
currency |
String |
币种名称 |
tx_type |
String |
流水类型(Recharge - 充值,Withdraw - 提现,TransferIn - 法币转入, TransferOut - 法币转出, TranSell - 交易卖出,TranBuy - 交易买入,InternalTransferIn - 内部转入,,FixedReservation - 定期理财买入,FixedPaidBack - 定期理财回款, FixedRefund - 定期理财买入失败退款,TxSettleIn - 交易待结算买入,TxSettleOut - 交易待结算卖出,Refund - 退款,Other - 其他) |
amount |
Integer |
金额 |
balance |
Integer |
钱包币种余额 |
fee |
Integer |
手续费 |
create_time |
Long |
流水创建时间 |
响应示例
{
"code": 0,
"message": "",
"data": {
"offset": 0,
"limit": 10,
"list": [
{
"serial_number": "string",
"biz_serial_number": "string",
"currency": "string",
"amount": 0,
"balance": 0,
"tx_type": "string",
"create_time": 1663686589484,
"fee": 0
}
],
"total": 0,
"metadata": null
},
"successful": true
}