BetSolutions · Schema

BalanceResponse

Player wallet balance response.

BettingCasinosGamingGamblingSlotsSports Betting

Properties

Name Type Description
success boolean Whether the request succeeded.
playerId string The player's unique identifier.
balance number Current wallet balance.
currency string ISO 4217 three-letter currency code.
View JSON Schema on GitHub

JSON Schema

wallet-api-balance-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/betsolutions/refs/heads/main/json-schema/wallet-api-balance-response-schema.json",
  "title": "BalanceResponse",
  "description": "Player wallet balance response.",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Whether the request succeeded.",
      "example": true
    },
    "playerId": {
      "type": "string",
      "description": "The player's unique identifier.",
      "example": "player-500123"
    },
    "balance": {
      "type": "number",
      "format": "double",
      "description": "Current wallet balance.",
      "example": 125.0
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 three-letter currency code.",
      "example": "USD"
    }
  }
}