{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cash-app/main/json-schema/cash-app-balances-retrieve-balance-response-200-schema.json",
  "title": "Balances_retrieve-balance_Response_200",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cash-app-balances-api-openapi.yml#/components/schemas/Balances_retrieve-balance_Response_200",
  "type": "object",
  "properties": {
    "balance": {
      "$ref": "#/$defs/Balance"
    }
  },
  "required": [
    "balance"
  ],
  "$defs": {
    "Balance": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for this balance issued by Cash App.\n\nMin length: `1`\nMax length: `256`"
        },
        "customer_id": {
          "type": "string",
          "description": "ID of the customer associated with this balance.\n\nMin length: `1`\nMax length: `128`"
        },
        "type": {
          "$ref": "#/$defs/BalanceType"
        },
        "currency": {
          "$ref": "#/$defs/Currency"
        },
        "amount": {
          "type": "integer",
          "description": "The balance amount, in the lowest denomination of the currency (for example, cents for USD)."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "When this balance was created, in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) format (UTC)."
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "When this balance was last updated, in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) format (UTC)."
        }
      },
      "required": [
        "id",
        "customer_id",
        "type",
        "currency",
        "amount"
      ],
      "title": "Balance"
    },
    "BalanceType": {
      "type": "string",
      "enum": [
        "CHECKING"
      ],
      "description": "The type of balance.",
      "title": "BalanceType"
    },
    "Currency": {
      "type": "string",
      "enum": [
        "USD"
      ],
      "description": "Indicates the country associated with an entity. Values are from the [ISO-4217 Alpha-3](https://www.iso.org/iso-4217-currency-codes.html) specification.\n\nCurrent values:\n\n- `USD`: United States Dollar",
      "title": "Currency"
    }
  }
}