Skip to main content
POST
Mint redemption codes

授权

Authorization
string
header
必填

The API key's secret (osk_…), shown once when the key is created in the console.

路径参数

eventId
string
必填

请求体

application/json
registrationTypeId
string
必填
Required string length: 1 - 100
count
integer
必填范围: 1 <= x <= 500
code
string
Pattern: ^[A-Za-z0-9-]{4,32}$
label
string | null
Maximum string length: 200
maxUses
integer | null
必填范围: 1 <= x <= 1000000
expiresAt
string<date-time> | null

响应

The minted codes.

redemptionCodes
object[]
必填