DocsIntroduction
Introduction
Welcome to PayKit - A modern payment processing library for React and Next.js applications.
Welcome to PayKit
PayKit is a modern, lightweight payment processing library designed specifically for React and Next.js applications. It provides a unified interface for integrating multiple payment providers like Stripe, Polar, and Gumroad.
Why PayKit?
- Unified API: Single interface for multiple payment providers
- React Native: Built with React and TypeScript from the ground up
- Lightweight: Minimal bundle size with tree-shaking support
- Type Safe: Full TypeScript support with excellent developer experience
- Flexible: Easy to customize and extend for your specific needs
Key Features
- 🔄 Multiple Providers: Support for Stripe, Polar, Gumroad, and more
- 🎯 Type Safe: Full TypeScript support with excellent IntelliSense
- ⚡ Performance: Optimized for React with minimal re-renders
- 🛡️ Security: Built-in security best practices and validation
- 📱 Responsive: Works seamlessly across all devices and screen sizes
- 🎨 Customizable: Easy to style and customize to match your brand
Quick Start
Get started with PayKit in just a few minutes:
Ready to get started? Check out our Installation Guide or jump straight to the Quick Start tutorial.
Features
- Unified API: One interface for multiple payment providers
- TypeScript Support: Full type safety and IntelliSense
- Framework Agnostic: Works with React, Next.js, Vue, and more
- Webhook Support: Built-in webhook handling and verification
- Error Handling: Comprehensive error handling and recovery
- Testing: Easy testing with local provider
Quick Start
Payment Providers
PayKit supports multiple payment providers:
- Stripe - Credit cards, digital wallets, and more
- Polar - Subscription and membership payments
- Gumroad - Digital product sales
Getting Started
Choose your path to get started with PayKit:
- Installation - Set up PayKit in your project
- Quick Start - Create your first payment
- Payment Providers - Learn about specific providers