{
  "$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"
    }
  }
}