๐งจ Bonus Cancel Endpoint
The Bonus Cancel API is used to remove all active bonuses, free rounds, and unfinished game data for a specific player. This action resets the playerโs bonus-related progress and clears any associated game states (like Free Spins or Bonus Rounds).
โ ๏ธ Attention
When this action is used, all bonus games, free spins, and total wins will be permanently lost. Use this endpoint only when a player is stuck in a bonus or has corrupted data.
โน๏ธ Description
- Resets all
Game Setting,FreeroundsandFree Spinsdata for the player. - Useful when a player is stuck in a bonus round or has corrupted bonus data.
- This operation should be used only by authorized cashiers.
POST https://proapi.gapi.lol/api/cashier/bonus/cancel/{id}
Replace {id} with the playerโs unique ID.
This endpoint requires a valid cashier Bearer token:
Authorization: Bearer <your_token>
Accept: application/json
Returns confirmation that the bonus data was deleted successfully:
{
"success": true,
"message": "OK"
}
curl -X POST "https://proapi.gapi.lol/api/cashier/bonus/cancel/3154" \
-H "Authorization: Bearer <your_token>" \
-H "Accept: application/json"
401 Unauthorized โ Wrong username or password:
{
"success": false,
"message": "Please login via API token"
}
403 Forbidden โ Account suspended or disabled:
{
"success": false,
"message": "Account suspended"
}
429 Too Many Requests โ Rate limit exceeded:
{
"success": false,
"message": "Too many attempts. Try again later."
}
500 Internal Server Error โ Server-side issue:
{
"success": false,
"message": "Unexpected server error"
}