#Sairony - promo codes
1 messages · Page 1 of 1 (latest)
Hi there. One moment
We recommend attempting the transaction to see if there's an error with the code as that's the quickest way. However, you can also just retrieve the promo code: https://stripe.com/docs/api/promotion_codes/retrieve and check a number of those fields (ie. customer, max_redemptions, times_redeemed, etc.)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok, we'll go with trying the purchase & see then since that would cover all cases & be the easiest to implement & maintain I think
Thanks for the help
No problem