/
3.1 getPlayerBalance()

3.1 getPlayerBalance()

Returns the players current balance in our system.


REST REQUEST
Array
(
	[api_password] => xapitest
	[api_login] => xapitest
	[method] => getPlayerBalance
	//[user_id] => 123 //DEPRECATED
	[user_username] => domendomen2
	[user_password] => 687ee8d988b2411bfc6983c4fca2f6c622819ac8
	[currency] => EUR
)
REST RESPONSE
{"error":0,"response":"20.00"}

User must be logged in first!

Source Code
public function getPlayerBalance(){
	return $this->client->playerBalance();
}

Related content