increase-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Increase webhooks. Use when setting up Increase Event Subscription handlers, debugging webhook-signature verification failures (the…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Increase Webhooks
When to Use This Skill
- How do I receive Increase webhooks?
- How do I verify the
webhook-signatureheader from Increase? - Why does the
standardwebhookslibrary fail on my Increase webhooks? - How do I handle
transaction.created,account.created,ach_transfer.updated, orcard_payment.createdevents? - Why is my Increase webhook signature verification failing?
Essential Code (USE THIS)
Increase uses the Standard Webhooks header names and signed content, but not the key format. The Event Subscription's shared_secret (1-100 characters, random by default) is the HMAC key as raw UTF-8 bytes. It is not whsec_-prefixed and not base64. The standardwebhooks library base64-decodes a string key, so it rejects valid Increase webhooks when given the secret as-is. Verify manually, as below, or use Increase's own SDKs: client.events.unwrap(body, { headers }) in increase-typescript and client.events.unwrap(payload, headers=headers) in increase-python wrap the key correctly before calling the Standard Webhooks library.
| Header | Description |
|---|---|
webhook-id |
The Event ID, e.g. event_123abc (use it as an idempotency key) |
webhook-timestamp |
Unix seconds when the webhook was sent |
webhook-signature |
v1,<base64>; several space-separated values while a secret is rotating |
Signed content is <webhook-id>.<webhook-timestamp>.<raw body>, HMAC-SHA256, base64, prefixed with v1,.
Verification (Node.js)
const crypto = require('crypto');
// rawBody: Buffer of the exact request bytes (express.raw({ type: '*/*' }), not express.json)
function verifyIncrease(rawBody, headers, secret) {
const id = headers['webhook-id'];
const timestamp = headers['webhook-timestamp'];
const header = headers['webhook-signature'];
if (!secret || !id || !timestamp || !header) return false;
// secret is used as-is: raw UTF-8 bytes, no base64 decoding
const expected = 'v1,' + crypto.createHmac('sha256', secret)
.update(`${id}.${timestamp}.`).update(rawBody).digest('base64');
return header.split(' ').some((sig) => {
const a = Buffer.from(sig), b = Buffer.from(expected);
return a.length === b.length && crypto.timingSafeEqual(a, b);
});
}
Verification (Python)
import base64, hashlib, hmac
def verify_increase(raw_body: bytes, headers, secret: str) -> bool:
wid, ts, header = (headers.get(h) for h in ("webhook-id", "webhook-timestamp", "webhook-signature"))
if not (secret and wid and ts and header):
return False
digest = hmac.new(secret.encode(), f"{wid}.{ts}.".encode() + raw_body, hashlib.sha256).digest()
expected = "v1," + base64.b64encode(digest).decode()
return any(hmac.compare_digest(s.encode(), expected.encode()) for s in header.split(" "))
Timestamp window (opt-in)
Increase suggests rejecting timestamps more than 5 minutes old. Hookdeck retries and replays resend the original timestamp, so a 5-minute window rejects late retries. The examples therefore leave the check off unless INCREASE_TIMESTAMP_TOLERANCE_SECONDS is set to a positive number. references/verification.md shows where the window can be dropped or widened. Duplicate deliveries are handled by deduplicating on webhook-id.
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Common Event Types
The payload is a thin Event: {id, category, associated_object_type, associated_object_id, created_at, type: "event"}. Dispatch on category, then GET the object from the Increase API for its fields.
| Category | Description |
|---|---|
transaction.created |
A settled Transaction was created on an Account |
pending_transaction.created |
A Pending Transaction (a hold) was created |
account.created |
An Account was created |
ach_transfer.created |
An ACH Transfer was created |
ach_transfer.updated |
An ACH Transfer changed status (submitted, returned, ...) |
card_payment.created |
A Card Payment started (authorization) |
inbound_ach_transfer.created |
An ACH debit or credit arrived |
wire_transfer.updated |
A Wire Transfer changed status |
Increase has more than 120 categories. Most are <object>.created or <object>.updated, but some are not (oauth_connection.deactivated, group.heartbeat, real_time_decision.card_authorization_requested and the other real_time_decision.*_requested categories), and Increase may add more, so ignore unknown ones gracefully. See references/overview.md and the Events API.
Environment Variables
INC
Установить increase-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл increase-webhooks?
Receive and verify Increase webhooks. Use when setting up Increase Event Subscription handlers, debugging webhook-signature verification failures (the shared_secret is a raw key, not whsec_), or handling banking events like transaction.created, account.created, ach_transfer.updated, or card_payment.created.
Как установить скилл increase-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл increase-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic