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. Set the values needed for your billing model:- Price (and currency for recurring/one-time plans, or credits per unit for usage-based plans)
- Billing cycle when applicable
- Meter for usage-based tracking
- Limits and included usage
- Features (optional) — provider-defined feature flags
Step 3: Integration (Optional)
Choose how customers will access your product:- SDK Integration — use the SolvaPay SDK to protect your endpoints with paywall logic
- Hosted MCP Pay — 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 — detailed plan type and pricing configuration