Skip to main content

Activate Free Spin Bonus

Request​

URI: /activateFsb

Example usage: https://{base_url}/activateFsb

The request is executed using the POST method.

This endpoint is used to activate free spin bonus for a player. It should be called once the player is validated and ready to receive a Free Spin Bonus.

note

The bonus is valid for up to 1 month after activation, and the bonusExpired date must not exceed 30 days from the bonusStart date; any expiration period longer than 1 month will be rejected

Request parameters

NameTypeRequiredDescription
userIdstringYesUnique identifier of the player in the operator’s system
countrystringYesPlayer’s country code in ISO 3166-1 format (e.g., UA, DE, BR)
tokenstringYesPlayer token used to validate communication between the platform and the aggregator service. Acts like a changing password that ensures the player session is authenticated
gameIdstringYesIdentifier of the game for which the bonus is being applied
bonusobjectYesObject containing the Free Spin bonus details, including the bonus name, number of spins, bet amount per spin, start and expiration date and time
bonus.bonusNamestringYesUnique name or identifier for the bonus campaign
bonus.bonusRoundsstringYesTotal number of granted free spins
bonus.bonusBetstringYesBet amount applied per free spin
bonus.bonusExpiredstringYesBonus expiration time in ISO 8601 format
Represents the exact time the bonus will expire
bonus.bonusStartstringYesBonus start time in ISO 8601 format
Represents the exact time the bonus will start

Example of a request

Request: /activateFsb
{
    "userId":"1015720",
    "country":"UA",
    "token":"kP1Rkyjj52i7up91",
    "gameId":"1037566",
    "bonus":{
        "bonusName":"test1604291",
        "bonusRounds":"2",
        "bonusBet":"20",
"bonusExpired":"11-06-2025 15:00:15",
"bonusStart":"09-06-2025 12:00:10"
}
}

Response parameters

NameTypeRequiredDescription
statusbooleanYesIndicates whether the request was successfully processed
true: Bonus was successfully activated
false: Bonus activation failed
codeintegerYesError code
For a complete list of possible error responses, please refer to link
errorstringYesType of error
detailsarrayYesAdditional information about the error

Example of a successful response

Response: /activateFsb
{
"status": true
}

Example of an unsuccessful response

Response: /activateFsb
{
"code": 2007,
"error": "Free spin exceeds30 days",
"status": false,
"details": [
"Bonus expiration date is more than 30 days from the start date."
]
}