Receive real-time notifications when events occur in your Paygentic account
Enable Webhooks
Configure Your Endpoint
https://your-domain.com/webhooks/paygentic
)Verify and Process Events
svix-id
to handle duplicate events (idempotency)svix-id
: Unique identifier for the webhook message (use for idempotency)svix-timestamp
: Unix timestamp when the webhook was sentsvix-signature
: Base64 encoded signature(s) for verificationsvix-timestamp
header protects against replay attacks. The Svix library automatically rejects webhooks with timestamps more than 5 minutes old (past or future). Ensure your server’s clock is synchronized using NTP.
svix-id
header to ensure you only process each event once:
Attempt | Delay After Previous |
---|---|
1 | Immediately |
2 | 5 seconds |
3 | 5 minutes |
4 | 30 minutes |
5 | 2 hours |
6 | 5 hours |
7 | 10 hours |
8 | 10 hours |
Customer Events
customer.created.v0
customer.creation_failed.v0
Subscription Events
subscription.created.v0
subscription.cancelled.v0
subscription.updated.v0
Source Events
source.activated.v0
source.activation_failed.v0
source.disconnected.v0
Field | Type | Description |
---|---|---|
eventType | string | The type of event (e.g., customer.created.v0 ) |
eventId | string | Unique identifier for this specific event |
timestamp | string | ISO 8601 timestamp when the event occurred |
data | object | Event-specific data payload |