{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/notifications-refund-result-schema.json",
  "title": "RefundResult",
  "description": "RefundResult schema from Adyen API",
  "type": "object",
  "properties": {
    "originalTransaction": {
      "description": "The transaction that has been refunded.",
      "$ref": "#/components/schemas/Transaction"
    },
    "pspReference": {
      "description": "The reference of the refund.",
      "type": "string"
    },
    "response": {
      "description": "The response indicating if the refund has been received for processing.",
      "type": "string"
    }
  }
}