API Methods
Player Exists

playerExists Method

The playerExists method is deprecated and should not be called directly.

Instead, you should always use the createPlayer method.
If the player already exists, the request is automatically redirected internally to playerExists.

This ensures a safe and consistent player initialization flow.


Method Request

{
  "api_login": "d13b1ceb-6209-4163-b1cf-f304c28b81ec",
  "api_password": "dqRin2nfLosij2n88",
  "method": "playerExists",
  "user_username": "yourPlayerId9959",
  "currency": "USD"
}

Successful Response

{
  "error": 0,
  "response": {
    "id": 53,
    "username": "yourPlayerId9959",
    "balance": "0.00",
    "created": "2023-10-10T11:48:39.000000Z",
    "agent_balance": null
  }
}

Player Not Found Response

This response is returned when the specified player does not exist.

{
  "error": 1,
  "message": "Player does not exist"
}