checkout-com-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Checkout.com webhooks (checkout.com — the global payments processor: card acquiring, APMs, disputes, payouts, issuing). Use when setting up…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Checkout.com Webhooks
Checkout.com (checkout.com) is a global payments processor. It sends webhooks for payments, disputes, fraud, payouts, issuing and identity verification.
This skill targets the current ("NAS" / Workflows) platform — webhooks configured under Dashboard → Developers → Webhooks, or created as a
webhookaction onPOST https://{prefix}.api.checkout.com/workflows. See Legacy accounts if you are on the previous ("ABC") platform.Canonical docs: Receive webhooks and Configure your webhook server → Validate the payload.
Not Checkout Page (checkoutpage.com), not CheckoutJoy, not 2Checkout / Verifone, not Stripe Checkout, not Shopify checkout webhooks. 2Checkout (now Verifone) in particular is a different company with an entirely different INS/IPN scheme — none of this applies there.
When to Use This Skill
- How do I receive Checkout.com webhooks?
- How do I verify a Checkout.com webhook signature?
- Why is my
Cko-Signatureverification failing? - How do I handle
payment_approved,payment_capturedorpayment_declined? - How do I handle
dispute_receivedand the rest of the dispute lifecycle? - What is the
Authorizationheader Checkout.com sends on my webhooks? - Does Checkout.com send a handshake or challenge request?
- Why does
created_onsometimes not exist on a Checkout.com event?
Two Optional Mechanisms, One That Proves Integrity
Checkout.com configures two independent, optional verification mechanisms per webhook. Implement both; check whichever you have a value for.
| Cko-Signature — primary | Authorization — optional | |
|---|---|---|
| Header | Cko-Signature |
Authorization |
| What it is | HMAC-SHA256 of the raw body, hex (Base16) | The configured key sent verbatim |
| Proves | Sender identity and body integrity | Sender knows a shared secret. Nothing about the body. |
| Configured as | "signature key" (Dashboard) / actions[].signature.key (Workflows API) |
actions[].headers.Authorization |
| Env var here | CHECKOUT_WEBHOOK_SIGNATURE_KEY |
CHECKOUT_WEBHOOK_AUTHORIZATION_KEY |
Checkout.com, verbatim from Receive webhooks: "Checkout.com generates
the HMAC by hashing the webhook payload using the key you provide in your
workflow's webhook action, and then sends it in the hex-encoded (Base16)
Cko-Signature header."
The Authorization key is a static bearer secret, not a signature — treat
it as a complement to Cko-Signature, never a replacement. Checkout.com adds
no Bearer or Basic prefix: whatever you configured is what arrives.
Users can also add arbitrary extra static headers ("Add new header" in the Dashboard). Nothing in this skill depends on them.
Verification (core)
Reference: Configure your webhook server → Validate the payload.
const crypto = require('crypto');
// Cko-Signature is HMAC-SHA256 of the RAW body, HEX-encoded (Base16).
// The bare digest: NO `sha256=` prefix, NO `t=`/timestamp, NO version tag,
// exactly ONE signature.
function verifyCkoSignature(rawBody, signatureHeader, signatureKey) {
if (!signatureHeader || !signatureKey) return false; // fail closed
const expected = crypto
.createHmac('sha256', signatureKey) // key used AS-IS as UTF-8 — never hex/base64-decode it
.update(rawBody) // RAW bytes — never re-serialized JSON
.digest('hex');
const a = Buffer.from(signatureHeader.trim().toLowerCase(), 'utf8');
const b = Buffer.from(expected, 'utf8');
return a.length === b.length && crypto.timingSafeEqual(a, b); // length guard FIRST
}
// Optional second mechanism: the configured key arrives VERBATIM in
// Authorization (no "Bearer " prefix). Only enforced when you configured one.
function verifyAuthorizationKey(header, expectedKey) {
if (!expectedKey) return true; // not configured
const a = Buffer.from(String(header || ''), 'utf8');
const b = Buffer.from(expectedKey, 'utf8');
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Why manual HMAC and not an SDK
Checkout.com's official SDKs (checkout-sdk-node, checkout-sdk-python, …)
manage workflows — they create and update webhook actions — but none of
them ships a webhook-signature verification helper. There i
Установить checkout-com-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл checkout-com-webhooks?
Receive and verify Checkout.com webhooks (checkout.com — the global payments processor: card acquiring, APMs, disputes, payouts, issuing). Use when setting up a Checkout.com webhook handler, debugging Cko-Signature verification, or handling events like payment_approved, payment_captured, payment_declined, payment_refunded, dispute_received or fraud_reported. Checkout.com signs with HMAC-SHA256 over the RAW body, hex-encoded, in the Cko-Signature header, and can optionally send a static Authorization header key. Not Checkout Page (checkoutpage.com), not CheckoutJoy, not 2Checkout / Verifone, not Stripe Checkout, not Shopify checkout webhooks.
Как установить скилл checkout-com-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл checkout-com-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