Acknowledging an event
An event is delivered when your endpoint answers ourPOST with any 2xx status within 25 seconds. Anything else is a failed attempt: a non-2xx status (including a 3xx redirect, which we do not follow), a timeout, a refused connection, or a DNS or TLS error.
- Answer quickly. Verify the signature, store or queue the event, answer
200, and do the work afterwards. - Answer non-2xx when you have not accepted the event, for example when the signature doesn’t verify. A
200is final: an event you answered 2xx is not sent again. See Answer honestly.
Retries
Retries are spaced out over a few minutes. If every attempt fails, the event is marked
failed. Resend it from the dashboard (Settings → Webhooks → the endpoint → events): Retry on one event, or Retry failed for every failed event on the endpoint.
Paused endpoints
Each event that exhausts its attempts counts as one failure against the endpoint. A successful delivery resets the count. When an endpoint reaches 5 failed events in a row and none of its deliveries has succeeded in the last 24 hours, we pause it:- Your business’s developers are emailed. Before that, while an endpoint keeps failing, they get at most one warning email a day.
- While paused, new events are recorded but not sent. They appear in the endpoint’s event history.
- A paused endpoint stays paused until you resume it. Fix your receiver, then set the endpoint back to active in the dashboard, or with
PATCH /v1/webhooks/{id}setting its status toactivefrom a signed-in dashboard session. - Events recorded while the endpoint was paused are not sent automatically when you resume. Resend them from the event history with Retry.
Coming soon: automatic recovery of paused endpoints (we retry the oldest waiting event on a schedule and resume the endpoint by ourselves when it succeeds), automatic redelivery of the backlog on resume, and extra status fields on
GET /v1/webhooks (paused_at, paused_reason, next_retry_at, pending_events, failed_events, last_success_at, last_failure_at). This page will say when they are live.Order and duplicates
- Events can arrive out of order, and a retried event can arrive after a newer one. Order by the payload’s own fields (
timestamp), not by arrival. - The same event can reach you twice, for example if your server did the work but timed out before answering. Make your receiver idempotent:
- for
checkout.paidandcheckout.failed, deduplicate ondata.checkout_id+event; - for other events, on the event name plus the payload’s own reference (
data.referenceordata.transaction_ref).
- for
- Partners on the version 2 envelope also get an
X-Platnova-Event-Idheader, unique per event, to deduplicate on.
Endpoint URLs
Use anhttps URL that is reachable from the public internet, and give us the final URL: redirects are not followed.
Coming soon: enforcement of
https and public-address-only endpoint URLs when an endpoint is saved and on every call.
