POST to your endpoint whenever something happens. Add endpoints in Dashboard > Webhooks, choose the events each one receives, and copy its signing secret.
The envelope
data is the full entity, not a diff, so you rarely need a follow-up fetch.
Headers
Verify every delivery
The scheme is Standard Webhooks, so any Standard Webhooks library works. The SDKs do it for you. Always verify the raw body before parsing, and reject timestamps more than 5 minutes from your clock.Retries and replay
Answer with a2xx within 8 seconds. Otherwise SleetPay retries after 15 seconds, 60 seconds and 5 minutes, then marks the delivery failed. Every attempt is visible in Webhooks > Deliveries with its status and payload.
To resend a past delivery, open it and press Replay. The replay uses the same payload and the same webhook-id with a fresh timestamp, so a receiver that de-duplicates treats it as the redelivery it is.
Handler checklist
- Verify the signature on the raw body.
- Return
200quickly; do slow work in a queue. - De-duplicate on
webhook-id(store processed ids). - Make handlers idempotent: events can arrive out of order, so read the current state when it matters.
Events
Payloads use snake_case JSON and mirror Polar’s shapes, so integrations written against Polar’s webhook events generally work unchanged.