Skip to main content
  • Creates a free spin event.

Path

Headers

FieldTypeRequiredDescription
AuthorizationstringYesToken we provide
Content-TypestringYesmultipart/form-data

Request parameters

FieldTypeRequiredSignedDescription
channelIDnumberYes✓Channel ID (0 means all channels)
startTimestringYes✓Start time (see Time format)
endTimestringYes✓End time (see Time format)
eventNamestringYes✓Event name
currencystringYes✓Currency (contact our business team)
gameIDListnumber[]Yes✓Eligible game IDs (at least 1, no duplicates, each greater than 0). In form-data, repeat the field once per value.
minWithdrawstringYes✓Minimum payout (amount string, 0.01–999,999,999, up to 2 decimal places)
maxWithdrawstringYes✓Maximum payout (amount string, 0.01–999,999,999, up to 2 decimal places, at least minWithdraw)
freeSpinTimesnumberYes✓Number of free spins (integer from 1 to 99)
validDaysnumberYes✓Valid days (1–31)
joinOptionsstring[]Yes✓Join options (1–2 items, no duplicates, only auto or add). auto: every member of the channel can join until the quota is full. add: members you specify with Grant free spins join until the quota is full. In form-data, repeat the field once per value.
allowDuplicateJoinstringNo✓Whether one member can receive multiple grants (true / false; empty means false). Must be false when joinOptions includes auto.
maxGrantCountnumberYes✓Maximum number of grants (1–99,999)
maxGrantsPerMembernumberYes✓Maximum grants per member (at least 1). Must be 1 when allowDuplicateJoin=false; at least 1 when allowDuplicateJoin=true.
betstringYes✓Bet per spin (amount string, 0.01–999,999,999, up to 2 decimal places)
zoneIDstringNo✓Display time zone (GMT-12 to GMT+12; empty means GMT+8)
giftCodesstringNo✓Gift codes (not yet supported; only applies when joinOptions includes add). JSON string format: [{“code”:“GC2024NY”,“total”:100}]; code is 5–10 alphanumeric characters; total is an integer of at least 1.
settlePerSpinstringNo✓Settlement mode (true / false; true pays out on every spin; empty means false)
signstringYesSignature. See Signature for how to generate it

Response

Success (the HTTP status code is always 200; check status.code for the result)
FieldTypeDescription
dataobject
data.eventIDstringEvent ID (24-character hex)
statusobjectResponse status. See Response format

Response example

Response codes

Besides the common codes, this API may also return: