Adyen · JSON Structure

Terminal Stored Value Data Structure

It contains: - the identification of the stored value accounts or the stored value cards, if provided by the Sale System, and - the associated products sold by the Sale System.. Data related to the stored value card.

Type: object Properties: 8 Required: 1
PaymentsFinancial ServicesFintech

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

Properties

StoredValueProvider StoredValueTransactionType StoredValueAccountID OriginalPOITransaction ProductCode EanUpc ItemAmount Currency

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-stored-value-data-structure.json",
  "description": "It contains: - the identification of the stored value accounts or the stored value cards, if provided by the Sale System, and - the associated products sold by the Sale System.. Data related to the stored value card.",
  "type": "object",
  "properties": {
    "StoredValueProvider": {
      "type": "string",
      "pattern": "^.+$",
      "description": "If more than one provider to manage on the POI, and StoredValueAccountID absent."
    },
    "StoredValueTransactionType": {
      "$ref": "#/components/schemas/StoredValueTransactionType"
    },
    "StoredValueAccountID": {
      "$ref": "#/components/schemas/StoredValueAccountID"
    },
    "OriginalPOITransaction": {
      "$ref": "#/components/schemas/OriginalPOITransaction"
    },
    "ProductCode": {
      "type": "int32",
      "minimum": 1,
      "maximum": 20,
      "description": "Product code of item purchased with the transaction."
    },
    "EanUpc": {
      "type": "int32",
      "description": "Standard product code of item purchased with the transaction."
    },
    "ItemAmount": {
      "type": "double",
      "maximum": 99999999.999999,
      "minimum": 0,
      "description": "Total amount of the item line."
    },
    "Currency": {
      "type": "string",
      "pattern": "^[A-Z]{3,3}$",
      "description": "Currency of a monetary amount."
    }
  },
  "required": [
    "StoredValueTransactionType"
  ],
  "name": "StoredValueData"
}