This API request enables the operator to register a player in DG system. Password sent in POST parameters by the operator must be encrypted.
CreatePlayer() Request
Type | Input |
---|---|
HTTP Method | POST |
API URL | https://<API_BASE_URL>/v1/player/create-player/ |
Headers | "Content-Type": "application/json" |
POST Parameters | json object e.g.: { |
Parameters | Type | Description |
---|---|---|
api_key | String | API Key allocated to each front-end |
player_id | String | Player ID of the player known to the operator |
username | String | Username of the player |
password | String | Player’s password |
currency | String | 3 letter ISO currency symbol |
country | String | 2 letter ISO country code |
CreatePlayer() Response + Example
Response would be in JSON format. Type: dictionary.
{
"result": {"status": "success"
}
}
Object/Key in Response Object | Type | Description |
---|---|---|
result | JSON Object | Key result contains the JSON object as value. |
status | String | Response status |