Theme SDK
Build headless or prebuilt checkout experiences with our flexible SDK.
Explore SDKBuild experiences your way. We handle payments, refunds, chargebacks, compliance, and risk - so you can scale with confidence.
import { Restonme } from '@restonme/sdk'
const client = new Restonme({
publishableKey: 'rtm_live_pk_123',
})
const session = await client.checkout.create({
amount: 4999,
currency: 'usd',
successUrl: 'https://yoursite.com/success',
cancelUrl: 'https://yoursite.com/cancel',
metadata: { plan: 'pro' }
})
await client.checkout.redirect(session.id)APIs, tools, programs, and support to ship faster and scale safely.
Build headless or prebuilt checkout experiences with our flexible SDK.
Explore SDKScaffold projects, run local tunnels, and deploy with the Restonme CLI.
View CLITest payments, webhooks, and flows in a safe isolated environment.
Start in sandboxGet certified and showcase your expertise. Build trust with your users.
Get certifiedList integrations, themes, and plugins for the Restonme ecosystem.
Explore marketplaceEarn rewards for building high-impact integrations and tools.
View bountiesEarn recurring revenue by referring merchants and partners.
Learn moreUse AI to generate flows, components, and docs faster.
Open AI StudioMonitor usage, transactions, revenue, and performance in real time.
Open dashboardApply to join the ecosystem and unlock advanced benefits.
Apply nowClear guides, code examples, and reference docs for every use case.
Explore docsimport { Restonme } from '@restonme/sdk'
const client = new Restonme({
publishableKey: 'rtm_live_pk_123',
})
const session = await client.checkout.create({
amount: 4999,
currency: 'usd',
successUrl: 'https://yoursite.com/success',
cancelUrl: 'https://yoursite.com/cancel',
metadata: { plan: 'pro' }
})
await client.checkout.redirect(session.id)