Skip to main content
StablePay sends webhooks to notify you of events in real-time.

Setup

  1. Configure your webhook URL in the Dashboard
  2. Set a webhook secret for signature verification
  3. Ensure your endpoint returns 200 OK quickly

Webhook Format

All webhooks follow this structure:

Payout Completed Example

Event Types

User Events

Transaction Events

Signature Verification

Verify webhook signatures to ensure authenticity:

Retry Policy

If your endpoint doesn’t return 200-299: After 5 failures, the webhook is marked as failed.

Manual Retry

Retry failed webhooks via API:

Best Practices

Return 200 immediately, then process async. We timeout after 30 seconds.
Webhooks may be delivered multiple times. Use eventId for deduplication.
Always verify webhook signatures in production.
Log webhook payloads for debugging and audit trails.

Testing Webhooks

Use the Dashboard to send test webhooks to your endpoint.