Feature Requests
Complete

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.

2 Comments

Sign in to comment

Ayush Agarwal·6 months ago

We have released this feature.
Check the below API for the same.

https://docs.dodopayments.com/api-reference/discounts/get-discount-by-code

Posting anonymously

Zachary Sura·6 months ago

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!

Posting anonymously