跳到主要内容

理财资金记录查询

类型: GET

描述: /v4/finance/bills

查询用户的理财资金记录。

请求参数

名称类型必填描述
typestring记录类型:SUBSCRIBE、REDEEM、INTEREST等
currencystring币种
startTimelong开始时间(毫秒时间戳)
endTimelong结束时间(毫秒时间戳)
pageinteger页码
sizeinteger每页数量

请求示例

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
}
]
}
}

响应字段

字段类型描述
orderIdstring订单ID
typestring记录类型
productIdlong产品ID
productTypestring产品类型
amountstring金额
currencystring币种
statusstring状态
createTimelong创建时间
completeTimelong完成时间