When
Before any other API request
Call
POST JSON to your API Base URL
Operator
Always send it, even if the player may already exist
Next
If the player already exists, the request is redirected internally to playerExists. You still get a successful player payload.
Method Request
{
"api_login": "d13b1ceb-6209-4163-b1cf-f304c28b81ec",
"api_password": "dqRin2nfLosij2n88",
"method": "createPlayer",
"user_username": "yourPlayerId9959",
"user_password": "superSecretPlayerPassword",
"currency": "USD"
}Successful Response
{
"error": 0,
"response": {
"id": 51,
"username": "yourPlayerId9959",
"balance": "0.00",
"currencycode": "USD",
"created": "2023-10-10T11:44:22.000000Z",
"agent_balance": null
}
}