{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/curlec/json-schema/curlec-banking-balance-schema.json",
  "title": "BankingBalance",
  "description": "RazorpayX banking account balance.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/curlec-x-banking-balances-api-openapi.yml#/components/schemas/BankingBalance",
  "type": "object",
  "properties": {
    "entity": {
      "type": "string",
      "enum": [
        "banking_balance"
      ]
    },
    "currency": {
      "type": "string"
    },
    "account_number": {
      "type": "string"
    },
    "account_type": {
      "type": "string",
      "enum": [
        "current_account",
        "fixed_deposit",
        "razorpayx_lite"
      ]
    },
    "bank_name": {
      "type": "string"
    },
    "bank_code": {
      "type": "string",
      "description": "First 4 characters of IFSC"
    },
    "amount": {
      "type": "integer",
      "description": "Total balance in paise"
    },
    "available_amount": {
      "type": "integer",
      "description": "Available balance in paise"
    },
    "refreshed_at": {
      "type": "integer",
      "description": "Unix timestamp of last refresh"
    }
  }
}