- Upgrade a customer to a higher-value plan.
- Downgrade a customer to a lower-value plan.
- Change the products or items included in the subscription.
- Change the billing frequency associated with the plan.
- Adjust the amount based on the unused portion of the current billing period.
prorate parameter in the subscription item configuration determines whether an item’s amount is partially calculated based on the days consumed.
Upgrade Plan
An upgrade occurs when a customer moves from a lower-value plan to a higher-value plan. For example:Upgrade Scenario
Consider a monthly prepaid subscription:Upgrade Flow
Upgrade Example
Downgrade Plan
A downgrade occurs when a customer moves from a higher-value plan to a lower-value plan. For example:Downgrade Scenario
Consider:Downgrade Flow
Downgrade Example
Prepaid Plan Change
For a prepaid subscription, the customer has already paid for the current service period. Therefore, when a plan change occurs before the current period ends:- Determine the portion of the current plan already consumed.
- Determine the unused portion.
- Calculate the applicable prorated value of the unused portion.
- Apply the applicable credit toward the new plan.
- Continue the subscription using the new plan.
Postpaid Plan Change
For a postpaid subscription, the customer uses the service during the billing period and payment is collected after billing. When the plan changes:- The existing billing period and consumed usage are considered.
- The applicable amount is calculated for the current period.
- The new plan becomes applicable according to the subscription update.
- Subsequent usage is billed using the new plan configuration.
Upgrade vs Downgrade
PENDING UPDATES
Your customers may need to move between plans mid-cycle — add a product, remove one, or change a quantity/price on an active subscription. You do this with a single API call, sending the complete new list of items you want the subscription to have (not just what changed). TransactBridge has no separate “add-on” concept, so every plan change — bigger, smaller, or the same total value — is handled the same way, as an upgrade/downgrade. Because a plan change can increase what the customer owes, TransactBridge doesn’t switch the plan blindly. It first checks whether the change fits inside the payment authorization your customer already gave us:- Fits the existing authorization (or, for prepaid plans, no extra amount is owed) — the plan change applies immediately, in the same API call. No customer action needed.
- Exceeds the existing authorization, or an extra payment is due right now (prepaid plans) — the change is held as a Pending Update. Your customer must complete a short checkout step — raising their payment authorization or paying the prorated difference — before the new plan takes effect.
How proration works
Days already used in the current billing period are billed against the old items; days remaining in the period are billed against the new items. Your customer is never charged for the full new plan on a partial month, and never loses value for days already paid on the old plan.The same-day window
A Pending Update quotes prices — and, for cross-currency subscriptions, the FX rate — as of the moment it’s created. If your customer doesn’t finish checkout that same day, the Pending Update automatically expires at midnight India time (IST). It is not silently recalculated or retried later, since the quoted price/FX rate would be stale. You’ll need to call the update API again to restart the upgrade/downgrade.Integration steps
- Call Create Subscription API with
subscriptionIdand the fullitemsarray (name,quantity,amount, and — if your account requires product mapping —productReferenceId). - Read the response:
updateFlag: trueandmandateRequired: false— the plan change is already live.mandateRequired: true— send your customer toredirectUrl(a hosted TransactBridge checkout page) to authorize the higher payment limit or pay the difference. If you use drop-in checkout, passdropIn: trueon the request to receive atokeninstead of aredirectUrl.
- Once your customer completes checkout, TransactBridge applies the new items to the subscription and sends you a webhook (
callbackType: SUBSCRIPTION) carrying the updated subscription object. - If your customer abandons checkout and doesn’t return before midnight IST, the Pending Update is discarded — call step 1 again to retry.
isCustomerRedirection: true on the update call to always send the customer through checkout, even when the change would otherwise apply instantly — useful if you want the customer to confirm coupon terms, or to force downgrades through a confirmation step.
- Pending plan updates are removed at midnight (12:00 AM IST) if the required payment is not completed.
- If a plan upgrade or downgrade request is created but the customer does not complete the payment, the pending update request is automatically removed from the system at 12:00 AM IST on the same day.
- If the customer is redirected to the checkout page to complete the payment for a pending plan update but rejects the payment, the pending update request is also removed at 12:00 AM IST.
- Once the pending update request is removed, the merchant must initiate a new update request if the customer wants to upgrade or downgrade the plan.
- Example: If a customer requests a plan upgrade at 7:00 PM IST but does not complete the payment, the pending upgrade request is removed from the system at 12:00 AM IST. The merchant must initiate a new plan update request for the upgrade to be processed.
- system may have different flows for different jurisdictions, and this is only for India.
Lifecycle
An expired Pending Update is not retried automatically — callupdateSubscription again to restart the upgrade/downgrade.
Integration sequence
Important Considerations
- A plan upgrade or downgrade changes the plan associated with the existing subscription.
- The
prorateconfiguration controls whether an item’s amount is calculated on a partial, day-consumed basis. - For prepaid subscriptions, the unused portion of the already-paid period can be considered when calculating the applicable credit.
- For postpaid subscriptions, the consumed portion of the billing period and applicable charges are considered when calculating the amount.
- An upgrade generally results in an additional amount being payable when the new plan is more expensive.
- A downgrade can result in a credit adjustment because the new plan has a lower value.
- A prorated credit should not automatically be interpreted as a cash refund. The treatment of any resulting credit depends on the subscription update and billing configuration.
- The exact amount depends on the plan amount, billing period, change date, applicable
prorateconfiguration, and other subscription settings.
Proration basis: Transact Bridge documentation specifies that when an invoice needs to be partially paid, the total amount can be calculated using proration on a day-consumed basis.