Adyen · JSON Structure

Terminal Card Data Structure

Allows acquisition of the card data by the Sale System before the Payment, CardAcquisition or BalanceInquiry request to the POI. It could also be sent in the CardAcquisition response, to be processed by the Sale System. Information related to the payment card used for the transaction.

Type: object Properties: 11
PaymentsFinancial ServicesFintech

CardData is a JSON Structure definition published by Adyen, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PaymentBrand MaskedPan PaymentAccountRef EntryMode CardCountryCode ProtectedCardData SensitiveCardData AllowedProductCode AllowedProduct PaymentToken CustomerOrder

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-data-structure.json",
  "description": "Allows acquisition of the card data by the Sale System before the Payment, CardAcquisition  or BalanceInquiry request to the POI. It could also be sent in the CardAcquisition response, to be processed by the Sale System. Information related to the payment card used for the transaction.",
  "type": "object",
  "properties": {
    "PaymentBrand": {
      "type": "string",
      "pattern": "^.+$",
      "description": "If card PAN is readable ."
    },
    "MaskedPan": {
      "type": "string",
      "pattern": "^.+$"
    },
    "PaymentAccountRef": {
      "type": "string",
      "pattern": "^.+$"
    },
    "EntryMode": {
      "$ref": "#/components/schemas/EntryMode"
    },
    "CardCountryCode": {
      "type": "int32",
      "minimum": 3,
      "maximum": 3,
      "description": "If available in the card."
    },
    "ProtectedCardData": {
      "type": "string",
      "description": "SensitiveCardData protected by CMS EnvelopedData."
    },
    "SensitiveCardData": {
      "$ref": "#/components/schemas/SensitiveCardData"
    },
    "AllowedProductCode": {
      "type": "array",
      "items": {
        "type": "int32",
        "minimum": 1,
        "maximum": 20
      }
    },
    "AllowedProduct": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AllowedProduct"
      }
    },
    "PaymentToken": {
      "$ref": "#/components/schemas/PaymentToken"
    },
    "CustomerOrder": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CustomerOrder"
      }
    }
  },
  "name": "CardData"
}