获取现金宝历史订单
获取现金宝历史订单
描述
使用游标分页查询现金宝历史记录。
HTTP请求
- GET /api/v3/earn/cashplus/history-orders
- 限频: 10次/s
- 权限:
- 统一账户管理 - 只读
请求示例
curl "https://api.bitget.com/api/v3/earn/cashplus/history-orders?startTime=1789000000000&endTime=1789368447497&recordType=subscribe&limit=20" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"
请求参数
| 参数名 | 参数类型 | 是否必须 | 描述 |
|---|---|---|---|
| startTime | String | 否 | 查询起始时间,Unix 毫秒时间戳 |
| endTime | String | 否 | 查询结束时间,Unix 毫秒时间戳 |
| recordType | String | 否 | 记录类型:subscribe 申购redeem 赎回compound_interest 复利收益liquidation_redeem 清算赎回 |
| limit | String | 否 | 每页条目数。 默认 20,最大 100 |
| cursor | String | 否 | 游标ID。 传入上一页返回的 nextCursor 用于翻页。首页不传 |
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1789368447497,
"data": {
"items": [
{
"recordId": "1483284264811290624",
"recordType": "subscribe",
"status": "success",
"amount": "100",
"coin": "USDT",
"createdTime": 1789368447497,
"accountType": "funding"
}
],
"nextCursor": "1483284264811290623"
}
}
返回参数
| 返回字段 | 参数类型 | 字段说明 |
|---|---|---|
| items | List<Object> | 记录列表 |
| > recordId | String | 记录ID |
| > recordType | String | 记录类型。subscribe 申购redeem 赎回compound_interest 复利收益liquidation_redeem 清算赎回 |
| > status | String | 记录状态。processing 进行中success 成功failed 失败 |
| > amount | String | 变动数量 |
| > coin | String | 币种名称 |
| > createdTime | Long | 记录创建时间,Unix 毫秒时间戳 |
| > accountType | String | 账户类型。funding 资金账户uta 统一账户otc OTC账户类型为转入时,对应支出账户 类型为利息或转出时,对应到账账户 |
| nextCursor | String | 下一页游标ID |