Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

zift-webhooks

БесплатноЗапускает вложенные скриптыНе проверен

Receive and acknowledge Zift (Zift Payments / payment gateway) webhook notifications. Use when setting up a Zift webhook receiver, understanding why there is…

hookdeckот hookdeck★ 104 звезды на GitHub

Об этом скилле

Zift Webhooks

Zift (a payments platform / gateway) delivers notifications — billing and processing events — to an HTTPS endpoint you register with Zift support. Each delivery is a plain HTTPS POST with a JSON body. There is no signature, no HMAC, and no auth header on the delivery. Instead, your endpoint proves it received the notification by echoing the notificationId back in the response body — that response is the acknowledgement, and skipping it triggers retries.

When to Use This Skill

  • How do I receive Zift webhook notifications?
  • How do I acknowledge a Zift webhook (the {"notificationId": ...} response)?
  • Why is there no X-Zift-Signature / HMAC header to verify?
  • How do I secure a Zift webhook endpoint with no signature?
  • How do I handle Zift billing.* and processing.* events (chargeback, return, NOC)?
  • Why does Zift keep retrying / marking my webhook Failed?

Verification & Acknowledgement (core)

There is NO per-message signature/HMAC header on Zift notifications. Do not look for X-Zift-Signature, webhook-signature, or any Standard Webhooks header — none exists, and Zift sends no Basic/token auth on delivery either. Authenticity relies on the transport and endpoint secrecy:

  1. HTTPS only — publish the endpoint over TLS so the body can't be read or tampered with in transit.
  2. Endpoint-URL secrecy — treat the path as a shared secret; use a long, unguessable path.
  3. IP allowlisting (recommended) — restrict inbound to Zift's egress ranges at your load balancer / firewall (confirm ranges with Zift support).

Because there is no body signature, ordinary JSON parsing is fine — the raw bytes are not security-critical (unlike HMAC providers).

The critical part is the acknowledgement. To ACK a delivery your endpoint MUST return a JSON body echoing the received notificationId (Zift accepts an int or a string; Zift's release 9.2.3 notes show both). Anything else — 200 OK, an empty body, {"received":true} — is not an acknowledgement and triggers Zift's retry schedule.

// Zift acknowledgement: echo the received notificationId back, preserving its
// type (Zift accepts int or string). This response body IS the ACK — returning
// "OK" or {} instead causes Zift to retry (+5m, +15m, +60m, +24h, then Failed).
function ackBody(payload) {
  return { notificationId: payload.notificationId };
}

// Dispatch on the eventCode prefix: "billing.*" or "processing.*".
function eventCategory(eventCode) {
  if (typeof eventCode !== 'string') return 'unknown';
  const category = eventCode.split('.')[0];
  return category === 'billing' || category === 'processing' ? category : 'unknown';
}

For complete handlers with route wiring, event dispatch, and tests, see:

Payload Structure

Every notification shares the same envelope:

{
  "notificationId": 81104,
  "eventCode": "billing.transaction-created",
  "eventDate": 1685741738000,
  "dataType": "object",
  "data": {
    "objectType": "payment",
    "accountId": 7128001,
    "customerId": 189924,
    "customerCode": "189924",
    "id": 1824364,
    "code": "1824364",
    "type": "RI"
  }
}

That is Zift's documented Billing Notifications sample. Processing notifications use "dataType": "transaction" and carry transactionId, originalTransactionId, amount (in cents), responseCode and ACH update fields in data.

Field Type Meaning
notificationId int or string Unique delivery id — echo this back to ACK
eventCode string Dotted event name, e.g. billing.subscription-created
eventDate number Event time in epoch milliseconds
dataType string Describes the shape of data: object (billing) or transaction (processing)
data object Event-specific payload

Common Event Types

Events are grouped by the eventCode prefix. Zift prints only these eventCode values; it doesn't publish which code each setup trigger sends, so dispatch on the billing / processing prefix and log codes you haven't seen.

eventCode Category Where Zift prints it
billing.subscription-created billing Example value in the Billing Webhook Fields table
billing.transaction-created billing Billing Notifications sample payload
processing.return-processed processing Processing Notifications sample payload (an ACH return)

The setup trigger names (subscription~create, payment-option~create, allocation~create, payment~process, chargeback, return, reversal, NOC) never appear in the body. Note the return sample: the return trigger delivers processing.return-processed, not processing.return.

See references/overview.md for the se

Полный SKILL.md на GitHub

Установить zift-webhooks в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/express/.env.exampleexamples/express/README.mdexamples/express/package.jsonexamples/express/src/index.jsexamples/fastapi/.env.exampleexamples/fastapi/README.mdexamples/fastapi/main.pyexamples/fastapi/requirements.txtexamples/fastapi/test_webhook.pyexamples/nextjs/.env.exampleexamples/nextjs/README.mdexamples/nextjs/app/webhooks/zift/route.tsexamples/nextjs/package.jsonexamples/nextjs/vitest.config.tsreferences/overview.mdreferences/setup.mdreferences/verification.md

FAQ

Что делает скилл zift-webhooks?

Receive and acknowledge Zift (Zift Payments / payment gateway) webhook notifications. Use when setting up a Zift webhook receiver, understanding why there is no signature/HMAC header to verify, returning the required {"notificationId": ...} acknowledgement, or handling billing and processing events like billing.transaction-created and processing.return-processed.

Как установить скилл zift-webhooks?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл zift-webhooks запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить zift-webhooks с