{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/stored-value-stored-value-void-request-schema.json",
  "title": "StoredValueVoidRequest",
  "description": "StoredValueVoidRequest schema from Adyen API",
  "type": "object",
  "properties": {
    "merchantAccount": {
      "description": "The merchant account identifier, with which you want to process the transaction.",
      "type": "string"
    },
    "originalReference": {
      "description": "The original pspReference of the payment to modify.",
      "type": "string"
    },
    "reference": {
      "description": "Your reference for the payment modification. This reference is visible in Customer Area and in reports.\nMaximum length: 80 characters.",
      "type": "string"
    },
    "store": {
      "description": "The physical store, for which this payment is processed.",
      "maxLength": 16,
      "minLength": 1,
      "type": "string"
    },
    "tenderReference": {
      "description": "The reference of the tender.",
      "type": "string"
    },
    "uniqueTerminalId": {
      "description": "The unique ID of a POS terminal.",
      "type": "string"
    }
  },
  "required": [
    "merchantAccount",
    "originalReference"
  ]
}