Update a plan for a product
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.
Path Parameters
Product reference or ID
Plan reference or ID
Body
weekly, monthly, quarterly, yearly, custom pre-paid, post-paid 1active, inactive, archived Response
Plan updated successfully
Creation timestamp
Currency code (ISO 4217)
"USD"
Whether the plan is active (derived from status)
true
Plan price in cents
2999
Plan reference
"pln_1A2B3C4D"
Whether payment is required
true
Plan status
"active"
Plan type exposed in SDK
recurring, one-time, usage-based, hybrid "recurring"
Last update timestamp
Access expiry in days
Billing cycle
"monthly"
Billing model
pre-paid, post-paid "pre-paid"
Credits per usage unit (integer, >= 1)
1
Currency symbol (derived from currency)
"$"
Plan description
"Best for teams getting started"
Plan features
Number of free units included
100
Usage limit for the meter
10000
Usage limits
Maximum number of active users
What the plan measures for usage tracking
"requests"
Meter reference for usage-based plans
"mtr_1A2B3C4D"
Plan name
"Starter"
Whether unused units roll over to next period
false
One-time setup fee
500
Free trial period in days
14