Skip to content
  • Type to search every guide, endpoint and MCP tool.
POST

Validate promo code

/v1/events/{event_id}/promo-codes/validate

Scope prep_manage

Price a code WITHOUT spending it — for showing "50% applied, EUR 199.50" before pay.

Deliberately not a redemption: a shopper who types a code and then abandons checkout must not burn it. The spend happens in /promo-codes/redeem once money is confirmed.

Parameters

event_idstring · pathRequired

Request body (JSON)

codestringRequired
The code to check.
amountnumberRequired
The amount to price the code against, in major units.
ticket_type_idstring (uuid)
The ticket type this applies to; leave out for all ticket types.

Responses

200Successful Response
422The request did not validate.
401The key is missing, unknown, revoked or expired.
403The key lacks the scope this call needs, or the organisation is not on Enterprise.
429Over the request rate. Wait for Retry-After seconds.