Balance
Method to retrieve the player’s current balance.
Request
- Path: /balance
- Retried: No
| Field | Type | Description |
|---|---|---|
playerId | string (required) | Player’s unique identifier that was returned in the authenticate call |
sessionId | string (required) | Session identifier that was returned in the authenticate call |
Example Balance request
POST https://{wallet base url}/balance HTTP/1.1
Content-Type: application/json
{
"playerId": "2b84aabc-e2cb-4fbc-a038-e2123e0a0311",
"sessionId": " a5fee2a1-45a2-41f2-9e08-f2101bf1592a "
} Response
| Field | Type | Description |
|---|---|---|
balance | decimal (required) | Player’s current balance in player’s currency |
currency | string (required) | Currency code for player’s balance |
Example Balance response
{
"balance": 100.00,
"currency": "USD"
}