Retrieve Discount
Retrieve details of a specific discount code using its ID.
Authorizations
Authenticate requests using your standard bearer API key (e.g. YOUR_API_KEY).
Path Parameters
The unique discount ID.
"disc_123"
Response
Successfully retrieved discount details.
Represents a discount code created under your business, containing type, amount, usage limits, and expiration details.
The unique prefix-based identifier of the discount (e.g., disc_cs8f67sd7f6fw3fs).
"disc_cs8f67sd7f6fw3fs"
Alias for the unique identifier of the discount.
"disc_cs8f67sd7f6fw3fs"
The unique discount code (e.g. SAVE10) used during checkout.
The discount calculation type: percentage or fixed_amount.
percentage, fixed_amount The discount value. For percentage type, it is in basis points (e.g. 1000 = 10.00%). For fixed_amount type, it is in cents (e.g. 1000 = $10.00).
Maximum number of times this discount code can be redeemed. Null represents unlimited usage.
The number of times this discount code has been successfully redeemed.
The expiration timestamp after which the discount code is no longer valid.
The current status of the discount.
active, expired The unique identifier associated with the business this discount belongs to.
Timestamp indicating exactly when the discount was created.
Timestamp indicating when the discount was last updated.
The customer-facing name of the discount code (e.g. Summer Sale).