#the-AB
1 messages · Page 1 of 1 (latest)
Hi there, you can use Invoices API to create an invoice and apply a coupon to it (https://stripe.com/docs/api/invoices/create#create_invoice-discounts-coupon)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Once the invoice is finalized (https://stripe.com/docs/api/invoices/finalize#finalize_invoice), retrieve the payment_intent (https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent) generated by Invoice, and use it in your current paymentIntent integration.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Awesome, we will look into this, thank you! One more question: Are there any additional charges associated with using the Stripe Coupons API and/or invoices?
You can visit here for the full pricing https://stripe.com/pricing
Got it, thank you so much!