#Samuel França - Coupons
1 messages · Page 1 of 1 (latest)
Hello! The Coupon object in the API has all the details about the Coupon, including what it can be applied to: https://stripe.com/docs/api/coupons/object
@latent hearth Thanks for the reply. But in the docs only shows the list of products
But I already have a path to make some tests. Thanks!
So you're all set? Is there anything else I can do to help?
Not for now. Tks
I'm sorry @latent hearth but actually there is... what's the difference between coupon and promotional code?
Because as I can see in Stripe dashboard I can only specify a user to a discount with in a promotion code which is created inside a coupon. But they have different endpoint to each one
Coupons represent information about a discount, like a percent off or amount off. Promotion Codes are customer-redeemable codes that people can use to apply an underlying Coupon.
You can read more about both here: https://stripe.com/docs/billing/subscriptions/coupons/codes
As a developer tip, it should implement different places for each one in my system or verify in both endpoints using just one input field and action?