{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nmi/json-schema/nmi-get-fees-in-schedule-response-schema.json",
  "title": "Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nmi-fee-schedule-api-openapi.yml#/components/schemas/GetFeesInScheduleResponse",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "objectType": {
        "type": "string",
        "enum": [
          "fee"
        ],
        "description": "The type of object that was returned as a result of the request."
      },
      "feeType": {
        "type": "string",
        "description": "The type for this fee."
      },
      "name": {
        "type": "string",
        "description": "The name for this fee."
      },
      "sort": {
        "type": "string",
        "description": "The sort order assigned to this fee."
      },
      "description": {
        "type": "string",
        "description": "The description for this fee."
      },
      "processor": {
        "type": "object",
        "description": "The processor or service billing this fee.",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "service"
            ],
            "description": "Type of the returned response object"
          },
          "id": {
            "type": "string",
            "description": "The ID for the processor or service."
          },
          "name": {
            "type": "string",
            "description": "The name of the processor or service."
          },
          "type": {
            "type": "string",
            "enum": [
              "card",
              "check",
              "feature"
            ],
            "description": "The payment type associated with the processor or indicating the service as an extra feature."
          },
          "source": {
            "type": "string",
            "enum": [
              "internal",
              "external"
            ],
            "description": "Indicates whether or not the processor or service is run by a third-party."
          }
        }
      },
      "billMe": {
        "type": "bool",
        "description": "Whether or not this fee is billed to your partner account instead of the merchant's."
      },
      "value": {
        "type": "object",
        "description": "The amount details of this fee.",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "amount"
            ],
            "description": "Type of the returned response object"
          },
          "amount": {
            "type": "string",
            "description": "The amount being billed for this fee."
          },
          "currency": {
            "type": "string",
            "description": "The currency being billed for this fee."
          }
        }
      },
      "applyTo": {
        "type": "array",
        "description": "The merchant account types this fee applies to.",
        "items": {
          "type": "string",
          "enum": [
            "gateway",
            "mobile"
          ],
          "uniqueItems": true,
          "minItems": 1
        }
      }
    },
    "uniqueItems": true
  }
}