#MarkoBoras
1 messages · Page 1 of 1 (latest)
You'd use the list endpoint, passing the code param: https://stripe.com/docs/api/promotion_codes/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yep, should return all the promo_xxx objects that have that code
Then you can determine if valid from that
tnx