Adyen · JSON Structure

Terminal Loyalty Transaction Structure

LoyaltyTransaction schema from Adyen API

Type: object Properties: 6 Required: 1
PaymentsFinancial ServicesFintech

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

Properties

LoyaltyTransactionType Currency TotalAmount OriginalPOITransaction TransactionConditions SaleItem

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-loyalty-transaction-structure.json",
  "description": "LoyaltyTransaction schema from Adyen API",
  "type": "object",
  "properties": {
    "LoyaltyTransactionType": {
      "$ref": "#/components/schemas/LoyaltyTransactionType"
    },
    "Currency": {
      "type": "string",
      "pattern": "^[A-Z]{3,3}$"
    },
    "TotalAmount": {
      "type": "double",
      "maximum": 99999999.999999,
      "minimum": 0
    },
    "OriginalPOITransaction": {
      "$ref": "#/components/schemas/OriginalPOITransaction"
    },
    "TransactionConditions": {
      "$ref": "#/components/schemas/TransactionConditions"
    },
    "SaleItem": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SaleItem"
      }
    }
  },
  "required": [
    "LoyaltyTransactionType"
  ],
  "name": "LoyaltyTransaction"
}