Preview a promo code before signup

gethttps://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.

Query-Parameter

  • codestringerforderlich
    Promo code (case-insensitive).

Rückgabe

200
Code validity.
  • validbooleanerforderlich
  • reasonstring
    Erlaubtmissing_codeinvalid_or_expirederror
  • codestring
  • discount_percentagenumber
  • expiry_window_hoursnumber
    Hours after signup during which the discount can be redeemed.

Fehler

400
Missing code.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.