Adyen · JSON Structure

Terminal Card Reader Apdu Request Structure

It contains the APDU request to send to the chip of the card, and a possible invitation message to display on the CashierInterface or the CustomerInterface. Content of the Card Reader APDU Request message.

Type: object Properties: 6 Required: 4
PaymentsFinancial ServicesFintech

CardReaderAPDURequest is a JSON Structure definition published by Adyen, describing 6 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

APDUClass APDUInstruction APDUPar1 APDUPar2 APDUData APDUExpectedLength

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/terminal-card-reader-apdu-request-structure.json",
  "description": "It contains the APDU request to send to the chip of the card, and a possible invitation message to display on the CashierInterface or the CustomerInterface. Content of the Card Reader APDU Request message.",
  "type": "object",
  "properties": {
    "APDUClass": {
      "type": "string",
      "format": "byte",
      "pattern": "^.{1,1}$",
      "description": "Class field of the APDU command (CLA)."
    },
    "APDUInstruction": {
      "type": "string",
      "format": "byte",
      "pattern": "^.{1,1}$",
      "description": "Instruction field of the APDU command (INS)."
    },
    "APDUPar1": {
      "type": "string",
      "format": "byte",
      "pattern": "^.{1,1}$",
      "description": "Parameter 1 field of the APDU command (P1)."
    },
    "APDUPar2": {
      "type": "string",
      "format": "byte",
      "pattern": "^.{1,1}$",
      "description": "Parameter 2 field of the APDU command(P2)."
    },
    "APDUData": {
      "type": "string",
      "format": "byte",
      "pattern": "^.+$",
      "description": "Data field of the APDU command (Lc + Data)."
    },
    "APDUExpectedLength": {
      "type": "string",
      "format": "byte",
      "pattern": "^.{1,1}$",
      "description": "Expected length of the data field of the APDU response to the command (Le)."
    }
  },
  "required": [
    "APDUClass",
    "APDUInstruction",
    "APDUPar1",
    "APDUPar2"
  ],
  "name": "CardReaderAPDURequest"
}