Skip to content

Gets player data by playerId.

GET /v0/pam/v1/player/{playerId}

Gets player data by playerId.

Parameters

Name In Type Required Description
Authorization header string true Access token for client (See "Auth API")
X-Brand header string true Client's brand via request header.
X-Operator-Id header string true Client's operator identifier via request header.
playerId path - true Player ID

Example responses

200 Response
{
  "brandId": "<Brand>",
  "id": "683192689",
  "operatorId": "<OperatorId>",
  "profile": {
    "defaultCurrency": "CAD",
    "email": "[email protected]",
    "isBonusActivated": true,
    "isEmailTrusted": true,
    "isPhoneTrusted": false,
    "isPlayerAgree": true,
    "isShortRegistration": true,
    "livingAddress": {
      "address": "test",
      "city": "test",
      "country": "CAN"
    },
    "nationality": "test",
    "phone": "+17092346666",
    "regions": {
      "macroRegion": "<Brand>",
      "region": "CAN",
      "timestamp": 1729156458928
    },
    "registrationDate": "2024-10-17T09:07:45.5611710+00:00",
    "retail": {
      "retail": "",
      "timestamp": 1729156469603
    },
    "secretAnswer": "0000",
    "secretQuestion": "SECRET_QUESTION.PIN",
    "selectedLanguage": "en"
  },
  "registrationBrandId": "<Brand>",
  "registrationData": {
    "Currency": "CAD",
    "CurrencyId": 43,
    "CurrentChannel": "DESKTOP",
    "IpAddress": "127.0.0.1",
    "NnBonus": "True",
    "RegistrationCountryIso2": null,
    "RegistrationCountryIso3": null,
    "RegistrationDate": "2024-10-17T09:07:45.5611710+00:00",
    "RegistrationType": "Short by email",
    "brandId": "<Brand>",
    "id": "683192684",
    "operatorId": "<OperatorId>",
    "registrationBrandId": "<Brand>",
    "registrationId": "d29ffd57-8880-42aa-8313-1564a0ebf0b1",
    "registrationOperatorId": "<OperatorId>"
  },
  "registrationOperatorId": "<OperatorId>"
}
400 Response
{
  "brand": [
    "Brand is missing."
  ],
  "operatorId": [
    "Operator id is missing."
  ],
  "playerId": [
    "Failed to process list: missed player id"
  ]
}
500 Response
{
  "error": {
    "message": "Invalid response from remote service"
  }
}

Responses

Status Meaning Description Schema
200 OK Returns deletionId in case of success response None
400 Bad Request In case of invalid request None
500 Internal Server Error In case some internal error None