DocsQuick Start
Quick Start
Get started with PayKit in minutes using the local provider.
Overview
This guide will help you create your first payment with PayKit using the local provider. We'll build a simple checkout flow that works seamlessly with any provider.
Prerequisites
- Node.js 18.0 or later
- PayKit CLI installed (see Installation guide)
Installation
Install the required packages:
Create Your API Route
Set up a webhook endpoint to handle payment events:
Configure PayKit
Create your PayKit instance with the local provider:
Create Your First Checkout
Add this to your component or API route:
Check Subscription Status
Create a page to display subscription information:
Test Your Integration
- Start your development server
- Navigate to your checkout page
- Complete a test payment
- Check your webhook logs
- Visit the subscription page to see the status
Next Steps
- Installation - Set up PayKit in your project
- Providers - Learn about the local provider
- API Reference - Explore the full API