{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/currencycloud/main/json-schema/currencycloud-balance-schema.json",
  "title": "Balance",
  "description": "Balance.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/currencycloud-balances-api-openapi.yml#/components/schemas/Balance",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Balance UUID",
      "format": "UUID"
    },
    "account_id": {
      "type": "string",
      "description": "Account UUID",
      "format": "UUID"
    },
    "currency": {
      "type": "string",
      "description": "Three-letter ISO currency code for the currency the amount is shown in."
    },
    "amount": {
      "type": "string",
      "description": "The balance amount."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Date/time the record was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Date/time the record was last updated."
    }
  }
}