Cancel Freespins
🎁 Description
🎯 Command “cancelfs” – Cancel Freespins (Seamless Wallet)
This endpoint cancels a previously granted freespins session by marking all freespins as played, assigning no winnings that occured in the freespins session, and updating the status to reflect cancellation. Also known as command 30 in API VERSION 1.0
Upon execution:
The freespins session will be marked as completed (status = 0).
No wins from the freespins session will be credited to the user.
The related gameplay will also be marked as completed (status = "ok").
📜 Sample JSON Request (from your server to the RGS-CWS server)
{ "command": "cancelfs", "login": "demoaccount", "gameid": "6857", "freespins_id": "1510", "expiry_date": "2024-01-01 00:00:00" }📥 Input Parameters (from your server to the RGS-CWS server)
⚠️ You must provide either login or userid — not both.
📃 Sample JSON Response (returned by RGS-CWS)
{ "status": "OK", "message": "Freespins successfully canceled", "freespins_id": "1510" }📤 Output Parameters (returned by RGS-CWS)
✅ Operator Action Required
Use this command only for freespins that have not yet been completed by the user.
Always verify that the
freespins_idis valid and matches the game.A canceled freespins session will mark all spins as completed with no winnings applied.
A cancelled freespins session will mark the gameplay id as completed (not cancelled), but the winnings from freespins will not be granted to the user. Just the winnings from main spin will remain granted, as they were granted before the freespins round began.