Store checkout
hmac-sha256View events
Ingest endpoint
Requires X-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">. Timestamps older than 5 minutes are rejected. Send an Idempotency-Key header to control deduplication; otherwise the payload id (or a body hash) is used.
curl example
BODY='{"id":"evt_123","event":"order.paid"}'
TS=$(date +%s)
SIG=$(printf '%s' "$TS.$BODY" | openssl dgst -sha256 -hmac "$SECRET" -hex | sed 's/^.* //')
curl -X POST 'https://webhook-relay-gray.vercel.app/api/ingest/store-checkout' \
-H 'content-type: application/json' \
-H "x-signature: t=$TS,v1=$SIG" \
-d "$BODY"Settings
Secret: whse•••••••• (stored server-side, shown only once when generated)
Demo source: read-only in the sandbox (no delete, no secret rotation). Create your own source to get a secret you can sign with.