预付充值单(链上到账 + 线下结算两条腿)
商户自身
channel 两档,它们是两条完全不同的路:
chain—— 打到我方给你分配的收款地址(见
GET /v1/merchant/deposit-addresses)。到账是外部事实,
我方自动落单、自动入账,你不需要为它申报任何东西。
fiat—— 银行汇款。人照着回单录数,走我方双人审批才入账,
时延是小时到天 —— 这一档正是最需要你程序化轮询的那一段。
status 五档:pending(待处理)· confirming(链上看得见、
还没到确认数,不占余额)· approving(人工审批中)·
credited(已入账)· rejected。
认不出的原样回显,不要 default。
⚠ amount_text 是申报/识别到的金额,不是入账金额。 真正入账的
是我方确认到账的那一笔。想知道到底进了多少,看
GET /v1/merchant/balances —— 那才是账本事实。
tx_hash 只有链上那一档有,你可以拿去自己上链核对。
note 里可能带我方或你自己写的说明(线下申报的回单号也在里面,
见 POST 那一条)。
keyset 游标,按 (created_at, id) 严格递减。
查询参数
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
limit |
integer | 可选 | 缺省 20、上限 100 |
cursor |
string | 可选 | 上一页的 next_cursor(不透明串) |
响应
200OK
{
"data": [
{
"id": "5d2c8a41-3f6b-4e0a-9c77-1b8e0d4f2a56",
"asset": "USDT",
"channel": "fiat",
"amount_text": "50000.00",
"status": "approving",
"note": "回单号:TT20260813001 | 8 月备付金",
"tx_hash": "",
"created_at": "2026-08-13T01:02:03.400Z",
"updated_at": "2026-08-13T01:40:12.880Z"
}
],
"next_cursor": null,
"has_more": false
}403
insufficient_scope 缺 merchant:read请求
curl -X GET 'https://api.zise.com/v1/merchant/topups' \
-H 'x-auth-token: Bearer $TOKEN'const res = await fetch("https://api.zise.com/v1/merchant/topups", {
method: "GET",
headers: {
"x-auth-token": "Bearer $TOKEN",
},
});
// 金额按字符串读,别让它变成 number
const data = await res.json();import requests
res = requests.get(
"https://api.zise.com/v1/merchant/topups",
headers={
"x-auth-token": "Bearer $TOKEN",
},
)
# 金额用 Decimal(str(...)),不要 float
data = res.json()req, _ := http.NewRequest("GET", "https://api.zise.com/v1/merchant/topups",
nil)
req.Header.Set("x-auth-token", "Bearer $TOKEN")
res, err := http.DefaultClient.Do(req)
// 金额字段用 string 接,不要 float64HttpRequest req = HttpRequest.newBuilder()
.uri(URI.create("https://api.zise.com/v1/merchant/topups"))
.header("x-auth-token", "Bearer $TOKEN")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
// 金额字段用 String / BigDecimal,不要 double$ch = curl_init('https://api.zise.com/v1/merchant/topups');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'x-auth-token: Bearer $TOKEN',
],
]);
$res = curl_exec($ch);
// 金额用 bcmath / 字符串,不要 floatval
200
{
"data": [
{
"id": "5d2c8a41-3f6b-4e0a-9c77-1b8e0d4f2a56",
"asset": "USDT",
"channel": "fiat",
"amount_text": "50000.00",
"status": "approving",
"note": "回单号:TT20260813001 | 8 月备付金",
"tx_hash": "",
"created_at": "2026-08-13T01:02:03.400Z",
"updated_at": "2026-08-13T01:40:12.880Z"
}
],
"next_cursor": null,
"has_more": false
}