From 56d7f035586c40fdd2503640c88de44ce31fbef2 Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Fri, 28 Mar 2025 13:07:44 +0100 Subject: [PATCH] spec release --- json/Webhooks-v1.json | 204 +++++++++++++++++++++++++++++++++++++++++- yaml/Webhooks-v1.yaml | 139 +++++++++++++++++++++++++++- 2 files changed, 341 insertions(+), 2 deletions(-) diff --git a/json/Webhooks-v1.json b/json/Webhooks-v1.json index 9316ed4..2041d2d 100644 --- a/json/Webhooks-v1.json +++ b/json/Webhooks-v1.json @@ -3155,6 +3155,204 @@ } } }, + "CancellationAdditionalData" : { + "additionalProperties" : false, + "properties" : { + "PaymentAccountReference" : { + "type" : "string" + }, + "accountValidation" : { + "type" : "string" + }, + "acquirerAccountCode" : { + "type" : "string" + }, + "acquirerCode" : { + "type" : "string" + }, + "acquirerReference" : { + "type" : "string" + }, + "acsRenderingType.acsInterface" : { + "type" : "string" + }, + "acsRenderingType.acsUiTemplate" : { + "type" : "string" + }, + "alias" : { + "type" : "string" + }, + "aliasType" : { + "type" : "string" + }, + "arn" : { + "type" : "string" + }, + "authCode" : { + "type" : "string" + }, + "authenticationType" : { + "type" : "string" + }, + "authorisationMid" : { + "type" : "string" + }, + "avsResult" : { + "type" : "string" + }, + "avsResultRaw" : { + "type" : "string" + }, + "bankAccountNumber" : { + "type" : "string" + }, + "bankLocationId" : { + "type" : "string" + }, + "bankName" : { + "type" : "string" + }, + "bic" : { + "type" : "string" + }, + "billingAddress.city" : { + "type" : "string" + }, + "billingAddress.country" : { + "type" : "string" + }, + "billingAddress.houseNumberOrName" : { + "type" : "string" + }, + "billingAddress.postalCode" : { + "type" : "string" + }, + "billingAddress.stateOrProvince" : { + "type" : "string" + }, + "billingAddress.street" : { + "type" : "string" + }, + "bookingDate" : { + "type" : "string" + }, + "cardBin" : { + "type" : "string" + }, + "cardHolderName" : { + "type" : "string" + }, + "cardIssuingBank" : { + "type" : "string" + }, + "cardIssuingCountry" : { + "type" : "string" + }, + "cardIssuingCurrency" : { + "type" : "string" + }, + "cardPaymentMethod" : { + "type" : "string" + }, + "cardSchemeEnhancedDataLevel" : { + "type" : "string" + }, + "cardSummary" : { + "type" : "string" + }, + "cavv" : { + "type" : "string" + }, + "cavvAlgorithm" : { + "type" : "string" + }, + "checkoutSessionId" : { + "type" : "string" + }, + "coBrandedWith" : { + "type" : "string" + }, + "countryCode" : { + "type" : "string" + }, + "cvcResult" : { + "type" : "string" + }, + "cvcResultRaw" : { + "type" : "string" + }, + "deliveryAddress.city" : { + "type" : "string" + }, + "deliveryAddress.country" : { + "type" : "string" + }, + "deliveryAddress.houseNumberOrName" : { + "type" : "string" + }, + "deliveryAddress.stateOrProvince" : { + "type" : "string" + }, + "deliveryAddress.street" : { + "type" : "string" + }, + "eci" : { + "type" : "string" + }, + "expiryDate" : { + "type" : "string" + }, + "fraudCheck--" : { + "description" : "Information on the fraud check in a dynamic format.", + "type" : "string" + }, + "fraudManualReview" : { + "description" : "Indicates if the risk check was done manually.", + "type" : "string" + }, + "fraudOffset" : { + "description" : "The fraud offset.", + "type" : "string" + }, + "fraudResultType" : { + "description" : "Result type of the fraud check.", + "type" : "string" + }, + "hmacSignature" : { + "type" : "string" + }, + "interactionCounter" : { + "type" : "string" + }, + "merchantOrderReference" : { + "type" : "string" + }, + "paymentLinkId" : { + "type" : "string" + }, + "paymentMethodVariant" : { + "type" : "string" + }, + "riskdata." : { + "description" : "Risk data in a dynamic format.", + "type" : "string" + }, + "shopperCountry" : { + "type" : "string" + }, + "shopperSocialSecurityNumber" : { + "type" : "string" + }, + "store" : { + "type" : "string" + }, + "totalFraudScore" : { + "description" : "Total fraud score from risk.", + "type" : "string" + } + }, + "type" : "object" + }, "CancellationNotificationRequest" : { "additionalProperties" : false, "properties" : { @@ -3177,7 +3375,7 @@ "properties" : { "additionalData" : { "description" : "This object is a generic container that can hold extra fields.", - "$ref" : "#/components/schemas/CancellationNotificationRequestItem-recursive" + "$ref" : "#/components/schemas/CancellationAdditionalData" }, "amount" : { "description" : "The payment amount. For HTTP POST notifications, currency and value are returned as URL parameters.", @@ -3330,6 +3528,10 @@ "example" : "visa, mc, iDeal", "type" : "string" }, + "additionalData" : { + "description" : "This object is a generic container that can hold extra fields.", + "$ref" : "#/components/schemas/CancellationAdditionalData" + }, "merchantReference" : { "description" : "Your reference to uniquely identify the payment.", "type" : "string" diff --git a/yaml/Webhooks-v1.yaml b/yaml/Webhooks-v1.yaml index 8f39364..748f893 100644 --- a/yaml/Webhooks-v1.yaml +++ b/yaml/Webhooks-v1.yaml @@ -2462,6 +2462,140 @@ components: properties: NotificationRequestItem: $ref: '#/components/schemas/CancelOrRefundNotificationRequestItem' + CancellationAdditionalData: + additionalProperties: false + properties: + PaymentAccountReference: + type: string + accountValidation: + type: string + acquirerAccountCode: + type: string + acquirerCode: + type: string + acquirerReference: + type: string + acsRenderingType.acsInterface: + type: string + acsRenderingType.acsUiTemplate: + type: string + alias: + type: string + aliasType: + type: string + arn: + type: string + authCode: + type: string + authenticationType: + type: string + authorisationMid: + type: string + avsResult: + type: string + avsResultRaw: + type: string + bankAccountNumber: + type: string + bankLocationId: + type: string + bankName: + type: string + bic: + type: string + billingAddress.city: + type: string + billingAddress.country: + type: string + billingAddress.houseNumberOrName: + type: string + billingAddress.postalCode: + type: string + billingAddress.stateOrProvince: + type: string + billingAddress.street: + type: string + bookingDate: + type: string + cardBin: + type: string + cardHolderName: + type: string + cardIssuingBank: + type: string + cardIssuingCountry: + type: string + cardIssuingCurrency: + type: string + cardPaymentMethod: + type: string + cardSchemeEnhancedDataLevel: + type: string + cardSummary: + type: string + cavv: + type: string + cavvAlgorithm: + type: string + checkoutSessionId: + type: string + coBrandedWith: + type: string + countryCode: + type: string + cvcResult: + type: string + cvcResultRaw: + type: string + deliveryAddress.city: + type: string + deliveryAddress.country: + type: string + deliveryAddress.houseNumberOrName: + type: string + deliveryAddress.stateOrProvince: + type: string + deliveryAddress.street: + type: string + eci: + type: string + expiryDate: + type: string + fraudCheck--: + description: Information on the fraud check in a dynamic format. + type: string + fraudManualReview: + description: Indicates if the risk check was done manually. + type: string + fraudOffset: + description: The fraud offset. + type: string + fraudResultType: + description: Result type of the fraud check. + type: string + hmacSignature: + type: string + interactionCounter: + type: string + merchantOrderReference: + type: string + paymentLinkId: + type: string + paymentMethodVariant: + type: string + riskdata.: + description: Risk data in a dynamic format. + type: string + shopperCountry: + type: string + shopperSocialSecurityNumber: + type: string + store: + type: string + totalFraudScore: + description: Total fraud score from risk. + type: string + type: object CancellationNotificationRequest: additionalProperties: false properties: @@ -2481,7 +2615,7 @@ components: properties: additionalData: description: This object is a generic container that can hold extra fields. - $ref: '#/components/schemas/CancellationNotificationRequestItem-recursive' + $ref: '#/components/schemas/CancellationAdditionalData' amount: description: The payment amount. For HTTP POST notifications, currency and value are returned as URL parameters. @@ -2625,6 +2759,9 @@ components: description: The payment method used in the transaction. example: visa, mc, iDeal type: string + additionalData: + description: This object is a generic container that can hold extra fields. + $ref: '#/components/schemas/CancellationAdditionalData' merchantReference: description: Your reference to uniquely identify the payment. type: string