Skip to main content
Cresora Commerce
Webhooks

Webhooks

Receive real-time event notifications for payment lifecycle changes.

Webhooks are the authoritative source for payment lifecycle state on the Cresora platform. Build your integration around webhook events rather than polling the API.

How Cresora delivers webhooks

  1. You register an HTTPS endpoint URL in the Partner Portal
  2. Cresora delivers a signed POST request for each event
  3. Your server verifies the HMAC-SHA256 signature
  4. Your server returns 2xx within 30 seconds
  5. Cresora retries on non-2xx responses with exponential backoff

Retry schedule

AttemptDelay
1st retry30 seconds
2nd retry5 minutes
3rd retry30 minutes
4th+Exponential backoff, max 12 hours
Window72 hours total

After 72 hours of failed delivery, the event is marked failed and a webhook.delivery_failed meta-event is sent to your notification email.

Warning

Reject deliveries with a timestamp older than 5 minutes — this protects against replay attacks. Check the X-Cresora-Timestamp header.

Webhook delivery stats

Cresora tracks delivery success rate per endpoint. If your endpoint's success rate drops below 80%, you'll receive a webhook.endpoint_degraded alert.

Topics in this section