{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/notification-webhooks-platform-payment-schema.json",
  "title": "PlatformPayment",
  "description": "PlatformPayment schema from Adyen API",
  "properties": {
    "account": {
      "description": "The account given in the related split.",
      "type": "string"
    },
    "description": {
      "description": "The description of the related split.",
      "type": "string"
    },
    "modificationMerchantReference": {
      "description": "The merchant reference of the modification.",
      "type": "string"
    },
    "modificationPspReference": {
      "description": "The pspReference of the modification.",
      "type": "string"
    },
    "paymentMerchantReference": {
      "description": "The merchant reference of the payment.",
      "type": "string"
    },
    "paymentPspReference": {
      "description": "The pspReference of the payment.",
      "type": "string"
    },
    "reference": {
      "description": "The reference of the related split.",
      "type": "string"
    },
    "type": {
      "description": "The type of the related split.",
      "enum": [
        "BalanceAccount",
        "Commission",
        "Default",
        "PaymentFee",
        "VAT"
      ],
      "type": "string"
    }
  },
  "type": "object"
}