Adyen · JSON Structure

Terminal Loyalty Amount Structure

An awarded amount or an amount to redeem to the loyalty account might be sent in the Payment request message. Amount of a loyalty account.

Type: object Properties: 3 Required: 1
PaymentsFinancial ServicesFintech

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

Properties

LoyaltyUnit Currency AmountValue

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-amount-structure.json",
  "description": "An awarded amount or an amount to redeem to the loyalty account might be sent in the Payment request message. Amount of a loyalty account.",
  "type": "object",
  "properties": {
    "LoyaltyUnit": {
      "$ref": "#/components/schemas/LoyaltyUnit"
    },
    "Currency": {
      "type": "string",
      "pattern": "^[A-Z]{3,3}$"
    },
    "AmountValue": {
      "type": "double",
      "maximum": 99999999.999999,
      "minimum": 0
    }
  },
  "required": [
    "AmountValue"
  ],
  "name": "LoyaltyAmount"
}