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

Redeem promo code

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

Scope prep_manage

Atomically spend one redemption of a promo code and return the discounted amount. Safe under concurrent calls: a code can never be over-spent. Call this once payment is confirmed, not when checkout opens; an invalid or exhausted code returns valid: false with a reason.

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.