划转历史查询
划转历史查询
查询划转历史记录。按 type 筛选,不传返回全部类型。整合 UID 间划转历史和子母账号划转记录接口。
请求地址
GET /deepcoin/v2/asset/transfer-history
请求参数(Query String)
| 字段名 | 是否必填 | 类型 | 字段描述 |
|---|---|---|---|
| type | 否 | string | 划转类型:uid / subaccount,不传返回全部 |
| ccy | 否 | string | 币种 |
| status | 否 | string | 划转状态 |
| transferId | 否 | string | 划转 ID |
| receiverAccount | 否 | string | 收款账户 |
| receiverAccountType | 否 | string | 收款账户类型 |
| from | 否 | string | 转出 UID |
| to | 否 | string | 转入 UID |
| fromAcctType | 否 | string | 转出账户类型 |
| toAcctType | 否 | string | 转入账户类型 |
| relationType | 否 | string | 子母账号关系类型:1=主→子 2=子→主 3=子→子 |
| startTime | 否 | int64 | 开始时间戳(毫秒) |
| endTime | 否 | int64 | 结束时间戳(毫秒) |
| page | 否 | int | 页码,默认 1 |
| limit | 否 | int | 每页数量,默认 20 |
请求示例
// 查 UID 间划转
GET /deepcoin/v2/asset/transfer-history?type=uid&ccy=USDT&transferId=40ce50f2-a96d-4efc-8168-148fd82df25f&page=1&limit=20
// 查全部
GET /deepcoin/v2/asset/transfer-history?ccy=USDT&page=1&limit=20
响应参数
| 字段名 | 类型 | 字段描述 |
|---|---|---|
| data | array | 划转记录列表 |
| count | int | 总数 |
| page | int | 当前页码 |
| limit | int | 每页数量 |
data[] 每项:
| 字段名 | 类型 | 字段描述 |
|---|---|---|
| transferId | string | 划转 ID |
| type | string | 划转类型:uid / subaccount |
| ccy | string | 币种 |
| amt | string | 金额 |
| status | string | 划转状态 |
| from | string | 转出 UID |
| to | string | 转入 UID |
| fromAcctType | string | 转出账户类型 |
| toAcctType | string | 转入账户类型 |
| receiverAccount | string | 收款账户 |
| receiverAccountType | string | 收款账户类型 |
| transferWay | string | 划转方式 |
| parentUid | string | 母账号 UID |
| requestIdOut | string | 划出请求 ID |
| requestIdIn | string | 划入请求 ID |
| asusdt | string | 折合 USDT 金额 |
| fromAccount | string | 转出账户名称 |
| toAccount | string | 转入账户名称 |
| cTime | string | 创建时间 |
| uTime | string | 更新时间 |
响应示例
{
"data": [
{
"transferId": "40ce50f2-a96d-4efc-8168-148fd82df25f",
"type": "uid",
"ccy": "USDT",
"amt": "100",
"status": "2",
"to": "36023127",
"receiverAccount": "user@example.com",
"receiverAccountType": "email",
"transferWay": "1",
"cTime": "1739263130",
"uTime": "1739263131"
},
{
"transferId": "12345",
"type": "subaccount",
"ccy": "USDT",
"amt": "50",
"status": "1",
"from": "36023126",
"to": "36023128",
"fromAcctType": "7",
"toAcctType": "1",
"parentUid": "36023126",
"requestIdOut": "req_out_001",
"requestIdIn": "req_in_001",
"asusdt": "50.00",
"fromAccount": "正向合约账户",
"toAccount": "现货账户",
"cTime": "1739263130000",
"uTime": "1739263135000"
}
],
"count": 2,
"page": 1,
"limit": 20
}