{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nmi/json-schema/nmi-get-merchant-or-partner-user-info-response-schema.json",
  "title": "Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nmi-users-api-openapi.yml#/components/schemas/GetMerchantOrPartnerUserInfoResponse",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "description": "ID of merchant or partner."
      },
      "created": {
        "type": "string",
        "format": "date-time",
        "description": "Timestamp when the merchant/partner was created."
      },
      "updated": {
        "type": "string",
        "format": "date-time",
        "description": "Timestamp when the merchant/partner was last updated."
      },
      "firstName": {
        "type": "string",
        "description": "First name of the merchant/partner."
      },
      "lastName": {
        "type": "string",
        "description": "Last name of the merchant/partner."
      },
      "title": {
        "type": "string",
        "description": "Title of the merchant/partner."
      },
      "email": {
        "type": "string",
        "description": "Email address of the merchant/partner."
      },
      "username": {
        "type": "string",
        "description": "Username of the merchant/partner."
      },
      "isTwoFactorEnabled": {
        "type": "boolean",
        "description": "Indicates if two-factor authentication is enabled for the merchant/partner."
      },
      "permissions": {
        "type": "object",
        "description": "Permissions assigned to the merchant/partner.",
        "title": "Permissions",
        "properties": {
          "merchants": {
            "type": "boolean",
            "description": "Permission to manage merchants."
          },
          "resellers": {
            "type": "boolean",
            "description": "Permission to manage resellers."
          },
          "transactions": {
            "type": "boolean",
            "description": "Permission to manage transactions."
          },
          "billing": {
            "type": "boolean",
            "description": "Permission to manage billing."
          },
          "commission": {
            "type": "boolean",
            "description": "Permission to manage commissions."
          },
          "options": {
            "type": "boolean",
            "description": "Permission to manage options."
          },
          "fees": {
            "type": "boolean",
            "description": "Permission to manage fees."
          },
          "sublogin": {
            "type": "boolean",
            "description": "Permission to manage sublogins."
          },
          "twoFactorLogin": {
            "type": "boolean",
            "description": "Permission to manage two-factor login settings."
          },
          "googleAuthenticatorLogin": {
            "type": "boolean",
            "description": "Permission to manage Google Authenticator login settings."
          },
          "viewReleaseNotes": {
            "type": "boolean",
            "description": "Permission to view release notes."
          },
          "webhookConfig": {
            "type": "boolean",
            "description": "Permission to configure webhooks."
          },
          "orderDevices": {
            "type": "boolean",
            "description": "Permission to order devices."
          },
          "orderDeviceHistory": {
            "type": "boolean",
            "description": "Permission to view order device history."
          },
          "useCustomerVault": {
            "type": "boolean",
            "description": "Permission to use the customer vault."
          }
        }
      },
      "notifications": {
        "type": "object",
        "description": "Notifications for the merchant/partner.",
        "title": "Notifications",
        "properties": {
          "releaseNotesEmails": {
            "type": "boolean",
            "description": "Indicates if the user receives release notes emails."
          },
          "acuEmails": {
            "type": "boolean",
            "description": "Indicates if the user receives Automatic Card Updater emails."
          }
        }
      },
      "viewVersion": {
        "type": "integer",
        "description": "Version of the view."
      },
      "mainUser": {
        "type": "boolean",
        "description": "Indicates if the merchant/partner is the main user."
      },
      "hasUsedCredentialsForApiLogin": {
        "type": "boolean",
        "description": "Indicates if the merchant/partner has used credentials for API login."
      },
      "parent": {
        "type": "object",
        "description": "Parent entity information.",
        "title": "Parent",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of the parent entity."
          },
          "id": {
            "type": "string",
            "description": "ID of the parent entity."
          }
        }
      },
      "gatewayTitle": {
        "type": "string",
        "description": "Title of the gateway."
      }
    }
  }
}