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.

Integrates with your favorite providers

Stripe
Polar
Gumroad
Interactive DemoLive Code

Switch providers with
just 2 lines of code

Watch the magic happen. Only the lines that change between providers will animate, showing you exactly what needs to be modified.

Providers

Payment Providers

Stripe Implementation

TypeScript • PayKit SDK

React hooks for
seamless integration

Use familiar React patterns with PayKit’s hooks. Type-safe, async-first, and provider-agnostic.

Your payment backend lives in a file

Configure your payment logic in a single file and test locally with PayKit’s development provider

http://localhost:3001/checkout?id=eyiou...

Secure Checkout

Powered by PayKit Local Provider

Customer Information
john@example.com
John
Doe
Payment Method
4242 4242 4242 4242
Order Summary
PayKit Pro License$99.00
Local provider fee$0.00
Total$99.00
Complete Payment - $99.00

PayKit Cloud

Get lifetime access to PayKit services with dashboard, analytics, and collaboration tools, Launching in v2.

What’s included

Invoice builder
See total income across all providers
Manage all customers in one place
Add billing portals to providers that don't offer them
Invite team members with permissions
Auto-organize customers and sales
Lifetime Access
One-time payment, forever access
$99 USD
Launching in v2
Never break your MRR streak
🎁 First 100 persons - 95 left
Get Lifetime Access

Ready to build
payment-agnostic apps?

Start with local development today. Deploy to any provider tomorrow.