From AI-powered setup to customer self-service portals. Every feature designed for the modern developer.
Native integration with Claude Code, Cursor, and any MCP-compatible AI assistant. Natural language payment commands with full context awareness.
payments-setup # Complete infrastructure setup
payments-create-product # Create products & pricing
payments-checkout # Generate checkout sessions
payments-list-txns # Query transactions
payments-webhooks # Configure webhook endpoints
payments-customer # Manage customer records
payments-refund # Issue refunds
payments-analytics # Revenue & metrics$ npm install -g @payments-ai/cli
$ payments init
? App name: MyApp
? Pricing model: subscription
? Tiers: Starter ($29/mo), Pro ($99/mo)
Creating account... Done
Setting up orchestration... Done
Generating products... Done
Configuring webhooks... Done
Ready in 8.2s
Checkout URLs:
Starter: checkout.payments.ai/ck_xxxxx
Pro: checkout.payments.ai/ck_yyyyyPowerful command-line interface for developers who prefer terminal workflows. Interactive wizards and automation scripts.
Pre-built components for checkout buttons, pricing tables, and subscription management. Works with any React framework.
import { CheckoutButton, PricingTable }
from '@payments-ai/react';
// Simple checkout button
<CheckoutButton
priceId="price_pro"
successUrl="/welcome"
>
Get Pro - $99/mo
</CheckoutButton>
// Full pricing table
<PricingTable
products={products}
highlight="pro"
/>Three ways to add checkout. Pick what works for your stack.
import { WhopCheckoutEmbed }
from '@payments-ai/react';
<WhopCheckoutEmbed
planId="plan_xxx"
returnUrl="/welcome"
onComplete={(id) => {
console.log('Paid!', id);
}}
/><!-- In <head> -->
<script async defer
src="https://js.payments.ai/checkout.js"
></script>
<!-- Where you want checkout -->
<div
data-payments-ai-plan="plan_xxx"
data-return-url="/thanks"
></div><!-- Just a link! -->
<a href="https://checkout.payments.ai/plan_xxx">
Buy Now - $29/mo
</a>
<!-- Or with a button -->
<button onclick="location.href='...'">
Subscribe
</button><!DOCTYPE html>
<html>
<head>
<!-- Load Payments.AI checkout script -->
<script async defer
src="https://js.payments.ai/checkout.js"></script>
</head>
<body>
<h1>Subscribe to MyApp</h1>
<!-- Checkout form renders here automatically -->
<div
id="checkout"
data-payments-ai-plan="plan_pro_monthly"
data-return-url="https://myapp.com/welcome"
data-theme="dark"
></div>
</body>
</html>Automatically route payments through multiple providers. When one declines, instantly retry through another. Zero configuration required.
Let customers manage their own subscriptions. Update payment methods, view invoices, cancel or upgrade plans — all without support tickets.
Accept payments from anywhere, pay out to anywhere.
Let customers pay in installments. Increase conversions by 20-30%.
Accept Bitcoin, Ethereum, USDC and major cryptocurrencies natively.
PCI compliance built-in. Credentials never exposed to AI agents. Scoped API permissions for every operation.
Add payments to your AI-generated app in 30 seconds.