Documentation
Everything you need to integrate Utopia — from your first checkout to production.
Install
Terminal
npm install @utopia/payments Create a checkout
checkout.ts
import { Utopia } from '@utopia/payments';
const utopia = new Utopia(process.env.UTOPIA_KEY);
const session = await utopia.checkout.create({
product: 'pro_plan',
quantity: 1,
success_url: '/thanks',
});
redirect(session.url); Explore
Quickstart Create your first checkout and go live in minutes. Adapters Drop-in integrations for Next.js, Nuxt, Astro, Express, and more. Billing Credits, usage metering, subscriptions, and overage billing. Payments Accept 40+ methods across 190+ countries as Merchant of Record. MCP Server Connect AI models to Utopia for agentic payment flows. Webhooks React to payments, refunds, and subscription events in real time.
Need help integrating? Email support@utopia-payments.com — our team responds within minutes.