Z Zise Developers 简体中文

Webhook delivery records (without payload)

GET /v1/webhooks/deliveries scope: merchant:read
Merchant account

The only entry point for diagnosing why an event was not received.

The most important status to recognize is no_subscriber: no matching endpoint was configured when the event occurred. This differs from delivery failure: configure an endpoint for the former, inspect your own service for the latter. Display unknown statuses unchanged, not as a default failure.

Payload is not returned because it may contain members' financial details, while this page is for troubleshooting. Use the relevant business query endpoint to read the content.

last_http_status is the HTTP status last returned by your endpoint, or 0 if no attempt has been made.

Query Parameters

FieldTypeRequiredDescription
status string Optional Filter by status: pending / sent / failed / dead / no_subscriber. Empty or omitted means all. An unknown value does not return an error; it returns an empty page.
limit integer Optional Defaults to 20, maximum 100.
cursor string Optional The previous page's next_cursor, an opaque string.

Response

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_scope: missing merchant:read.
Request
curl -X GET 'https://api.zinfra.vip/v1/webhooks/deliveries' \
  -H 'x-auth-token: Bearer $TOKEN'
const res = await fetch("https://api.zinfra.vip/v1/webhooks/deliveries", {
  method: "GET",
  headers: {
    "x-auth-token": "Bearer $TOKEN",
  },
});
// Keep monetary amounts as strings, never numbers.
const data = await res.json();
import requests

res = requests.get(
    "https://api.zinfra.vip/v1/webhooks/deliveries",
    headers={
        "x-auth-token": "Bearer $TOKEN",
    },
)
# Use Decimal(str(...)) for amounts, not float.
data = res.json()
req, _ := http.NewRequest("GET", "https://api.zinfra.vip/v1/webhooks/deliveries",
    nil)
req.Header.Set("x-auth-token", "Bearer $TOKEN")
res, err := http.DefaultClient.Do(req)
// Decode amount fields as string, not float64.
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://api.zinfra.vip/v1/webhooks/deliveries"))
    .header("x-auth-token", "Bearer $TOKEN")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
// Use String / BigDecimal for amounts, not double.
$ch = curl_init('https://api.zinfra.vip/v1/webhooks/deliveries');
curl_setopt_array($ch, [
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    'x-auth-token: Bearer $TOKEN',
  ],
]);
$res = curl_exec($ch);
// Use bcmath / strings for amounts, not 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
}