Update or archive a subscription plan
Subscriptions
Update a Subscription Plan
PATCH
Update or archive a subscription plan
Update a plan’s name, description, or archive it.
Authorizations
Use your secret API key as a Bearer token.
Keys are prefixed: sk_live_ (production) or sk_test_ (sandbox).
Path Parameters
The subscription plan identifier (prefixed plan_)
Body
application/json
Response
Subscription plan updated
Unique identifier (prefixed plan_)
Example:
"plan_1a2b3c4d5e"
Organization identifier
Plan name
Plan description
Billing amount
Currency code
Stablecoin token
Available options:
USDT, USDC Billing interval for subscription plans
Available options:
daily, weekly, monthly, yearly Number of intervals between billings
Number of free trial days
active— Plan is available for new subscriptionsarchived— Plan is no longer available for new subscriptions
Available options:
active, archived Available options:
live, sandbox