Stripe-based billing utilities for plan, quota, and webhook handling.
// Source: https://github.com/intelligo-dev/intelligo | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
* @intelligo-dev/billing: Stripe client, plan configuration, webhook
* handlers, quota and credit engines, and billing utilities.
*/
export { getStripe } from "./stripe";
export {
createStripeWebhookHandler,
dispatchStripeEvent,
} from "./webhook-route";
export type { StripeWebhookOptions } from "./webhook-route";
export { definePlans, forPlans, getPlanBySlug, isUnlimited } from "./plans";
export type { PlanSlug, PlanSlugOf, PlanConfig, PlanLimits } from "./plans";
// Plan registry. The full surface — every register*/clear* pair, the
// trial and rate-limit maps — is
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key