Support Discount Validation by Code Name
Add an API option to validate discount codes directly using the code/display name (instead of requiring discount_id). This would allow real-time validation directly against the Dodo API and simplify integrations by avoiding extra mapping or sync logic.
Log in to comment and vote
Comments2
Jan 20
PinnedWe have released this feature.
Check the below API for the same.
https://docs.dodopayments.com/api-reference/discounts/get-discount-by-code
Zachary Sura
Jan 19
YES! Thank you! This would allow us to not have to maintain a discount_id (string) mapping table and just go website bff—>dodo and back!