{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gnosis-pay/json-schema/gnosis-pay-set-card-limit-request-schema.json",
  "title": "SetCardLimitRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gnosis-pay-cards-api-openapi.yml#/components/schemas/SetCardLimitRequest",
  "type": "object",
  "required": [
    "amount",
    "currency"
  ],
  "properties": {
    "amount": {
      "type": "integer",
      "format": "int64",
      "minimum": 1,
      "description": "Daily spending limit in minor units of `currency`.\nUSD, EUR, and GBP use 2 decimal places, so 1000000 is 10,000.00."
    },
    "currency": {
      "type": "string",
      "description": "ISO-4217 currency code. Must match the card native currency\n(`nativeCurrency` on the card from `GET /cards`)."
    }
  }
}