#vdrizzle-price-discount

1 messages · Page 1 of 1 (latest)

quick dirgeBOT
raw sandal
#

vdrizzle-price-discount

#

@maiden grail not really no, a Price has a specific fixed amount. And there's no "discount Price" API. There are many other ways, depending on what you are really trying to do though.
Like if this is about a Subscription then you can use https://stripe.com/docs/api/invoices/upcoming to preview what their first Invoice would look like on a Subscription to Price A with a Coupon B for example. Is that what you are trying to do?

maiden grail
#

Yeah, I was hoping to get a price discounted. It would be a nice add 🙂

raw sandal
#

I'm sorry but this is unfortunately too vague. A "price discounted" doesn't really mean much to me since it depends a lot on what you are doing.
I'm happy to show you how to do this if you provide a lot more context.

raw sandal
#

@maiden grail did you have more details to share?

maiden grail
#

One sec

quick dirgeBOT
maiden grail
#

I can preview an invoice that is fine. What I'm suggesting is adding parameters to the retrieve price endpoint where I could pass a coupon so that I can get the price with the coupon applied.

#

Anyways, thanks for your help.