APIs for calculating subscription cost
We've added an ability to programmatically calculate the cost of a subscription before it's created and before updates to it are applied.
The new APIs allow you to provide your customers with an estimation of the subscription cost, and save you significant development time by removing need for implementing the calculation yourself. When updating a subscription, these APIs allow you to preview the effect of the changes on the current subscription cost.
When Stigg is integrated with a billing solution (for example: Stripe), Stigg will leverage the customer and subscription information from the billing solution, such as proration and customer credits, for the calculation of the subscription cost; thus, providing more accurate estimation of the subscription cost.
The new APIs are available in the Node.js SDK version 0.56 or later. More details about the APIs can be found in our technical documentation.