Skip to content

usepaykit/paykit-sdk

Repository files navigation

PayKit

The Payment Toolkit for TypeScript developers.

PayKit is a unified SDK that simplifies payment processing across different providers with a consistent API.

Quick Start

Choose your preferred way to get started:

1. Using the Registry (Recommended)

Install complete integrations using shadcn CLI:

# Quick start - Direct URLs
npx shadcn@latest add https://usepaykit.dev/r/stripe-nextjs
npx shadcn@latest add https://usepaykit.dev/r/stripe-hono
npx shadcn@latest add https://usepaykit.dev/r/paypal-nextjs

# Or configure once and use namespace
# Add to components.json: "@paykit": "https://usepaykit.dev/r/{name}"
npx shadcn@latest add @paykit/stripe-nextjs
npx shadcn@latest add @paykit/stripe-hono
npx shadcn@latest add @paykit/paypal-nextjs

See the Registry documentation for all available integrations.

2. Manual Installation

npm install @paykit-sdk/core @paykit-sdk/stripe

Then follow the Core Package documentation for setup.

Packages

Package Description
@paykit-sdk/core Main PayKit SDK
@paykit-sdk/react React hooks and components
@paykit-sdk/registry Component registry for integrations
Providers
@paykit-sdk/stripe Stripe integration
@paykit-sdk/polar Polar integration
@paykit-sdk/paypal PayPal integration
Tools
@paykit-sdk/ui UI components
Custom Provider Guide Build your own provider

Documentation

Visit Paykit for complete documentation, examples, and guides.


Maintained by Emmanuel Odii