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

Self-host quickstart

Boot the whole stack with one docker compose up — or deploy on Dokploy with automatic HTTPS. Env vars, public URLs, and a production checklist.

See guide →

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

Per-app hosted MCP server with OAuth 2.1 + PKCE + dynamic client registration. End-users authenticate from Claude Desktop / Code / Cursor and the agent reads their own account data.

MCP guide →

Webhooks

Signed outbound events ReliPay POSTs to your backend — user lifecycle, payments, subscriptions, dunning. HMAC-SHA256 signature, the JSON envelope, verification code, and the full event catalog.

Webhooks guide →

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.