{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nmi/json-schema/nmi-card-type-lookup-request-schema.json",
  "title": "Lookup Card Type",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nmi-processors-and-services-api-openapi.yml#/components/schemas/CardTypeLookupRequest",
  "allOf": [
    {
      "type": "object",
      "required": [
        "ccnumber"
      ],
      "properties": {
        "ccnumber": {
          "type": "string",
          "enum": [
            "510840",
            "543267",
            "453978",
            "454634",
            "341382"
          ],
          "description": "Credit card Issuer Identification Number (IIN).\n\n<details>\n<summary>Allowed Card Numbers:</summary>\n\n| Card Type                | Test Card IIN |\n|:-------------------------|:--------------|\n| Mastercard Debit         | 510840        |\n| Mastercard Credit        | 543267        |\n| Visa Debit               | 453978        |\n| Visa Credit              | 454634        |\n| American Express Unknown | 341382        |\n</details>"
        }
      }
    }
  ]
}