Skip to main content

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.

Status: Completed2 comments

Log in to comment and vote

Comments2

  • Ayush Agarwal changed status to Completed
    Team•

    Jan 20

    Pinned

    We 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!