Backend Webhook Handler

Standardized webhook receiver for the Persimmon stack — a Next.js Route Handler that reads the raw body, verifies the provider signature, enforces idempotency via a Prisma unique constraint, logs every event, and signals retry vs. permanent-failure with the right HTTP status. Use when receiving callbacks from Stripe, Twilio, shipping/inventory providers, or any external service. Covers raw-body access, signature verify, the WebhookEvent table, replay no-ops, and failure alerting. Trigger keywords: webhook, callback, signature verification, idempotency, Stripe events, raw body, route handler POST.

Persimmon-Automation-Labs Updated

File contents

Persimmon-Automation-Labs/persimmon-claude-skills/tree/main/skills/backend-webhook-handler commit 3091e5ef29

Frequently asked questions

npx skillmds@latest add persimmon-automation-labs/backend-webhook-handler