Admin.FunBalanceAddX
From FreePokerAlliance wiki
Contents |
Description
Adds the indicated amount to the player’s balance.
Parameters
| Required | Name | Type | Default value | Description |
|---|---|---|---|---|
| required | Command | string | FunBalanceAddX | API method name |
| required | UID | string | Player's username | |
| required | Balance | int | The amount to add to (if the amount is positive) or substract from (if negative) the player balance. |
Example Request
OAuth signed request, example only available in the Client Libraries.
Response
This command returns only a status code indicating that the request succeeded or not.
Error Codes
| Code | Description |
|---|---|
| Status=ERROR | An error occured |
| Status=OK | Registration successful |
| ERROR=ParameterName1,ParameterName2,...,ParameterNameN | Indicates which parameter names have wrong values |
