Event types
Billing and marketplace events apply only when enabled on a deployment. Both features are disabled on the current testnet setup.
This table lists the supported subscriptions. For other contract events, including payment, text, fee and renewal events, use the event archive.
Delivery format
Each delivery is aPOST with a JSON body:
id. For a given subscription and on-chain event, the ID stays the same even after an indexer replay.
Verify the signature
Yourwhsec_… signing secret is shown once and cannot be retrieved later. Keep it on your backend. Verify each request before processing it:
Rotating the secret
Rotate a lost or exposed secret in Developer tools. Save the new secret when it is shown. In-flight requests may still carry the old signature, so account for that overlap and continue deduplicating by delivery ID. Authorized owners and admins can rotate secrets even when billing restricts new webhook creation.Retries and timeouts
- Return a 2xx within 8 seconds. Other responses and timeouts count as failures.
- Failed requests get up to 6 attempts total, with retry backoff of approximately 2, 4, 8, 16 and 32 seconds. Scheduling and request time affect the actual intervals.
- Deliveries run asynchronously and concurrently. Do not depend on arrival order.
- Completed or failed delivery records are pruned after about two weeks. Use the event archive and its coverage to reconcile missed events.
200 promptly. Process the event outside the request handler.
When billing is enabled on a deployment, creating a webhook requires an active subscription. Existing webhooks keep delivering, and signing-secret rotation stays available.