{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/funds-detail-balance-schema.json",
  "title": "DetailBalance",
  "description": "DetailBalance schema from Adyen API",
  "type": "object",
  "properties": {
    "balance": {
      "description": "The list of balances held by the account.",
      "items": {
        "$ref": "#/components/schemas/Amount"
      },
      "type": "array"
    },
    "onHoldBalance": {
      "x-addedInVersion": "5",
      "description": "The list of on hold balances held by the account.",
      "items": {
        "$ref": "#/components/schemas/Amount"
      },
      "type": "array"
    },
    "pendingBalance": {
      "description": "The list of pending balances held by the account.",
      "items": {
        "$ref": "#/components/schemas/Amount"
      },
      "type": "array"
    }
  }
}