Skip to main content

Overview

Podium processes inbound webhooks from external services and uses a reliable async event system for internal event processing. All webhook endpoints are public (no API key required) but authenticated via service-specific signature verification.

External Webhooks

Stripe

Stripe webhooks handle payment lifecycle events. Each endpoint verifies the Stripe-Signature header against the configured webhook secret before processing.

Stripe Signature Verification

Every Stripe webhook validates the signature before processing. If verification fails, the endpoint returns 400.

Example Payload: payment_intent.succeeded

Shopify

Shopify sends webhooks to a single endpoint that dispatches based on the X-Shopify-Topic header: Shopify webhook verification uses HMAC-SHA256 with the app’s shared secret against the X-Shopify-Hmac-Sha256 header.

Shopify HMAC Verification

Privy

Privy sends blockchain transaction confirmations:

Task Verification (Oracle)

The verification oracle callback is used by external verification services:

Async Event System

Podium’s async event system provides at-least-once delivery with automatic retries and dead-letter queues. All event handlers verify a cryptographic signature before processing.

Event Types (25 Queues)

Commerce Events

Campaign Events

Reward & Points Events

User & Social Events

Product Events

Platform Events

Task Pool Events

Enrichment Events

Retry & Idempotency

The event system provides automatic retries with exponential backoff:
  • Max retries: 3 (configurable per queue)
  • Backoff: Exponential with jitter
  • Dead letter: Failed events after max retries are logged for manual review
The event system delivers at-least-once. Your handlers should be idempotent — processing the same event twice must produce the same result. Use database unique constraints and conditional updates to guard against duplicate processing.

Idempotency Patterns

Cron Jobs (8 Scheduled Tasks)

All cron jobs are triggered by scheduled messages to their respective webhook endpoints.

Webhook Security Summary

Endpoint Summary