updating subscription plan existing subscription.md

Updating a Subscription Plan on an Existing Subscription

Learn how to update Subscription Plans for an existing subscription.

Overview

Finix supports the ability to upgrade or downgrade a customer’s subscription between different plans — for example, moving from the Basic plan to the Enterprise plan, or vice versa.

This can be done at any time using the Subscriptions API. Plan changes are applied immediately, and billing is automatically adjusted based on the timing and direction of the change.

How Plan Changes Work

When a subscription’s plan is changed:

Examples

If a customer on the Basic plan upgrades to the Enterprise plan on June 10, the Enterprise plan takes effect immediately on June 10. A prorated charge for the remaining days of the billing period will occur right away.

If a customer downgrades from the Enterprise plan to the Basic plan on the same date, the Basic plan takes effect immediately, and a credit is applied for the remaining, unused portion of the Enterprise plan.

Using the Finix API

This feature is currently only available using our API.

To update an existing Subscription to a new Subscription Plan, you can simply use a PUT to replace the previous subscription_plan_id with a new subscription_plan_id.

curl "https://finix.sandbox-payments-api.com/subscriptions/subscription_cdhqdXjTQfg62wHzJ41g5" \
  -H "Content-Type: application/json" \
  -H "Finix-Version: 2022-02-01" \
  -u USsRhsHYZGBPnQw8CByJyEQW:8a14c2f9-d94b-4c72-8f5c-a62908e5b30e \
  -X PUT \
  -d '
  {
    "subscription_plan_id": "subscription_plan_cdgZcXBNDwWcqC4CwgGRS"
  }'

When this request is run, we will return a new response that will override the previous settings for the subscription.

Common Subscription Plan Change Scenarios

Scenario Description What Happens
Upgrade Mid-Cycle Customer moves from Basic ($50) to Enterprise ($100) mid-billing cycle New plan takes effect immediately; customer receives a prorated credit ($25) from the old plan and a prorated charge ($50) for the new plan, resulting in a net charge of $25
Downgrade Mid-Cycle Customer moves from Enterprise ($100) to Basic ($50) mid-billing cycle New plan takes effect immediately; customer receives a prorated credit ($50) from the old plan and a prorated charge ($25) for the new plan, resulting in a net credit of $25
In Trial → Upgrade to Longer Trial Plan Customer is in a trial and switches to a plan with a longer trial Trial period is extended to match the new plan's trial duration
In Trial → Switch to No-Trial Plan Customer is in a trial and switches to a plan without a trial Trial ends immediately; customer is billed a prorated charge for the new plan
No Trial → Switch to Trial Plan Customer on a paid plan switches to a plan with a trial Trial phase of the new plan starts immediately; no charge until trial ends
Discount → No Discount Customer switches from a discounted plan to one without a discount Discount ends immediately; new plan charges apply starting from the change date
No Discount → Discounted Plan Customer switches to a plan with a discount phase Discount phase on the new plan begins; any prior billing rate is replaced by new plan terms
Back-to-Back Plan Changes Customer changes plans twice in a short period (e.g., $50 → $100 → $120) Each plan takes effect immediately; billing is prorated for time spent on each plan