From FreePokerAlliance wiki
Description
Returns the user's balance.
Parameters
| Required
| Name
| Type
| Default value
| Description
|
| required | Command | string | GetBalance | API method name
|
| required | UID | string | | Player's username
|
| required | PWD | string | | Player's password
|
| required | IsFun | string | True | Should always be set to this value.
|
Example Request
Replace XXXXXXXXXX with actual data.
Response
| Name
| Type
| Default value
| Description
|
| Command | string | GetBalance | API method name
|
| PlayerID | int | | Numeric ID of the player
|
| Playable | money | | Playable balance
|
| Bonus | money | | Bonus (Applies in real-money mode only)
|
| Withdrawal | money | | The amount the player can withdraw from the system (Applies in real-money mode only)
|
Error Codes
| Code
| Description
|
| Status=ERROR | An error occured
|
| Status=OK | Registration successful
|
| ERROR=ParameterName1,ParameterName2,...,ParameterNameN | Indicates which parameter names have wrong values
|