#Miran
1 messages · Page 1 of 1 (latest)
You'd check the discount hash: https://stripe.com/docs/api/subscriptions/object#subscription_object-discount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Which has a promotion_code field: https://stripe.com/docs/api/discounts/object#discount_object-promotion_code
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks for that. I actually have another question and that is, how many promos can customer avail on a subscription? Only one or multiple?
Only one for the time being
great! thanks again.
np!