DocsIntroduction
Introduction
PayKit is a unified payment processing library that abstracts away provider-specific implementations, allowing you to switch between payment providers without rewriting your code.
PayKit is a TypeScript payments toolkit with one API across providers. Swap Stripe, PayPal, Polar, and more by changing the adapter—not your app logic.
What you get
- Unified API for checkouts, customers, subscriptions, payments, refunds, webhooks
- Drop‑in blocks via shadcn registry (Next.js, Hono, Express)
- Generated endpoint handlers you can mount behind a single catch‑all route
- React hooks and a small UI kit for client apps
Supported Providers
- Stripe - Credit cards, digital wallets, global reach
- Polar - Creator subscriptions and memberships
- PayPal - Business subscriptions
Next steps
- Installation - Set up PayKit in your project
- Quick Start - Create your first payment
- Providers - Learn about specific providers