#arvindkgs-invoice-coupon
1 messages · Page 1 of 1 (latest)
@mossy bay sure thank you
Thank you for your patience, you can update the discount parameter on the pending invoice items to apply a coupon to them:
https://stripe.com/docs/api/invoiceitems/update#update_invoiceitem-discounts
Thanks @mossy bay
Can I apply discount to the pending invoice as whole, rather than each invoice item?
I guess it should be possible https://stripe.com/docs/api/invoices/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.