Authorizations
Enter your API key in the format x-api-key <api-key>*
Path Parameters
Subscription ID
Body
application/json
Subscription change request
Request object for changing a subscription plan (upgrade/downgrade)
Available options:
RECURRING
, ONETIME
Available options:
anniversary
, calendar
Available options:
MONTHLY
, ANNUAL
, WEEKLY
, DAILY
, QUARTERLY
, HALF_YEARLY
billing_period_count is the billing period count for the new subscription
Available options:
create_prorations
, none
target_plan_id is the ID of the new plan to change to (required)
metadata contains additional key-value pairs for storing extra information
Response
OK
Response after successfully executing a subscription plan change
Available options:
upgrade
, downgrade
, lateral
credit_grants contains any credit grants created for proration credits
effective_date is when the change took effect
metadata from the request