npx solvapay init. You still need a product and plans in Console.
Products are the core unit in SolvaPay. Each product represents a service you want to monetize.
Plans (pricing options) are created inside each product.
During new provider onboarding, this is the guided first action after you submit company details.
Prerequisites
- A SolvaPay provider account — create one here if you haven’t
Step 1: Product details
Go to Products in the sidebar and click Create product. Fill in:- Name — a human-readable product name (e.g. “Code Review API”)
- Description — what the product does
- Image (optional) — a product icon or logo
Step 2: Pricing
Add one or more pricing options (plans) for this product. Click Add pricing option to create each plan inline. Pick a template to seed the plan, then compose the options you need:- Price and currency (flat, per-request, or per-seat)
- Billing cycle when the plan renews
- Meter and included usage for metered plans
- Benefits (optional) — feature flags on the plan
options[] list. They are not stored types. See Plans for compositions that derive those labels.
After adding your pricing options, you can either click Create product to finish, or continue to the optional integration step.
Step 3: Integration (Optional)
Choose how customers will access your product:- SDK integration — use the SolvaPay SDK to protect your endpoints with paywall logic
- Managed MCP — SolvaPay proxies and paywalls your MCP server with zero code changes
Result
After creation, your product is active and visible on the product detail page. From there you can:- Copy the product reference (
prd_...) and plan references (pln_...) for SDK integration - View and manage plans
- Configure or change the integration mode
- Track purchases and usage
What to do next
- TypeScript SDK CLI setup — fastest setup for TypeScript projects
- SDK quick start — protect your first endpoint
- Test in sandbox — validate purchases and usage before go-live
- Plans — compose pricing from options