Open Source Payment ToolkitTypeScript
Build payments
without vendor lock-in
PayKit lets you build billing systems that work locally, then deploy anywhere. Switch providers with a single line of code.
Local Provider
Start building without any payment provider setup
Test Mode
MOCK
Payment #1234
$29.99 ✓Webhook received
200 ✓Zero configuration setup
Mock webhooks & payments
Full development workflow
Provider Agnostic
Switch between Stripe, Polar, or Gumroad instantly



Unified API across all providers
Switch with single line change
Zero refactoring needed
Production Ready
Deploy with confidence using battle-tested patterns
Dev
Prod
Scale
TypeScript-first with full type safety
Built-in webhook validation & testing
Enterprise-grade security patterns
Perfect for every use case
Whether you're prototyping or scaling to millions of users
MVP Development
Build and test billing locally before choosing a payment provider
Start building today
Multi-tenant SaaS
Different providers per tenant or region with the same codebase
Scale globally
A/B Testing
Test different payment providers to optimize conversion rates
Optimize conversions
Migration
Migrate between providers without rewriting your billing logic
Seamless migration