Estimates, as the name implies, can be used to find out the estimate for performing an operation as against performing the operation itself. i.e Say you want to create a new subscription or update an existing one, using the estimate API one can deduce the details like how much money the customer needs to be charged for this operation, when it should be collected, the state the subscription would be in etc. Note:
- Invoking these APIs do not perform the actual operation but just generates an estimate.
- Prorated Credits and Promotional Credits are not taken into account while generating the estimate.
API Index URL
Estimates attributes
Whether or not the estimate for the invoice is recurring. Will be 'true' or 'false' for subscription related estimates.
Applicable only for subsctiption related estimates. The identifier of the subscription this estimate belongs to.
Applicable only for subsctiption related estimates. The post-operation status of the subscription.
The subscription is scheduled to start at a future date.
The subscription is in trial.
The subscription is active and will be charged for automatically based on the items in it.
The subscription will be canceled at the end of the current term.
The subscription has been canceled and is no longer in service.
Applicable only for subsctiption related estimates. End of the current billing term
'true' means the estimate amount needs to be collected immediately, whereas 'false' means the estimate amount needs to be collected at the term-end
The price type of the invoice.
All amounts in the document are exclusive of tax.
All amounts in the document are inclusive of tax.
Total estimate amount in cents. The 'collect_now' field indicates when this amount needs to be collected.