From 61333c82f29877a78d1534bdeefedcd3936fbe34 Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Fri, 2 May 2025 09:37:49 +0200 Subject: [PATCH] spec release --- ...BalancePlatformPaymentNotification-v1.json | 1 + ...rmRelayedAuthorisationNotification-v1.json | 4 +-- ...rmRelayedAuthorisationNotification-v2.json | 4 +-- ...rmRelayedAuthorisationNotification-v4.json | 4 +-- ...ncePlatformTransactionNotification-v4.json | 1 + ...alancePlatformTransferNotification-v3.json | 1 + ...alancePlatformTransferNotification-v4.json | 25 +++++++++++++++++++ json/TransferService-v4.json | 25 +++++++++++++++++++ ...BalancePlatformPaymentNotification-v1.yaml | 1 + ...rmRelayedAuthorisationNotification-v1.yaml | 6 +++-- ...rmRelayedAuthorisationNotification-v2.yaml | 6 +++-- ...rmRelayedAuthorisationNotification-v4.yaml | 6 +++-- ...ncePlatformTransactionNotification-v4.yaml | 1 + ...alancePlatformTransferNotification-v3.yaml | 1 + ...alancePlatformTransferNotification-v4.yaml | 18 +++++++++++++ yaml/TransferService-v4.yaml | 18 +++++++++++++ 16 files changed, 110 insertions(+), 12 deletions(-) diff --git a/json/BalancePlatformPaymentNotification-v1.json b/json/BalancePlatformPaymentNotification-v1.json index 91f1319..b6fbcb5 100644 --- a/json/BalancePlatformPaymentNotification-v1.json +++ b/json/BalancePlatformPaymentNotification-v1.json @@ -957,6 +957,7 @@ "AdyenFees", "AdyenMarkup", "BalanceAccount", + "ChargebackRemainder", "Commission", "DCCPlatformCommission", "Default", diff --git a/json/BalancePlatformRelayedAuthorisationNotification-v1.json b/json/BalancePlatformRelayedAuthorisationNotification-v1.json index 5c6ecda..5877d74 100644 --- a/json/BalancePlatformRelayedAuthorisationNotification-v1.json +++ b/json/BalancePlatformRelayedAuthorisationNotification-v1.json @@ -718,11 +718,11 @@ "type" : "string" }, "replacedById" : { - "description" : "The unique identifier of the new payment instrument", + "description" : "The unique identifier of the payment instrument that replaced this payment instrument.", "type" : "string" }, "replacementOfId" : { - "description" : "The unique identifier of the old payment instrument", + "description" : "The unique identifier of the payment instrument that is replaced by this payment instrument.", "type" : "string" }, "status" : { diff --git a/json/BalancePlatformRelayedAuthorisationNotification-v2.json b/json/BalancePlatformRelayedAuthorisationNotification-v2.json index 725e4e3..069a46a 100644 --- a/json/BalancePlatformRelayedAuthorisationNotification-v2.json +++ b/json/BalancePlatformRelayedAuthorisationNotification-v2.json @@ -724,11 +724,11 @@ "type" : "string" }, "replacedById" : { - "description" : "The unique identifier of the new payment instrument", + "description" : "The unique identifier of the payment instrument that replaced this payment instrument.", "type" : "string" }, "replacementOfId" : { - "description" : "The unique identifier of the old payment instrument", + "description" : "The unique identifier of the payment instrument that is replaced by this payment instrument.", "type" : "string" }, "status" : { diff --git a/json/BalancePlatformRelayedAuthorisationNotification-v4.json b/json/BalancePlatformRelayedAuthorisationNotification-v4.json index c9e232d..80e23b0 100644 --- a/json/BalancePlatformRelayedAuthorisationNotification-v4.json +++ b/json/BalancePlatformRelayedAuthorisationNotification-v4.json @@ -735,11 +735,11 @@ "type" : "string" }, "replacedById" : { - "description" : "The unique identifier of the new payment instrument", + "description" : "The unique identifier of the payment instrument that replaced this payment instrument.", "type" : "string" }, "replacementOfId" : { - "description" : "The unique identifier of the old payment instrument", + "description" : "The unique identifier of the payment instrument that is replaced by this payment instrument.", "type" : "string" }, "status" : { diff --git a/json/BalancePlatformTransactionNotification-v4.json b/json/BalancePlatformTransactionNotification-v4.json index 2ebffb9..753f1e3 100644 --- a/json/BalancePlatformTransactionNotification-v4.json +++ b/json/BalancePlatformTransactionNotification-v4.json @@ -274,6 +274,7 @@ "AdyenFees", "AdyenMarkup", "BalanceAccount", + "ChargebackRemainder", "Commission", "DCCPlatformCommission", "Default", diff --git a/json/BalancePlatformTransferNotification-v3.json b/json/BalancePlatformTransferNotification-v3.json index 98a065e..053b332 100644 --- a/json/BalancePlatformTransferNotification-v3.json +++ b/json/BalancePlatformTransferNotification-v3.json @@ -1466,6 +1466,7 @@ "AdyenFees", "AdyenMarkup", "BalanceAccount", + "ChargebackRemainder", "Commission", "DCCPlatformCommission", "Default", diff --git a/json/BalancePlatformTransferNotification-v4.json b/json/BalancePlatformTransferNotification-v4.json index 73c12ca..6b67350 100644 --- a/json/BalancePlatformTransferNotification-v4.json +++ b/json/BalancePlatformTransferNotification-v4.json @@ -958,6 +958,27 @@ }, "type" : "object" }, + "IssuingTransactionData" : { + "additionalProperties" : false, + "properties" : { + "captureCycleId" : { + "description" : "captureCycleId associated with transfer event.", + "type" : "string" + }, + "type" : { + "default" : "issuingTransactionData", + "description" : "The type of events data. \n\nPossible values: \n\n - **issuingTransactionData**: issuing transaction data", + "enum" : [ + "issuingTransactionData" + ], + "type" : "string" + } + }, + "required" : [ + "type" + ], + "type" : "object" + }, "Leg" : { "additionalProperties" : false, "properties" : { @@ -1385,6 +1406,7 @@ "AdyenFees", "AdyenMarkup", "BalanceAccount", + "ChargebackRemainder", "Commission", "DCCPlatformCommission", "Default", @@ -1977,6 +1999,9 @@ "description" : "A list of event data.", "items" : { "oneOf" : [ + { + "$ref" : "#/components/schemas/IssuingTransactionData" + }, { "$ref" : "#/components/schemas/MerchantPurchaseData" } diff --git a/json/TransferService-v4.json b/json/TransferService-v4.json index f41d10c..6e18d5c 100644 --- a/json/TransferService-v4.json +++ b/json/TransferService-v4.json @@ -2534,6 +2534,27 @@ }, "type" : "object" }, + "IssuingTransactionData" : { + "additionalProperties" : false, + "properties" : { + "captureCycleId" : { + "description" : "captureCycleId associated with transfer event.", + "type" : "string" + }, + "type" : { + "default" : "issuingTransactionData", + "description" : "The type of events data. \n\nPossible values: \n\n - **issuingTransactionData**: issuing transaction data", + "enum" : [ + "issuingTransactionData" + ], + "type" : "string" + } + }, + "required" : [ + "type" + ], + "type" : "object" + }, "JSONObject" : { "type" : "object" }, @@ -2988,6 +3009,7 @@ "AdyenFees", "AdyenMarkup", "BalanceAccount", + "ChargebackRemainder", "Commission", "DCCPlatformCommission", "Default", @@ -4136,6 +4158,9 @@ "description" : "A list of event data.", "items" : { "oneOf" : [ + { + "$ref" : "#/components/schemas/IssuingTransactionData" + }, { "$ref" : "#/components/schemas/MerchantPurchaseData" } diff --git a/yaml/BalancePlatformPaymentNotification-v1.yaml b/yaml/BalancePlatformPaymentNotification-v1.yaml index edbd610..6620619 100644 --- a/yaml/BalancePlatformPaymentNotification-v1.yaml +++ b/yaml/BalancePlatformPaymentNotification-v1.yaml @@ -860,6 +860,7 @@ components: - AdyenFees - AdyenMarkup - BalanceAccount + - ChargebackRemainder - Commission - DCCPlatformCommission - Default diff --git a/yaml/BalancePlatformRelayedAuthorisationNotification-v1.yaml b/yaml/BalancePlatformRelayedAuthorisationNotification-v1.yaml index 2106493..764caab 100644 --- a/yaml/BalancePlatformRelayedAuthorisationNotification-v1.yaml +++ b/yaml/BalancePlatformRelayedAuthorisationNotification-v1.yaml @@ -648,10 +648,12 @@ components: maxLength: 150 type: string replacedById: - description: The unique identifier of the new payment instrument + description: The unique identifier of the payment instrument that replaced + this payment instrument. type: string replacementOfId: - description: The unique identifier of the old payment instrument + description: The unique identifier of the payment instrument that is replaced + by this payment instrument. type: string status: description: "The status of the payment instrument. If a status is not specified\ diff --git a/yaml/BalancePlatformRelayedAuthorisationNotification-v2.yaml b/yaml/BalancePlatformRelayedAuthorisationNotification-v2.yaml index e895892..db680e4 100644 --- a/yaml/BalancePlatformRelayedAuthorisationNotification-v2.yaml +++ b/yaml/BalancePlatformRelayedAuthorisationNotification-v2.yaml @@ -661,10 +661,12 @@ components: maxLength: 150 type: string replacedById: - description: The unique identifier of the new payment instrument + description: The unique identifier of the payment instrument that replaced + this payment instrument. type: string replacementOfId: - description: The unique identifier of the old payment instrument + description: The unique identifier of the payment instrument that is replaced + by this payment instrument. type: string status: description: "The status of the payment instrument. If a status is not specified\ diff --git a/yaml/BalancePlatformRelayedAuthorisationNotification-v4.yaml b/yaml/BalancePlatformRelayedAuthorisationNotification-v4.yaml index a8815f3..e69a35b 100644 --- a/yaml/BalancePlatformRelayedAuthorisationNotification-v4.yaml +++ b/yaml/BalancePlatformRelayedAuthorisationNotification-v4.yaml @@ -662,10 +662,12 @@ components: maxLength: 150 type: string replacedById: - description: The unique identifier of the new payment instrument + description: The unique identifier of the payment instrument that replaced + this payment instrument. type: string replacementOfId: - description: The unique identifier of the old payment instrument + description: The unique identifier of the payment instrument that is replaced + by this payment instrument. type: string status: description: "The status of the payment instrument. If a status is not specified\ diff --git a/yaml/BalancePlatformTransactionNotification-v4.yaml b/yaml/BalancePlatformTransactionNotification-v4.yaml index ece9423..29cc156 100644 --- a/yaml/BalancePlatformTransactionNotification-v4.yaml +++ b/yaml/BalancePlatformTransactionNotification-v4.yaml @@ -315,6 +315,7 @@ components: - AdyenFees - AdyenMarkup - BalanceAccount + - ChargebackRemainder - Commission - DCCPlatformCommission - Default diff --git a/yaml/BalancePlatformTransferNotification-v3.yaml b/yaml/BalancePlatformTransferNotification-v3.yaml index 771ff56..7bf8396 100644 --- a/yaml/BalancePlatformTransferNotification-v3.yaml +++ b/yaml/BalancePlatformTransferNotification-v3.yaml @@ -1344,6 +1344,7 @@ components: - AdyenFees - AdyenMarkup - BalanceAccount + - ChargebackRemainder - Commission - DCCPlatformCommission - Default diff --git a/yaml/BalancePlatformTransferNotification-v4.yaml b/yaml/BalancePlatformTransferNotification-v4.yaml index 5f7acb1..599a2c8 100644 --- a/yaml/BalancePlatformTransferNotification-v4.yaml +++ b/yaml/BalancePlatformTransferNotification-v4.yaml @@ -840,6 +840,22 @@ components: $ref: '#/components/schemas/TransferNotificationValidationFact' type: array type: object + IssuingTransactionData: + additionalProperties: false + properties: + captureCycleId: + description: captureCycleId associated with transfer event. + type: string + type: + default: issuingTransactionData + description: "The type of events data. \n\nPossible values: \n\n - **issuingTransactionData**:\ + \ issuing transaction data" + enum: + - issuingTransactionData + type: string + required: + - type + type: object Leg: additionalProperties: false properties: @@ -1268,6 +1284,7 @@ components: - AdyenFees - AdyenMarkup - BalanceAccount + - ChargebackRemainder - Commission - DCCPlatformCommission - Default @@ -1798,6 +1815,7 @@ components: description: A list of event data. items: oneOf: + - $ref: '#/components/schemas/IssuingTransactionData' - $ref: '#/components/schemas/MerchantPurchaseData' type: array externalReason: diff --git a/yaml/TransferService-v4.yaml b/yaml/TransferService-v4.yaml index 0b916bd..804e54d 100644 --- a/yaml/TransferService-v4.yaml +++ b/yaml/TransferService-v4.yaml @@ -1996,6 +1996,22 @@ components: $ref: '#/components/schemas/TransferNotificationValidationFact' type: array type: object + IssuingTransactionData: + additionalProperties: false + properties: + captureCycleId: + description: captureCycleId associated with transfer event. + type: string + type: + default: issuingTransactionData + description: "The type of events data. \n\nPossible values: \n\n - **issuingTransactionData**:\ + \ issuing transaction data" + enum: + - issuingTransactionData + type: string + required: + - type + type: object JSONObject: type: object Leg: @@ -2443,6 +2459,7 @@ components: - AdyenFees - AdyenMarkup - BalanceAccount + - ChargebackRemainder - Commission - DCCPlatformCommission - Default @@ -3512,6 +3529,7 @@ components: description: A list of event data. items: oneOf: + - $ref: '#/components/schemas/IssuingTransactionData' - $ref: '#/components/schemas/MerchantPurchaseData' type: array externalReason: