{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pin-payments/main/json-schema/pin-payments-card-create-schema.json",
  "title": "CardCreate",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pin-payments-cards-api-openapi.yml#/components/schemas/CardCreate",
  "type": "object",
  "required": [
    "number",
    "expiry_month",
    "expiry_year",
    "cvc",
    "name",
    "address_line1",
    "address_city",
    "address_country"
  ],
  "properties": {
    "publishable_api_key": {
      "type": "string"
    },
    "number": {
      "type": "string"
    },
    "expiry_month": {
      "type": "string"
    },
    "expiry_year": {
      "type": "string"
    },
    "cvc": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "address_line1": {
      "type": "string"
    },
    "address_line2": {
      "type": "string"
    },
    "address_city": {
      "type": "string"
    },
    "address_postcode": {
      "type": "string"
    },
    "address_state": {
      "type": "string"
    },
    "address_country": {
      "type": "string"
    }
  }
}