{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fusehealth-com/json-schema/fusehealth-com-brand-balance-schema.json",
  "title": "BrandBalance",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fusehealth-com-payouts-refunds-api-openapi.yml#/components/schemas/BrandBalance",
  "type": "object",
  "properties": {
    "balance": {
      "type": "object",
      "properties": {
        "totalReceived": {
          "type": "number"
        },
        "totalWithdrawn": {
          "type": "number"
        },
        "currentBalance": {
          "type": "number"
        },
        "lastUpdated": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "stripeBalance": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "available": {
          "type": "number"
        },
        "pending": {
          "type": "number"
        }
      }
    },
    "withdrawable": {
      "type": "number"
    },
    "reserve": {
      "type": "object",
      "properties": {
        "totalHeld": {
          "type": "number"
        },
        "totalReleased": {
          "type": "number"
        },
        "totalForfeited": {
          "type": "number"
        },
        "heldCount": {
          "type": "integer"
        }
      }
    },
    "heldBalance": {
      "type": "object",
      "properties": {
        "heldOwed": {
          "type": "number"
        },
        "hasHeldBalance": {
          "type": "boolean"
        },
        "isConnected": {
          "type": "boolean"
        }
      }
    },
    "recentActivity": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  }
}