Failed Deliveries
What happens when webhook delivery fails and how to recover.
If Cresora cannot deliver a webhook within its retry window — 4 attempts over roughly 35 minutes, see Retry handling — the delivery is recorded EXHAUSTED and no further attempt is made.
How you find out
When a delivery is recorded EXHAUSTED, Cresora sends no webhook and no email. There is no webhook.delivery_failed webhook today: it is planned and nothing sends it, so there is nothing to subscribe to. A Webhook delivery failing notification appears under Notifications in your Partner Portal. A delivery that ends FAILED_PERMANENT, REJECTED_SSRF or SKIPPED_SUSPENDED raises no notification, and neither does Cresora suspending your endpoint (see below). While the endpoint is suspended, the notifications stop: if it is limited to specific merchants, its events are recorded SKIPPED_SUSPENDED; otherwise only the retries that were already pending are, and later events leave no record. You find what is recorded by inspecting the delivery log, and everything else by reconciling against the API every kind of object the endpoint subscribes to.
Build recovery on reconciliation, not on being notified. The retry window is ~35 minutes, so a deploy or outage longer than that exhausts the deliveries in that window, and sustained failures can get the endpoint suspended without notice. Before you fix or resume the endpoint, check its settings as When Cresora suspends an endpoint describes and, if it is suspended, ask support to resume it as that section describes. Then redeliver from the delivery log, within the hourly replay limit, and reconcile the rest against the API, from when deliveries started failing until they succeed again, including any time it is suspended again; ask support for anything the API cannot show.
What to do when a delivery fails
1. Check the delivery log
Partner Portal → Settings → Webhooks — open the endpoint's delivery log. It shows every delivery attempt, response status, and the full response body your endpoint returned.
Each attempt carries one of these statuses:
| Status | Meaning |
|---|---|
SUCCEEDED | Your endpoint returned 2xx |
FAILED_TRANSIENT | Failed, and a retry is scheduled |
FAILED_PERMANENT | Rejected with a status that is never retried (see the list below) |
EXHAUSTED | The retry ladder ran out. Cresora makes no further attempt, but you can still redeliver it while the endpoint is active (see step 3) |
SKIPPED_SUSPENDED | Not attempted, because the endpoint is suspended |
REJECTED_SSRF | The endpoint URL was re-validated at dispatch time and failed — for example it now resolves to a private address |
Common causes:
- Endpoint returned
5xxconsistently (server error in your handler) - Endpoint was unreachable (server down, DNS misconfigured)
- Handler took longer than 30 seconds to respond
- Handler answered
400,401,404,405,410or422— these are never retried, so the delivery failed on its first attempt
2. Fix your endpoint
Address the root cause — fix the bug, restore the server, or update the endpoint URL.
3. Replay the failed delivery
Once your endpoint is healthy, open the delivery log, find the failed event, and click
Redeliver. While Cresora is still retrying that event, the redelivery is refused with
409 webhook_redelivery_in_flight: wait until its retries have ended (see
Manual replay).
Replay is per-delivery — there is no bulk replay — and capped by default at 100 replays per endpoint per hour (429 with Retry-After beyond that). If Cresora has suspended the endpoint, redelivery to it is rejected until Cresora resumes it — see below.
4. Reconcile missed events
Reconciliation, not replay, is your safety net for anything older than the retry window. List the transactions created during the outage:
curl "https://api.sandbox.cresoracommerce.ai/api/v1/transactions?from=2026-05-29T00:00:00Z" \
-H "Authorization: Bearer csk_ab12cd34_xxxxxxxxxxxxxxxxxxxxxxxx"from is an inclusive ISO-8601 lower bound on created_at; add to to close the window. Results are cursor-paginated, newest first — follow the pagination cursor to walk the whole range. This finds only what was created in the window, so also re-read every object you hold that could still have changed, such as a transaction created earlier that may since have been captured, voided or refunded.
On this list projection amount is an integer in minor units (cents), unlike the decimal string used on the write surface.
Process each transaction you may have missed and update your system accordingly.
When Cresora suspends an endpoint
To stop retry storms against an endpoint that is clearly down, Cresora suspends delivery when both conditions hold over a 24-hour window:
- at least 50 delivery attempts, and
- a failure rate above 90%
A suspended endpoint stops receiving events, and replay to it is rejected.
Only Cresora can resume a suspended endpoint. Delivery does not restart on its own when your endpoint recovers, and neither the Partner Portal nor the API can resume it. Before you fix your endpoint, check under Settings → Webhooks that its URL, events and merchants are the ones you set, and have a Partner admin check Settings → Audit Log, with the entity type set to Webhook, for a change or signing-secret rotation nobody on your team made. If anything is not yours, follow Responding to a suspected compromise first. Once your endpoint is healthy, ask Cresora support to resume it, and recover what you missed as the callout at the top of this page describes. Resuming does not clear the last 24 hours: while the endpoint still meets both conditions above, Cresora suspends it again within minutes. Successful redeliveries count toward its success rate, so redeliver as soon as it is resumed. Then check its state at least 10 minutes after your last redelivery, and again every few hours until the failures that caused the suspension are more than 24 hours old; each time it was suspended again, ask support again. Suspension does not send you a webhook either, so check the endpoint's state as part of your incident recovery.