bridge-api-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Bridge API webhooks (bridgeapi.io — the open-banking aggregator, NOT bridge.xyz). Use when setting up Bridge API webhook handlers…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Bridge API Webhooks
Which Bridge? This skill is for Bridge API (
bridgeapi.io), the open-banking / account-aggregation platform by Bridge (the B2B sister brand of Bankin'). It is not bridge.xyz (the stablecoin/crypto payments company). See bridge-xyz-webhooks for that one.
When to Use This Skill
- How do I receive Bridge API webhooks?
- How do I verify the
BridgeApi-Signatureheader? - Why is my Bridge API webhook signature verification failing?
- How do I handle
item.refreshed,item.account.updated, orpayment.transaction.createdevents? - How do I support Bridge's signing-secret rotation (two active secrets)?
Verification (core)
Bridge signs the raw request body with HMAC-SHA256, keyed on the webhook's
signing secret, and sends the digest in the BridgeApi-Signature header as one
or more scheme-prefixed, comma-separated values — hex, uppercase:
BridgeApi-Signature: v1=E5637CDB...,v1=A1B2C3D4...
Only the v1 scheme is valid — ignore any other scheme to avoid downgrade
attacks. Multiple v1 values can appear during a secret rotation (the old
secret stays valid for 24h, up to 2 active signatures), so accept the webhook if
any v1 value matches. Compare timing-safe over the raw body.
Node:
const crypto = require('crypto');
function verifyBridgeWebhook(rawBody, signatureHeader, secret) {
if (!signatureHeader) return false;
const expected = crypto.createHmac('sha256', secret).update(rawBody).digest('hex');
// Keep only v1= signatures (ignore other schemes → no downgrade), strip the prefix
const signatures = signatureHeader.split(',')
.map((s) => s.trim())
.filter((s) => s.startsWith('v1='))
.map((s) => s.slice(3));
if (signatures.length === 0) return false;
// hex decode is case-insensitive, so Bridge's UPPERCASE hex compares cleanly
return signatures.some((sig) => {
try {
return crypto.timingSafeEqual(Buffer.from(sig, 'hex'), Buffer.from(expected, 'hex'));
} catch {
return false; // malformed / length mismatch
}
});
}
Python:
import hmac, hashlib
def verify_bridge_webhook(raw_body: bytes, signature_header: str, secret: str) -> bool:
if not signature_header:
return False
expected = hmac.new(secret.encode(), raw_body, hashlib.sha256).hexdigest()
signatures = [s.strip()[3:] for s in signature_header.split(",") if s.strip().startswith("v1=")]
# hex compare is case-insensitive → lowercase both sides before compare_digest
return any(hmac.compare_digest(sig.lower(), expected.lower()) for sig in signatures)
For complete handlers with route wiring, event dispatch, and tests, see:
Common Event Types
The event name is the type field in the JSON body (there is no event header).
Names are lowercase resource.action (except the dashboard test event).
| Event | Triggered When |
|---|---|
item.created |
A user starts adding a bank connection (item) in Bridge Connect |
item.refreshed |
An item was refreshed; carries status_code and refresh_trigger |
item.deleted |
An item is deleted |
item.account.created |
A new account is detected on an item |
item.account.updated |
An account's transactions, balance or data access changed |
item.account.deleted |
The bank no longer updates an account |
provider.created |
A new provider (bank) is added |
provider.updated |
A provider's details changed |
payment.transaction.created |
A payment transaction is created |
payment.transaction.updated |
A payment transaction is updated (e.g. its status) |
payment.link.updated |
A payment link is updated (e.g. its payment_link_status) |
user.deleted |
A user is deleted |
guidance.health.ready |
A guidance is generated (Guidance product) |
TEST_EVENT |
Sent by the dashboard's "Send a test" button |
For the full event reference, see Bridge API Webhooks docs.
Payload Structure
Bridge's item.created example (external_user_id is sent only when it isn't null):
{
"content": {
"item_id": 4568477,
"user_uuid": "766b2f5d-a942-492c-9ea7-2e5aa88cb672",
"external_user_id": "external-id"
},
"timestamp": 1612782588323,
"type": "item.created"
}
content fields vary by event. Expect webhooks for already-deleted users or
items — handle them defensively (a lookup miss is normal, not an error).
Important Headers
| Header | Description |
|---|---|
BridgeApi-Signature |
HMAC-SHA256 signatures, v1=<UPPERCASE_HEX> (comma-separated for rotation) |
Environment Variables
B
Установить bridge-api-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл bridge-api-webhooks?
Receive and verify Bridge API webhooks (bridgeapi.io — the open-banking aggregator, NOT bridge.xyz). Use when setting up Bridge API webhook handlers, debugging BridgeApi-Signature HMAC-SHA256 verification, or handling events like item.created, item.refreshed, item.account.updated, payment.transaction.created, or user.deleted.
Как установить скилл bridge-api-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bridge-api-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic