Preview a promo code before signup
get
https://api.expiryedge.com/v1/checkPromoCodeÖffentlich - kein API-Schlüssel10/15 min
Anfrage
curl 'https://api.expiryedge.com/v1/checkPromoCode?code=LAUNCH80'Antwort
{
"valid": true,
"code": "LAUNCH80",
"discount_percentage": 80,
"expiry_window_hours": 72
}Read-only preview for the signup page; the code is applied at register (promo_code). Unknown codes and
server errors return 200 with valid: false.
codestringerforderlichPromo code (case-insensitive).
200
Code validity.
validbooleanerforderlichreasonstringErlaubtmissing_codeinvalid_or_expirederrorcodestringdiscount_percentagenumberexpiry_window_hoursnumberHours after signup during which the discount can be redeemed.
400 | Missing code. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
