{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/onebrick/main/json-schema/onebrick-get-v2-payments-gs-balance-response-schema.json",
  "title": "GetV2PaymentsGsBalanceResponse",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/onebrick-openapi-generated.yml#/components/schemas/GetV2PaymentsGsBalanceResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "balance": {
          "type": "object",
          "properties": {
            "usableBalance": {
              "type": "integer"
            },
            "pendingBalance": {
              "type": "integer"
            },
            "totalBalance": {
              "type": "integer"
            }
          }
        },
        "sameDaySettlement": {
          "type": "object",
          "properties": {
            "isActive": {
              "type": "boolean"
            },
            "earlySettlementBalanceQuota": {
              "type": "integer"
            }
          }
        }
      }
    },
    "metaData": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string"
        },
        "entity": {
          "type": "string"
        }
      }
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}