@gebarbilling/webhooks
v0.1.2
Published
Webhook verification, parsing, and routing for GebarBilling billing.
Downloads
121
Readme
@gebarbilling/webhooks
Webhook verification, parsing, routing, and adapters for GEBARBILLING.
Install
pnpm add @gebarbilling/webhooksQuickstart
import { handleWebhook } from "@gebarbilling/webhooks";
await handleWebhook(rawBody, {
secret: process.env.GEBARBILLING_WEBHOOK_SECRET!,
signature
}, async (event) => {
// update your system
});API Summary
verifySignature, verifyWebhookPayload, parseEvent, parseWebhookEvent, createWebhookRouter, framework adapters, and deduplication interfaces.
