Loyalty.lt
Shop games

List Available Games

Get a paginated list of available games with filtering options

GET/{locale}/shop/games

Get a paginated list of available games with filtering options

Authorization

bearerAuth
AuthorizationBearer <token>

Enter JWT token in the format: Bearer {token}

In: header

Path Parameters

locale*string

Locale code

Query Parameters

type?string

Filter by game type

Value in

  • "slot_machine"
  • "wheel_of_fortune"
  • "scratch_card"
  • "memory"
  • "quiz"
  • "puzzle"
category?string

Filter by game category

Lengthlength <= 50
is_active?boolean

Filter by active status

playable_only?boolean

Show only games user can currently play

search?string

Search by game name or description

Lengthlength <= 100
page?integer

Page number

Range1 <= value
per_page?integer

Items per page

Range1 <= value <= 100

Response Body

application/json

curl -X GET "https://example.com/en/shop/games"
{  "success": true,  "data": {    "data": [      {        "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      }    ],    "meta": {}  }}