Skip to main content
POST
Validate a promo code

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Body

application/json
code
string
required

Response

Promo validation result

valid
boolean
discount_percent
number | null
discount_amount_cents
integer | null
name
string | null