Skip to main content
POST
Redeem an event promo code

Authorizations

Authorization
string
header
required

JWT authentication token

Body

application/json
code
string
required

The promo code to redeem. Case-insensitive.

Required string length: 1 - 64

Response

Promo code redeemed

credits_granted
number<double>
required

Credits added to the balance by this redemption

source
enum<string>
required

Event the redeemed code belongs to

Available options:
blackhat,
defcon
expires_at
string<date-time> | null

New expiry for the credit balance. Null when the balance never expires, which a promo redemption never changes.