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)
operator_codestringNoOperator code (will be validated against Agent Code bound to Token)
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&operator_code=OP001&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)

Successful Response

json
{
  "code": 0,
  "data": {
    "list": [
      {
        "id": "0ea6ad82fb0e4b898da5af7e274cb742",
        "name": "Golden Wheel of Fish, Shrimp and Crab",
        "code": "5031",
        "category_code": "SLOT"
      }
    ],
    "total": 1,
    "page": 1,
    "pageSize": 20
  },
  "msg": "获取成功"
}

Error Response

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

VCT Gaming Integration Platform