Paykit Polar
Polar for paykit: a merchant of record in one call.
Polar for paykit: a merchant of record in one call.
Entry points
| Import | Source |
|---|---|
@potion.run/paykit-polar |
src/index.ts |
@potion.run/paykit-polar/Contributions |
src/Contributions.ts |
Modules
- fromAuthProvider: Build a Polar Credentials layer that resolves credentials via the Alchemy AuthProvider using the configured profile (defaults to default, overridable with the ALCHEMY_PROFILE env/config value).
- Meter: A Polar meter that sums one feature’s billable units.
- Polar: Polar as a merchant of record, ready for Paykit.BillingStack.
- PolarAuth: Layer that registers the Polar {@link AuthProvider} into the {@link AuthProviders} registry.
- PolarBilling: Polar provisioning and the Polar provider in one call.
- PolarPrices: The Polar products a tier is sold through, reconciled from the catalog.
- polarProviders: Register the Polar provider a stack needs to reconcile PolarPrices.
- polarWebhook: Verify and translate one Polar webhook into paykit’s provider-neutral event.
- Product: A Polar product that sells one tier at the price the catalog states.
- RetiredProducts: Archive the Polar products a stage still sells that its catalog no longer declares.
- WebhookEndpoint: Exports
WebhookEndpoint,polarWebhookEndpoint.