Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.solvapay.com/llms.txt

Use this file to discover all available pages before exploring further.

Use this guide when you want full control and plan to integrate monetization directly in your codebase.

Who this is for

  • Teams building APIs, web apps, or custom MCP flows
  • Teams that need custom auth, routing, or entitlement behavior
  • Teams that want code-level control over monetization

What you will achieve

By the end, your API or app enforces plan access with the SolvaPay TypeScript SDK.

Prerequisites

  • A SolvaPay account
  • A product and plan in the SolvaPay Console
  • A TypeScript project (Node.js, Next.js, Express, or MCP server)

Steps

  1. Run CLI setup or installation.
  2. Complete SDK quick start.
  3. Choose the framework guide you need:
  4. Configure auth using custom auth if needed.
  5. Add usage billing with usage events where required.

Verify

  • Protected endpoints or tools return paywall responses for missing purchases
  • Valid purchases pass and execute business logic
  • Usage appears in sandbox data