Retrieves the current balance of a player based on their player ID.
GET /balance
| Name | Type | Description |
|---|---|---|
| X-Auth-Token | string | Custom authentication header in the format X-Auth-Token: your_token_here. This token is required to authorize API requests. |
| Name | Type | Description |
|---|---|---|
| playerId | string | Unique identifier of the player whose balance is being retrieved. |
| gameUuid | string | Unique identifier of the game for which the request is being made. |
| sessionId | string | Unique identifier of the player’s session. |
| currency | string | The currency code for the transaction, typically in ISO 4217 format. |
| Name | Type | Description |
|---|---|---|
| balance | decimal | The current balance of the player. |
HTTP Status Code: 400 Bad Request| Name | Type | Description |
|---|---|---|
| error_code | string | Error code describing the specific issue. |