Adyen · Schema

MessageHeader

It conveys Information related to the Sale to POI protocol management. Message header of the Sale to POI protocol message.

PaymentsFinancial ServicesFintech

Properties

Name Type Description
ProtocolVersion string If MessageCategory is Login or Diagnosis.
MessageClass object
MessageCategory object
MessageType object
ServiceID string Required if Service or Event MessageClass message or if Device MessageClass and request from POI or response from Sale.
DeviceID string If Device MessageClass.
SaleID string Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.
POIID string Identification of a POI System or a POI Terminal for the Sale to POI protocol.
View JSON Schema on GitHub

JSON Schema

adyen-messageheader-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MessageHeader",
  "title": "MessageHeader",
  "type": "object",
  "description": "It conveys Information related to the Sale to POI protocol management. Message header of the Sale to POI protocol message.",
  "properties": {
    "ProtocolVersion": {
      "type": "string",
      "pattern": "^.+$",
      "description": "If MessageCategory is Login or Diagnosis."
    },
    "MessageClass": {
      "$ref": "#/components/schemas/MessageClass"
    },
    "MessageCategory": {
      "$ref": "#/components/schemas/MessageCategory"
    },
    "MessageType": {
      "$ref": "#/components/schemas/MessageType"
    },
    "ServiceID": {
      "type": "string",
      "pattern": "^.{1,10}$",
      "description": "Required if Service or Event MessageClass message or if Device MessageClass and request from POI or response from Sale."
    },
    "DeviceID": {
      "type": "string",
      "pattern": "^.{1,10}$",
      "description": "If Device MessageClass."
    },
    "SaleID": {
      "type": "string",
      "pattern": "^.+$",
      "description": "Identification of a Sale System or a Sale Terminal for the Sale to POI protocol."
    },
    "POIID": {
      "type": "string",
      "pattern": "^.+$",
      "description": "Identification of a POI System or a POI Terminal for the Sale to POI protocol."
    }
  },
  "required": [
    "MessageClass",
    "MessageCategory",
    "MessageType",
    "SaleID",
    "POIID"
  ]
}