How It Works
- User subscribes via Polar.sh checkout
- Polar sends a webhook to MekongMind
- Credits are allocated to the user’s account
- Usage is metered and tracked
- Webhook notifications on subscription updates/cancellations
Webhook Endpoint
subscription.created— allocate initial creditssubscription.updated— adjust tier/creditssubscription.cancelled— revoke accesspayment.succeeded— top-up credits