DocsStripe
Stripe
Integrate Stripe payments with PayKit.
PayKit provides seamless Stripe integration with a unified API that works across all payment providers.
Quick Start
Install the Stripe provider:
Setup
Method 1: Environment Variables
Method 2: Direct Configuration
Basic Usage
Webhook Setup
Enable Events
In your Stripe dashboard, enable the following webhook events:
checkout.session.completed
customer.created
customer.updated
customer.deleted
customer.subscription.updated
customer.subscription.deleted
invoice.paid
Next.js API Route
Vite.js
Environment Variables
Provider Metadata
Stripe supports additional configuration through provider_metadata
: