{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/main/json-schema/adyen-card-reader-apduresponse-schema.json", "title": "CardReaderAPDUResponse", "description": "It contains the result of the requested service, APDU response sent by the chip of the card in response to the APDU request. Content of the Card Reader APDU Response message.", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/adyen-cardreaderapdu-api-openapi.yml#/components/schemas/CardReaderAPDUResponse", "type": "object", "properties": { "Response": { "$ref": "#/$defs/Response" }, "APDUData": { "type": "string", "format": "byte", "pattern": "^.+$", "description": "Data field of the APDU command (Lc + Data)." }, "CardStatusWords": { "type": "string", "format": "byte", "pattern": "^.{2,2}$", "description": "Status of a smartcard response to a command (SW1-SW2)." } }, "required": [ "Response", "CardStatusWords" ], "$defs": { "ErrorCondition": { "type": "string", "enum": [ "Aborted", "Busy", "Cancel", "DeviceOut", "InProgress", "InsertedCard", "InvalidCard", "LoggedOut", "MessageFormat", "NotAllowed", "NotFound", "PaymentRestriction", "Refusal", "UnavailableDevice", "UnavailableService", "UnreachableHost", "WrongPIN" ] }, "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" ] } } }