getpaykit/paykit
The billing framework for TypeScript. Products in code, handles Stripe, webhooks, and usage state, runs in your app. observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 93
- Release rhythm 83
- Longevity 14
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2.5
- age_days: 206
- days_rel: 117
- days_push: 42
- n_releases_24m: 5
Adoption not part of the score
1041 stars · 44 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PayKit is an open-source embedded billing framework for TypeScript applications that lets you define plans, features, and metered usage in code. It runs inside your app, keeps billing state in your own database, and handles the Stripe lifecycle including verified webhooks, subscriptions, and entitlement checks.
Use cases
- add stripe subscription billing to a typescript saas app
- define pricing plans and features in code instead of dashboards
- implement usage-based metered billing with limits and resets
- handle stripe webhooks reliably with deduplication and database sync
- gate features behind subscription entitlements
- avoid vendor lock-in from hosted billing platforms
When to choose
- you use Stripe and want a type-safe, code-first billing layer inside your own app
- you want billing state in your own Postgres database, joinable with your tables
- you need metered usage billing, entitlement checks, and webhook handling out of the box
- you prefer open-source over hosted billing platforms that own your data
When to avoid
- you use a payment provider other than Stripe, since PayKit is built for Stripe
- you want a fully hosted billing solution with a managed dashboard and no code
- your stack is not TypeScript/Node.js
Facets
library · maturity active
sdk webhook middleware cli developer-tools fintech web-development backend e-commerce developer-tools cli billing stripe subscriptions usage-based-billing entitlements saas payments type-safe nodejs typescript web-server
3 sources
- readme: https://github.com/getpaykit/paykit · fetched 2026-08-28 · a981cc0763f6
- homepage: https://paykit.sh · fetched 2026-08-29 · f87b105e73f2
- site_page: https://paykit.sh/docs · fetched 2026-08-29 · 25e1b11d2f52
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| getpaykit/paykit | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="getpaykit/paykit")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem