ryft-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Ryft webhooks. Use when configuring Ryft webhook endpoints, debugging Signature header verification, or handling PaymentSession.captured…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Ryft Webhooks
Receive Ryft payment-session, payout and account notifications.
When to Use This Skill
- Configure a receiver for Ryft webhook deliveries.
- Diagnose
signatureverification failures. - Handle
PaymentSession.captured,Payout.created,Account.updated.
Setup
Use the Ryft Portal profile menu > Developer > Webhooks, or the Webhook API, to register the endpoint. POST /webhooks returns the endpoint's secret only when the endpoint is created, so store it then.
Set RYFT_WEBHOOK_SECRET in the server environment. Read setup before enabling delivery.
Verification (core)
signature contains a bare hex digest over the raw body. Use HMAC-SHA256 with the secret's UTF-8 bytes. Verify the original bytes before parsing JSON. Validate the digest format, then compare equal-length buffers in constant time.
After extracting the documented digest and constructing message as described in verification, the comparison is:
const expected = crypto.createHmac('sha256', secret).update(message).digest();
if (digest.length !== 64 || !/^[0-9a-fA-F]{64}$/.test(digest)) return false;
const received = Buffer.from(digest, 'hex');
return received.length === expected.length && crypto.timingSafeEqual(received, expected);
No timestamp is included in the signed message. These examples do not invent an age check from unsigned fields.
Complete handlers and tests: Express, Next.js, FastAPI.
Event Handling
Read eventType from the envelope; data contains the affected resource. Verify the generic Signature header as a bare hex digest. The guide names HMAC-SHA256; Ryft's .NET SDK supplies the hex encoding detail. Its ASCII secret encoding agrees with UTF-8 for the supplied ASCII secrets.
Return 200 within 1.5 seconds. Ryft documents six attempts, separated by delays of 0, 1, 5, 10, 10 and 10 minutes. Queue durable work before acknowledging.
Local Development
npx hookdeck-cli listen 3000 ryft --path /webhooks/ryft
Use port 8000 for FastAPI. The CLI provides a local tunnel and inspection UI; no account is required to start.
Resources
Recommended: webhook-handler-patterns
Use the patterns skill for handler sequence, idempotency, error handling and retry logic.
Related Skills
- stripe-webhooks: another HMAC receiver.
- github-webhooks: another HMAC receiver.
- shopify-webhooks: another HMAC receiver.
- gitbook-webhooks: another HMAC receiver.
- preczn-webhooks: another HMAC receiver.
- webhook-handler-patterns: delivery and processing patterns.
- hookdeck-event-gateway: managed delivery and inspection.
Установить ryft-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ryft-webhooks?
Receive and verify Ryft webhooks. Use when configuring Ryft webhook endpoints, debugging Signature header verification, or handling PaymentSession.captured, Payout.created, Account.updated.
Как установить скилл ryft-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ryft-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