๐ฏ Command โcancelfsโ โ Cancel Free Rounds / Feature Spins (Seamless Wallet)
This endpoint cancels a previously granted free-rounds or feature-spins session by marking all granted spins as played, paying, once, what the spins already played had won, and updating the status to reflect cancellation. Also known as command 30 in API VERSION 1.0
Upon execution:
The granted session will be marked as completed (status = 0).
Anything the played spins already won is sent to your wallet once, as a
balance_adjtype=win; the spins not yet played are dropped. The paid amount is capped by the grant'stotalwinlimitwhen that is above 0.The related gameplay will also be marked as completed (status = "ok").
{ "command": "cancelfs", "login": "demoaccount", "gameid": "6857", "freespins_id": "1510", "fs_type": "freebet", "apiusername": "your_api_username", "apipass": "your_api_password" }Parameter | Mandatory | Description | Type |
| โ | Must be | string |
| โ | Username (min. 6 characters). Required unless | string |
| โ | RGS-CWS user ID (used as an alternative to | string |
| โ | Game ID the grant was made on. | string |
| โ | Unique grant ID you want to cancel (obtained when you made the grant via Command 29=grantfs) | string |
| โ |
| string |
โ ๏ธ You must provide either login or userid โ not both.
โ Success:
{"status":"OK","message":"OK","freespins_id":328}โ Not found:
{"status":"ERROR","message":"NOT FOUND"}cancelfs answers status OK / ERROR like every other RGS command; on ERROR the message says why (NOT FOUND, or the fs_type text).
ParameterRequiredDescriptionType | |||
| โ |
| string |
| โ | Status explanation or error reason | string |
| on OK only | The integer id of the cancelled grant | integer |
Use this command only for grants that have not yet been completed by the user.
Always verify that the
freespins_idis valid and matches the game.Spins already played keep their winnings (paid once on cancel); use
fsStatusto readwon_so_farandsettledbefore or after you cancel.