Charge customers on a recurring basis
- Create a subscription product.
- Create the subscription.
- Wait for
subscription.activebefore granting access. - Handle
subscription.past_dueandsubscription.canceled.
- TypeScript
- Python
- Go
- cURL
| Event | What you should do |
|---|---|
subscription.active | Grant access |
subscription.renewed | Keep access active |
subscription.past_due | Warn the customer and restrict access |
subscription.canceled | Revoke access |