Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 7 Next »

Logout player using the data passed in the constructor.

REST REQUEST
Array
(
	[api_password] => xapitest
	[api_login] => xapitest
	[method] => logoutPlayer
	[user_id] => 123
	[user_username] => domendomen2
	[user_password] => 687ee8d988b2411bfc6983c4fca2f6c622819ac8
	[currency] => EUR
)
REST RESPONSE
{"error":0,"response":
{"id":"41457","username":"xxdomendomen2","balance":"20.00","currencycode":"EUR","created":"2013-02-15
14:57:47","agent_balance":null}}
Source Code
public function logoutPlayer(){            // $player Array('username' => '', 'passwrd' => '')
	return $this->client->playerLogout($this->user);
}
  • No labels