---
name: "@paykit-sdk"
slug: "paykit-sdk"
description: "A unified TypeScript payments SDK and shadcn registry providing complete wiring patterns for multiple payment providers. Registry entries cover Stripe + Next.js, Stripe + Hono, and PayPal + Next.js integrations; packages include @paykit-sdk/core, @paykit-sdk/stripe, @paykit-sdk/polar, @paykit-sdk/paypal, @paykit-sdk/react (React hooks and components), and a UI components package. Aims to eliminate provider lock-in with a consistent API across Stripe, PayPal, and Polar. Free and open source (MIT), maintained by a single developer. Use for: bootstrapping checkout and billing flows across multiple payment providers from a single shadcn add command without copy-pasting provider-specific boilerplate."
category: "E-commerce/payments"
tags: ["ai", "components", "e-commerce", "hooks", "payments"]
framework: "react"
license: null
author: "usepaykit"
website: "https://www.usepaykit.dev"
github: "https://github.com/usepaykit/paykit-sdk"
registry: "https://www.usepaykit.dev/r/registry.json"
pro: false
pro_url: null
github_stars: 57
component_count: 21
generated_at: "2026-07-28T08:59:05.895Z"
---

# @paykit-sdk

A unified TypeScript payments SDK and shadcn registry providing complete wiring patterns for multiple payment providers. Registry entries cover Stripe + Next.js, Stripe + Hono, and PayPal + Next.js integrations; packages include @paykit-sdk/core, @paykit-sdk/stripe, @paykit-sdk/polar, @paykit-sdk/paypal, @paykit-sdk/react (React hooks and components), and a UI components package. Aims to eliminate provider lock-in with a consistent API across Stripe, PayPal, and Polar. Free and open source (MIT), maintained by a single developer. Use for: bootstrapping checkout and billing flows across multiple payment providers from a single shadcn add command without copy-pasting provider-specific boilerplate.

## Links

- Website: https://www.usepaykit.dev
- GitHub: https://github.com/usepaykit/paykit-sdk
- Registry JSON: https://www.usepaykit.dev/r/registry.json
- Directory page: https://sh4dcn.vercel.app/registry/paykit-sdk
- This file: https://sh4dcn.vercel.app/md/paykit-sdk.md

## Install

```sh
# add the whole registry (shadcn CLI)
npx shadcn@latest add https://www.usepaykit.dev/r/registry.json
pnpm dlx shadcn@latest add https://www.usepaykit.dev/r/registry.json
bunx shadcn@latest add https://www.usepaykit.dev/r/registry.json
# clone the source repo
git clone https://github.com/usepaykit/paykit-sdk.git
# fetch the raw registry index
curl -s https://www.usepaykit.dev/r/registry.json
```

## Components (21)

| name | type | description | install |
| --- | --- | --- | --- |
| stripe-nextjs | registry:block | Stripe payment integration for Next.js App Router with type-safe API routes and webhook handling | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-nextjs.json` |
| stripe-hono | registry:block | Stripe payment integration for Hono backend with unified routes and webhook handling | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-hono.json` |
| stripe-express | registry:block | Stripe payment integration for Express backend with unified routes and webhook handling | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-express.json` |
| stripe-nextjs-hooks | registry:block | Stripe payment integration for Next.js App Router with React hooks | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-nextjs-hooks.json` |
| stripe-nextjs-prisma | registry:block | Stripe payment integration for Next.js App Router with Prisma ORM | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-nextjs-prisma.json` |
| stripe-nextjs-drizzle | registry:block | Stripe integration for Next.js with Drizzle ORM schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-nextjs-drizzle.json` |
| stripe-nextjs-typeorm | registry:block | Stripe integration for Next.js with TypeORM schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-nextjs-typeorm.json` |
| stripe-nextjs-mongoose | registry:block | Stripe integration for Next.js with Mongoose schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-nextjs-mongoose.json` |
| stripe-nextjs-sequelize | registry:block | Stripe integration for Next.js with Sequelize schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-nextjs-sequelize.json` |
| stripe-hono-prisma | registry:block | Stripe integration for Hono with Prisma ORM schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-hono-prisma.json` |
| stripe-hono-drizzle | registry:block | Stripe integration for Hono with Drizzle ORM schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-hono-drizzle.json` |
| stripe-hono-sequelize | registry:block | Stripe integration for Hono with Sequelize schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-hono-sequelize.json` |
| stripe-hono-mongoose | registry:block | Stripe integration for Hono with Mongoose schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-hono-mongoose.json` |
| stripe-hono-typeorm | registry:block | Stripe integration for Hono with TypeORM schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-hono-typeorm.json` |
| stripe-express-prisma | registry:block | Stripe integration for Express with Prisma ORM schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-express-prisma.json` |
| stripe-express-drizzle | registry:block | Stripe integration for Express with Drizzle ORM schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-express-drizzle.json` |
| stripe-express-sequelize | registry:block | Stripe integration for Express with Sequelize schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-express-sequelize.json` |
| stripe-express-mongoose | registry:block | Stripe integration for Express with Mongoose schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-express-mongoose.json` |
| stripe-express-typeorm | registry:block | Stripe integration for Express with TypeORM schemas for payments and subscriptions | `npx shadcn@latest add https://www.usepaykit.dev/r/stripe-express-typeorm.json` |
| paystack-nextjs | registry:block | Paystack payment integration for Next.js App Router with type-safe API routes and webhook handling | `npx shadcn@latest add https://www.usepaykit.dev/r/paystack-nextjs.json` |
| paystack-hono | registry:block | Paystack payment integration for Hono backend with unified routes and webhook handling | `npx shadcn@latest add https://www.usepaykit.dev/r/paystack-hono.json` |

## For AI agents

```text
You are adding components from @paykit-sdk to a shadcn-compatible project.
1. Read this file (https://sh4dcn.vercel.app/md/paykit-sdk.md) for the component list.
2. Fetch the machine-readable index: https://www.usepaykit.dev/r/registry.json
3. Install a single component with its install command from the table above.
4. Full structured record: https://sh4dcn.vercel.app/json (library slug: paykit-sdk).
```
