#windlepoons-preview-sub
1 messages · Page 1 of 1 (latest)
You can do that with the upcoming invoices API (https://stripe.com/docs/api/invoices/upcoming) - you'd pass in the subscription items + other parameters you want to set when creating the subscription, and you should be able to see what the first invoice will look like
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Would that also properly error if the coupon has exceeded its uses, etc?
I'm not 100% sure if it will error, but you'll definitely be able to see if any discount will be applied from the Invoice