Returns the details of a specific discount coupon by its code. The code lookup is case-insensitive. The response includes the coupon’s current status (active, is_valid, is_expired) so the caller can determine how to handle it. Use this endpoint to validate and display coupon details during checkout.
API key for authentication
The coupon code to retrieve (case-insensitive)
Serializer for discount coupon information.
Unique coupon code used to redeem this discount
Display name for the coupon
Description of what this coupon provides
When this coupon expires (null means no expiration)
The type of discount this coupon provides. Only duration discount is supported for now.
Percentage discount rate applied for the duration period
Number of months the duration discount applies (999 means forever)
Whether this coupon is currently active and can be used
Whether this coupon has expired