Concepts
Webhooks
Receive HTTP callbacks when payment status changes.
Overview
Webhooks allow your backend to react to payment events in real time. When a charge is completed or expires, the processor sends an HTTP POST to your registered endpoint.
Registering a webhook
Payload format
Signature verification
If you provided a secret when registering, every webhook request includes an X-Webhook-Signature header containing an HMAC-SHA256 signature of the raw request body.
Verify it in your handler:
Retry behaviour
If your endpoint returns a non-2xx response or times out, the processor retries with exponential backoff. After several failed attempts the webhook delivery is marked as failed.
Your endpoint should respond within 5 seconds. For long-running tasks, acknowledge the webhook immediately and process it asynchronously.
Supported events
| Event | When |
|---|---|
charge.completed | Full USD amount received on-chain |
charge.expired | Charge TTL elapsed without full payment |