Developer guide · 4 min
Webhooks and background jobs
Webhook handlers should validate the event, update the smallest safe state and enqueue any later notification or reconciliation work.
Provider webhooks
Verify signatures before trusting a Stripe or payment-provider event. Match the event to a known payment reference and preserve idempotency.
BullMQ jobs
Queues handle existing requested payment reviews, renewal reminders and notices. Job recovery may republish persisted work; it must not create an unrequested charge or provider check.
