Webhooks
PolyHistorical uses Dodo Payments for subscription billing. Webhook events are sent when subscription status changes.Webhooks are used internally for subscription management. This page is for reference if you’re integrating with the PolyHistorical billing system.
Events
| Event | Description |
|---|---|
subscription.active | Subscription is active (payment confirmed) |
subscription.cancelled | Subscription was cancelled |
payment.succeeded | A payment was successfully processed |
Webhook endpoint
Payload format
What happens on each event
subscription.active: Customer tier is upgraded to the tier specified inmetadata.tiersubscription.cancelled: Customer tier is downgraded to Starter (free)