Modify an existing subscription plan's settings. Change the name, adjust pricing, update the billing cycle, or toggle payment options. Only the fields you include in the request body are updated—all other settings remain unchanged.
PATCH/v2/projects/{project_id}/plans/{plan_id}
Authorization
Bearer TokenRequired
Path Parameters
project_idstringrequired
The unique identifier of the project.
plan_idstringrequired
The unique identifier of the plan to update.
Request Body
plan_namestring
Display name of the plan.
plan_pricestring
Price amount for the plan as a string.
plan_currencystring
Three-letter currency code (e.g., USD, EUR).
plan_durationstring
Duration of the plan (e.g., '1 hour', '1 day', '1 month').
plan_price_formattedstring
Formatted price display string (e.g., '$10.00').
plan_dataobject
Additional plan configuration options.
plan_data.plan_recurringboolean
Whether the plan supports recurring payments.
plan_data.plan_one_timeboolean
Whether the plan supports one-time payments.
All fields are optional. Only provided fields will be updated.