Loyalty.lt
Shop games

Start New Game Session

Initiates a new game session for a specific game

POST/{locale}/shop/games/{id}/start-session

Initiates a new game session for a specific game

Authorization

bearerAuth
AuthorizationBearer <token>

Enter JWT token in the format: Bearer {token}

In: header

Path Parameters

locale*string

Locale code

id*integer

Game ID

Response Body

application/json

curl -X POST "https://example.com/en/shop/games/1/start-session"
{  "success": true,  "data": {    "session_key": "game_session_1234567890abcdef1234567890abcdef",    "game": {      "id": 1,      "name": "Wheel of Fortune",      "type": "wheel_of_fortune",      "description": "Spin the wheel to win prizes",      "is_active": true,      "is_featured": false,      "points_cost": 100,      "daily_limit": 5,      "can_play": true,      "play_restriction": null    },    "expires_at": "2023-10-27T11:00:00Z",    "points_deducted": 100  }}