Plans
Plans are the products you sell to customers. They bundle pricing configurations with recurring fees into a complete offering.What is a Plan?
A plan defines:- A recurring base fee (monthly, annually, etc.)
- Which usage-based pricing to include
- The billing frequency
Plan Structure
A plan consists of:- Base Fee — Fixed recurring charge (can be $0)
- Usage Pricing — Variable charges based on metered usage
- Billing Terms — Frequency, currency, trial periods
Plan Fields
| Field | Required | Description |
|---|---|---|
name | Yes | Display name for the plan |
planCode | Yes | Unique identifier (lowercase, no spaces) |
currency | Yes | ISO currency code |
billingFrequency | Yes | MONTHLY, QUARTERLY, SEMI_ANNUALLY, ANNUALLY |
basePrice | No | Recurring fee (defaults to 0) |
pricingIds | No | Array of pricing configuration IDs to include |
status | No | DRAFT, ACTIVE, ARCHIVED |
Billing Frequencies
| Frequency | Period | Use Case |
|---|---|---|
MONTHLY | 1 month | Most SaaS products |
QUARTERLY | 3 months | Enterprise contracts |
SEMI_ANNUALLY | 6 months | Annual commitment discounts |
ANNUALLY | 12 months | Long-term contracts |
Billing frequency affects when invoices are generated and usage is reset.
Monthly plans generate 12 invoices per year; annual plans generate 1.
Plan Patterns
Freemium
No base fee, charges only for usage over free tier:Tiered Plans
Multiple plans with different base fees and usage rates:Flat + Usage
Fixed fee covers a baseline, usage charges for overages:Plan Lifecycle
| Status | Description |
|---|---|
DRAFT | Plan is being configured, not available for contracts |
ACTIVE | Plan can be assigned to new contracts |
ARCHIVED | Plan is deprecated, existing contracts continue but no new signups |
Plans vs Contracts
Plans are templates. Contracts are instances assigned to customers.- Plan: “Pro costs 0.08/API call”
- Contract: “Acme Corp is on Pro, started Jan 1, renews monthly”
Next Steps
How Usage-Based Billing Works
See how plans fit into the full billing flow
Create Your First Plan
Step-by-step guide
Plans API
API reference
Contracts
Assign plans to customers
Pricing
Configure usage pricing