Debug
🚨 These APIs assist with testing and are functional only on the staging server. They are not operational on the production server by design
Generate URL for a predetermined outcome
POST /debug/users/{user_id}/games/play
This API is used to generate a unique URL, ensuring the game always concludes with a predetermined outcome for the entire session.
Body
lang
string (optional)
"en" or "es", default is "en"
result
string
See below
Response
{
"status": "success",
"url": string, // Unique URL for the user to play the game,
"lang": string, // enum("en", "es")
"result": string, // same as input
"expiry_time": string // ISO 8601 format
}Result
jackpot
Win the highest value cash prize. Ignore all other restrictions.
tickets_only
Force tickets-only mode for the session
Set Daily Cash Limit
PUT /debug/daily-cash-limit
This API is used to update the amount of daily cash limit.
Body
cash_limit
number
Daily cash limit
Response
{
"status": "error",
"message": "cash_limit: Input should be a valid integer, got a number with a fractional part"
}{
"status": "error",
"message": string //e.g "cash_limit: Input should be a valid integer, got a number with a fractional part"
}Update Daily Spin Limit Status
PUT /debug/daily-spin-limit
This API is used to toggle the daily spin limit on and off.
Body
on
boolean
daily spin limit is enabled or not
Response
{
"status": "success",
"on": boolean //true: enable spin limit;
//false: disable spin limit
}Last updated
Was this helpful?