There have been a few use cases of our users who wish to get the details of the payments beforehand while upgrading/downgrading a customer's subscription.
So for this, you can use the Subscription Update Charges API -
The API will be fired with a POST request along with the existing subscription Id in the Request URL.
In response to this API, you will get all the details of the current plan, the new plan, their prices, the prorated amount, the remaining credits, etc.
So for this, you can use the Subscription Update Charges API -
Pabbly API Documentation
We provide the API which follows all the `HTTP` request and based on the `REST` theory. These API allows you to perform all the actions in your account just by requesting the call. These calls can be fired using any API development platform like Postman. Every call is revealed with an URL. The...
apidocs.pabbly.com
In response to this API, you will get all the details of the current plan, the new plan, their prices, the prorated amount, the remaining credits, etc.