{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nmi/json-schema/nmi-query-profile-with-processor-details-response-schema.json",
  "title": "Response - Profile Report Type With Processor Details",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nmi-data-and-transaction-reporting-api-openapi.yml#/components/schemas/QueryProfileWithProcessorDetailsResponse",
  "type": "object",
  "properties": {
    "nm_response": {
      "type": "object",
      "properties": {
        "protected": {
          "type": "string",
          "description": "Indicates whether the response is protected"
        },
        "is_gateway": {
          "type": "string",
          "description": "Indicates whether the response is related to a gateway"
        },
        "merchant": {
          "type": "object",
          "properties": {
            "company": {
              "type": "string",
              "description": "Merchant's company name"
            },
            "email": {
              "type": "string",
              "description": "Merchant's email address"
            },
            "phone": {
              "type": "string",
              "description": "Merchant's phone number"
            },
            "url": {
              "type": "string",
              "description": "Merchant's website URL"
            },
            "address1": {
              "type": "string",
              "description": "Merchant's primary address line"
            },
            "address2": {
              "type": "string",
              "description": "Merchant's secondary address line"
            },
            "city": {
              "type": "string",
              "description": "Merchant's city"
            },
            "state": {
              "type": "string",
              "description": "Merchant's state"
            },
            "zip": {
              "type": "string",
              "description": "Merchant's ZIP code"
            },
            "country": {
              "type": "string",
              "description": "Merchant's country"
            },
            "timezone": {
              "type": "string",
              "description": "Merchant's timezone"
            },
            "card_schemes": {
              "type": "string",
              "description": "Supported card schemes by the merchant"
            }
          }
        },
        "gateway": {
          "type": "object",
          "properties": {
            "company": {
              "type": "string",
              "description": "Gateway's company name"
            },
            "url": {
              "type": "string",
              "description": "Gateway's website URL"
            },
            "email": {
              "type": "string",
              "description": "Gateway's email address"
            },
            "phone": {
              "type": "string",
              "description": "Gateway's phone number"
            },
            "primary_color": {
              "type": "string",
              "description": "Gateway's primary color code"
            },
            "complimentary_color_1": {
              "type": "string",
              "description": "Gateway's first complimentary color code"
            },
            "complimentary_color_2": {
              "type": "string",
              "description": "Gateway's second complimentary color code"
            }
          }
        },
        "merchant_defined_fields": {
          "type": "array",
          "description": "Merchant-defined fields",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "processors": {
          "type": "object",
          "properties": {
            "processor": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Processor's unique identifier"
                  },
                  "type": {
                    "type": "string",
                    "description": "Processor's type"
                  },
                  "platform": {
                    "type": "string",
                    "description": "Processor's platform"
                  },
                  "tap_to_mobile": {
                    "type": "object",
                    "description": "Details related to tap mobile functionality"
                  },
                  "required_fields": {
                    "type": "string",
                    "description": "Fields required by the processor"
                  },
                  "currencies": {
                    "type": "object",
                    "description": "Supported currencies by the processor"
                  },
                  "merchant_category_code": {
                    "type": "string",
                    "description": "Merchant category code associated with the processor"
                  }
                }
              }
            }
          }
        },
        "merchant_favicon": {
          "type": "string",
          "description": "Merchant's favicon data"
        },
        "account_details": {
          "type": "object",
          "properties": {
            "account_status": {
              "type": "string",
              "description": "Status of the merchant's account"
            },
            "test_mode_enabled": {
              "type": "string",
              "description": "Indicates whether test mode is enabled for the merchant's account"
            }
          }
        }
      }
    }
  }
}