Adyen · Schema

DiagnosisResponse

It conveys the result of the requested diagnosis and a possible message to display on a logical device. Content of the Diagnosis Response message.

PaymentsFinancial ServicesFintechAgentic CommercePoint-of-SalePayment Processing

Properties

Name Type Description
Response object
LoggedSaleID array
POIStatus object
HostStatus array
View JSON Schema on GitHub

JSON Schema

adyen-diagnosis-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/main/json-schema/adyen-diagnosis-response-schema.json",
  "title": "DiagnosisResponse",
  "description": "It conveys the result of the requested diagnosis and a possible message to display on a logical device. Content of the Diagnosis Response message.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adyen-diagnosis-api-openapi.yml#/components/schemas/DiagnosisResponse",
  "type": "object",
  "properties": {
    "Response": {
      "$ref": "#/$defs/Response"
    },
    "LoggedSaleID": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^.+$",
        "description": "If Sale Terminal logged to this POI Terminal."
      }
    },
    "POIStatus": {
      "$ref": "#/$defs/POIStatus"
    },
    "HostStatus": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HostStatus"
      }
    }
  },
  "required": [
    "Response"
  ],
  "$defs": {
    "CashHandlingDevice": {
      "type": "object",
      "description": "Indicate the status and the remaining coins and bill in a cash handling device. Status of cash handling device.",
      "properties": {
        "CashHandlingOKFlag": {
          "type": "boolean",
          "description": "Indicates if the cash handling device is working and usable."
        },
        "Currency": {
          "type": "string",
          "pattern": "^[A-Z]{3,3}$",
          "description": "Currency of a monetary amount."
        },
        "CoinsOrBills": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CoinsOrBills"
          }
        }
      },
      "required": [
        "CashHandlingOKFlag",
        "Currency",
        "CoinsOrBills"
      ]
    },
    "CoinsOrBills": {
      "type": "object",
      "description": "Indicates the remaining number of coins or bills of a given value in a cash handling device. When the cash handling machine does not have any more coins or bills of a certain value, the number must be equal to 0. Number of coins or bills of a given value.",
      "properties": {
        "UnitValue": {
          "type": "number",
          "maximum": 99999999.999999,
          "minimum": 0,
          "description": "Value of a coin or bill."
        },
        "Number": {
          "type": "integer",
          "description": "Number of elements."
        }
      },
      "required": [
        "UnitValue",
        "Number"
      ]
    },
    "ErrorCondition": {
      "type": "string",
      "enum": [
        "Aborted",
        "Busy",
        "Cancel",
        "DeviceOut",
        "InProgress",
        "InsertedCard",
        "InvalidCard",
        "LoggedOut",
        "MessageFormat",
        "NotAllowed",
        "NotFound",
        "PaymentRestriction",
        "Refusal",
        "UnavailableDevice",
        "UnavailableService",
        "UnreachableHost",
        "WrongPIN"
      ]
    },
    "GlobalStatus": {
      "type": "string",
      "enum": [
        "Busy",
        "Maintenance",
        "OK",
        "Unreachable"
      ]
    },
    "HostStatus": {
      "type": "object",
      "description": "Indicate the reachability of the host by the POI Terminal. State of a Host.",
      "properties": {
        "AcquirerID": {
          "type": "integer",
          "description": "Identification of the Acquirer."
        },
        "IsReachableFlag": {
          "type": "boolean",
          "default": true,
          "description": "Indicate if a Host is reachable."
        }
      },
      "required": [
        "AcquirerID"
      ]
    },
    "POIStatus": {
      "type": "object",
      "description": "Indicate the availability of the POI Terminal components. The data element is absent if the component is not part of the POI Terminal. State of a POI Terminal.",
      "properties": {
        "GlobalStatus": {
          "$ref": "#/$defs/GlobalStatus"
        },
        "SecurityOKFlag": {
          "type": "boolean",
          "description": "If security module present."
        },
        "PEDOKFlag": {
          "type": "boolean",
          "description": "If PED present."
        },
        "CardReaderOKFlag": {
          "type": "boolean",
          "description": "If card reader device present."
        },
        "PrinterStatus": {
          "$ref": "#/$defs/PrinterStatus"
        },
        "CommunicationOKFlag": {
          "type": "boolean",
          "description": "If communication infrastructure present."
        },
        "CashHandlingDevice": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CashHandlingDevice"
          }
        },
        "FraudPreventionFlag": {
          "type": "boolean",
          "description": "default False."
        }
      },
      "required": [
        "GlobalStatus"
      ]
    },
    "PrinterStatus": {
      "type": "string",
      "enum": [
        "NoPaper",
        "OK",
        "OutOfOrder",
        "PaperJam",
        "PaperLow"
      ]
    },
    "Response": {
      "type": "object",
      "description": "If Result is Success, ErrorCondition is absent or not used in the processing of the message. In the other cases, the ErrorCondition has to be present and can refine the processing of the message response. AdditionalResponse gives more information about the success or the failure of the message request processing, for logging without real time involvements. Result of a message request processing.",
      "properties": {
        "Result": {
          "$ref": "#/$defs/Result"
        },
        "ErrorCondition": {
          "$ref": "#/$defs/ErrorCondition"
        },
        "AdditionalResponse": {
          "type": "string",
          "pattern": "^.+$",
          "description": "If present, the POI logs it for further examination."
        }
      },
      "required": [
        "Result"
      ]
    },
    "Result": {
      "type": "string",
      "enum": [
        "Failure",
        "Partial",
        "Success"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/adyen-diagnosis-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.