EXR Commercial Developer Documentation

EXR Commercial API Webhooks

Webhooks

Supported events (36):

Envelope

{ "id": "…", "type": "deal.created", "createdAt": "…", "apiVersion": "v1", "data": { "deal": { "…": "…" } } }

Delivery is attempted 4 times (immediate → +30 s → +2 min → +10 min), with a 10-second timeout per attempt. Any HTTP 2xx response acknowledges a delivery.

Signature verification

signedPayload = <t>.<rawBody>
v1            = HMAC-SHA256(signing_secret, signedPayload)  // hex
header        = X-EXR-Signature: t=<unix-ts>,v1=<hex>

Reject stale timestamps and compare the signature with a timing-safe comparison. Never put signing secrets in source control or browser code.