GET
/v1/earn/orders
定期订单列表(利率是下单那一刻的快照)
Scope
earn:read
代会员调用 · 必带 x-on-behalf-of
只有定期。 活期是余额包(一产品一行,不按笔),走
GET /v1/earn/positions。
apr_bps 是下单那一刻的快照,不是产品此刻的挂牌值 ——
改挂牌价不影响存量订单。拿它去和产品清单里的 apr_bps 比对会在
每次调价之后都「对不上」,那不是漂移。
起息与到期是左闭右开:value_date(含)→ maturity_date(不含)。
⚠ principal 与 settled_interest 是定点十进制串(位数 =
同行的 ledger_scale),而 GET /v1/earn/positions 的 principal
是最小单位整数串。同一张订单在两个端点上金额形态不同。
查询参数
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
limit |
integer | 可选 | 缺省 20,上限 100。 |
cursor |
string | 可选 | 上一页的 next_cursor,不透明串。 |
请求头
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
x-on-behalf-of |
string | 必填 | 看谁的定期订单。 |
响应
200
status 取值:pending_start / starting / accruing /
pending_settle / settling / settled / closed。
认不出的原样露出,绝不 default。
rollover_mode 取值:none / principal / principal_interest。{
"data": [
{
"id": "ero_c41d7f92-8a03-4bb6-9e10-5f2c8d3a7061",
"product_id": "ern_7d2b48ae-19c3-4f60-8c55-0ab3e9f21744",
"status": "accruing",
"asset": "USDT",
"ledger_scale": 6,
"principal": "1000.000000",
"settled_interest": "0.000000",
"apr_bps": 620,
"term_days": 90,
"rollover_mode": "principal_interest",
"value_date": "2026-08-13",
"maturity_date": "2026-11-11",
"created_at": "2026-08-12T09:30:00Z"
}
],
"next_cursor": null,
"has_more": false
}400
member_context_required · member_not_found403
insufficient_scope
调用样例
curl -X GET 'https://api.zise.com/v1/earn/orders' \
-H 'authorization: Bearer $TOKEN' \
-H 'x-zise-merchant: $MERCHANT_ID' \
-H 'x-on-behalf-of: $MEMBER_ID'
const res = await fetch(
"https://api.zise.com/v1/earn/orders",
{
method: "GET",
headers: {
"authorization": "Bearer $TOKEN",
"x-zise-merchant": "MERCHANT_ID",
"x-on-behalf-of": "MEMBER_ID"
},
},
);
// 金额一律按字符串读,不要 JSON.parse 成 number
const data = await res.json();
import requests
res = requests.get(
"https://api.zise.com/v1/earn/orders",
headers={
"authorization": "Bearer $TOKEN",
"x-zise-merchant": "$MERCHANT_ID",
"x-on-behalf-of": "$MEMBER_ID"
},
)
# 金额用 Decimal(str(...)),不要 float
data = res.json()