Z Zise Developers

Webhook 投递记录(不含 payload

GET /v1/webhooks/deliveries scope: merchant:read
商户自身

排查「我为什么没收到这个事件」的唯一入口。

status 里最该认得的是 no_subscriber:事件发生时你一个匹配的

端点都没配。它与「投递失败」是两回事 —— 前者要去配端点,

后者要去看你自己的服务。认不出的状态原样回显,别 default 成失败。

不下发 payload:它可能含会员的资金明细,而这一页是排查用的。

要看内容走对应的业务查询接口。

last_http_status 是你的端点上次回的 HTTP 码(从没投过时是 0)。

查询参数

字段类型必填说明
status string 可选 只看某一档(pending / sent / failed / dead / no_subscriber)。空串或省略 = 全部;填一个不存在的值 不会报错,只会返回空页。
limit integer 可选 缺省 20、上限 100
cursor string 可选 上一页的 next_cursor(不透明串)

响应

200OK
{
  "data": [
    {
      "id": "whd_7c31a0f2-58bd-4f0a-9a1e-0d2c6b4e7a55",
      "event_id": "evt_01J8Z6M2K9QF3H7V0",
      "event_type": "remittance.order.completed",
      "status": "dead",
      "attempts": 5,
      "last_http_status": 500,
      "next_attempt_at": "",
      "created_at": "2026-08-12T06:44:19.882Z"
    }
  ],
  "next_cursor": "MjAyNi0wOC0xMlQwNjo0NDoxOS44ODJafDdjMzFhMGYy",
  "has_more": true
}
403insufficient_scopemerchant:read
请求
curl -X GET 'https://api.zise.com/v1/webhooks/deliveries' \
  -H 'x-auth-token: Bearer $TOKEN'
const res = await fetch("https://api.zise.com/v1/webhooks/deliveries", {
  method: "GET",
  headers: {
    "x-auth-token": "Bearer $TOKEN",
  },
});
// 金额按字符串读,别让它变成 number
const data = await res.json();
import requests

res = requests.get(
    "https://api.zise.com/v1/webhooks/deliveries",
    headers={
        "x-auth-token": "Bearer $TOKEN",
    },
)
# 金额用 Decimal(str(...)),不要 float
data = res.json()
req, _ := http.NewRequest("GET", "https://api.zise.com/v1/webhooks/deliveries",
    nil)
req.Header.Set("x-auth-token", "Bearer $TOKEN")
res, err := http.DefaultClient.Do(req)
// 金额字段用 string 接,不要 float64
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://api.zise.com/v1/webhooks/deliveries"))
    .header("x-auth-token", "Bearer $TOKEN")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
// 金额字段用 String / BigDecimal,不要 double
$ch = curl_init('https://api.zise.com/v1/webhooks/deliveries');
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": "whd_7c31a0f2-58bd-4f0a-9a1e-0d2c6b4e7a55",
      "event_id": "evt_01J8Z6M2K9QF3H7V0",
      "event_type": "remittance.order.completed",
      "status": "dead",
      "attempts": 5,
      "last_http_status": 500,
      "next_attempt_at": "",
      "created_at": "2026-08-12T06:44:19.882Z"
    }
  ],
  "next_cursor": "MjAyNi0wOC0xMlQwNjo0NDoxOS44ODJafDdjMzFhMGYy",
  "has_more": true
}