Skip to content

Game List Query

Query the list of active games authorized for the current Agent.

API Information

PropertyValue
PathPOST /papi/v1/game/list
AuthenticationAgent Token (Bearer)
Content-Typeapplication/x-www-form-urlencoded

Request Headers

HeaderValueRequired
AuthorizationBearer {agent_token}✅ Yes

Request Parameters

ParameterTypeRequiredDescription
providerstringNoGame provider code (e.g., GSC, SA, WM)
game_typestringNoGame type (e.g., SLOT, LIVE, LOTTERY, POKER), equivalent to category
categorystringNoGame category, takes priority over game_type
currencystringNoSettlement currency code, returns games supporting this currency (use all for no filter)
pageintNoPage number, default 1
pageSizeintNoPage size, default 10, maximum 100

Request Example

bash
curl -X POST https://api.example.com/papi/v1/game/list \
  -H "Authorization: Bearer {agent_token}" \
  -d "provider=GSC&game_type=SLOT&page=1&pageSize=20"

Response Fields

Data Fields

FieldTypeDescription
listarrayList of game objects
totalintTotal count
pageintCurrent page
pageSizeintPage size

list[Item] Fields

FieldTypeDescription
idstringGame GUID
namestringGame name
codestringGame code
category_codestringGame category code (corresponds to game_type in DB)
game_typestringGame category code (same as category_code)
currencystringSettlement currency code
providerstringGame provider code
brandstringGame brand
imagestringGame image URL
is_maintenancebooleanWhether the game is in maintenance

Successful Response

json
{
  "status": true,
  "code": 0,
  "data": {
    "list": [
      {
        "id": "210889a00fc2472992eb040d10d4527f",
        "name": "10 Sparkling Crown",
        "code": "526",
        "category_code": "SLOT",
        "game_type": "SLOT",
        "currency": "IDR",
        "provider": "GSC",
        "brand": "JA",
        "image": "https://images.gscplusmd.com/statics/staging/publics/images/games/1/1091/SLOT/526.png",
        "is_maintenance": false
      }
    ],
    "total": 1,
    "page": 1,
    "pageSize": 20
  },
  "msg": "获取成功"
}

Error Response

json
{
  "status": false,
  "code": 7,
  "data": {},
  "msg": "operator_code mismatch"
}

VCT Gaming Integration Platform