{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rubin-trade/json-schema/rubin-trade-get-v4-cards-operations-summary-response-schema.json",
  "title": "GetV4CardsOperationsSummaryResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/rubin-trade-openapi-generated.yml#/components/schemas/GetV4CardsOperationsSummaryResponse",
  "type": "object",
  "properties": {
    "month": {
      "type": "string",
      "description": "Month of summary."
    },
    "spentUsd": {
      "type": "string",
      "description": "Total spent."
    },
    "topupUsd": {
      "type": "string",
      "description": "Total top‑ups."
    },
    "withdrawUsd": {
      "type": "string",
      "description": "Total withdrawals."
    },
    "refundUsd": {
      "type": "string",
      "description": "Total refunds."
    },
    "declinedCount": {
      "type": "integer",
      "description": "Number of declined purchases."
    },
    "byMerchant": {
      "type": "array",
      "description": "Top merchants with amount and count."
    }
  }
}