理财资金记录查询
类型: GET
描述: /v4/finance/bills
查询用户的理财资金记录。
请求参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| type | string | 否 | 记录类型:SUBSCRIBE、REDEEM、INTEREST等 |
| currency | string | 否 | 币种 |
| startTime | long | 否 | 开始时间(毫秒时间戳) |
| endTime | long | 否 | 结束时间(毫秒时间戳) |
| page | integer | 否 | 页码 |
| size | integer | 否 | 每页数量 |
请求示例
Request
curl -G "https://sapi.xt.com/v4/finance/bills" \
-H "validate-appkey: $APPKEY" \
-H "validate-timestamp: $TIMESTAMP" \
-H "validate-signature: $SIGNATURE" \
-H "Content-Type: application/json" \
-d "type=SUBSCRIBE" \
-d "page=1" \
-d "size=10"
响应示例
Response
{
"rc": 0,
"mc": "SUCCESS",
"result": {
"hasPrev": false,
"hasNext": true,
"items": [
{
"orderId": "123456789",
"type": "SUBSCRIBE",
"productId": 1001,
"productType": "DEMAND_SAVING",
"amount": "1000.00",
"currency": "USDT",
"status": "SUCCESS",
"createTime": 1700000000000,
"completeTime": 1700000001000
}
]
}
}
响应字段
| 字段 | 类型 | 描述 |
|---|---|---|
| orderId | string | 订单ID |
| type | string | 记录类型 |
| productId | long | 产品ID |
| productType | string | 产品类型 |
| amount | string | 金额 |
| currency | string | 币种 |
| status | string | 状态 |
| createTime | long | 创建时间 |
| completeTime | long | 完成时间 |