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
- Run CLI setup or installation.
- Complete SDK quick start.
- Choose the framework guide you need:
- Configure auth using custom auth if needed.
- 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