Documentation

What ReliPay does, top-to-bottom.

ReliPay is in public beta. The SDKs are live on npm under the @relipay scope, and every REST endpoint is documented in the interactive API reference. Need a hand? Talk to the team.

Explore the API reference
Installv0.1.0-beta · live on npm
# server SDK
pnpm add @relipay/node

# next.js + react helpers
pnpm add @relipay/nextjs @relipay/react

# cli + mcp server
pnpm add -g @relipay/cli @relipay/mcp

Quickstart

Boot the stack with one docker compose up. Create a Tenant, an Application, mint an API key, then call from your app.

API reference →

End-user auth

Email + password, OAuth (Google, GitHub, plus OIDC). MFA with TOTP + backup codes. Refresh-token rotation, role-per-Application, session revocation.

API reference →

Billing

BillingProvider interface — Stripe, PayPal, Razorpay live behind one schema. Subscriptions, Licenses, and Usage plans. BYO credentials per Tenant.

API reference →

API keys

Public + secret key pairs per Application. Scoped, rotatable, revocable. Public keys are safe to ship to browsers.

API reference →

MCP server

Read-only MCP server for Claude Desktop / Cursor / Claude Code. list_applications, recent_payments, replay_webhook — debug from your editor.

API reference →

Error catalog

Every error carries code + message + fix. The fix line tells you what to do — no Slack-pinging the integration engineer.

API reference →

SDKs

All published on npm under the @relipay scope. Written in TypeScript, shipped as ESM, typed end-to-end.

  • @relipay/nodeServer SDK — typed, zero-any. Errors carry fix: lines.
  • @relipay/reactReact hooks + drop-in <SignIn /> / <SignUp /> components.
  • @relipay/nextjsNext.js adapters — App Router middleware, route handlers.
  • @relipay/cliNon-interactive CLI. --json everywhere, money as integers.
  • @relipay/mcpRead-only MCP server for Claude / Cursor / Claude Code.
  • @relipay/shared-typesZod schemas shared between API and SDKs.
Full SDK method reference

Building with an AI agent?

Point your coding agent at the integration spec — the model rules (org vs user billing, secret vs public keys, server-side entitlements, webhook registration) that prevent the common first mistakes. Also served as plain text at /docs/prompt/raw.

AI agent integration guide
Have a question? Ask the team.