Webhooks
Overview
Creating Webhooks
Via API
const webhook = await client.webhooks.create({
url: 'https://api.yourcompany.com/webhooks/clawpay',
events: [
'transaction.created',
'transaction.completed',
'authorization.required',
'card.declined'
],
secret: 'whsec_your_secret_key'
});Via Dashboard
Event Types
Transaction Events
Event
Description
Card Events
Event
Description
Authorization Events
Event
Description
Vault Events
Event
Description
Transfer Events
Event
Description
Webhook Payload
Verifying Signatures
TypeScript/Node.js
Using SDK
Python
Go
Best Practices
1. Respond Quickly
2. Handle Idempotency
3. Use HTTPS
4. Monitor Webhook Health
Retry Logic
Testing Webhooks
Test Events
Local Development
Webhook Inspector
Example Integrations
Slack Notifications
Database Sync
Email Alerts
Webhook Security
IP Allowlist
Rate Limiting
Timeout
Disabling Webhooks
Webhook Limits
Plan
Max Webhooks
Max Retries
Retention
Next Steps
Last updated
