diff --git a/json/TransactionService-v1.json b/json/TransactionService-v1.json index b5dbf7a..5674fc3 100644 --- a/json/TransactionService-v1.json +++ b/json/TransactionService-v1.json @@ -16,7 +16,7 @@ "url" : "https://github.com/Adyen/adyen-openapi" }, "version" : "1", - "x-timestamp" : "2025-02-26T15:35:54Z" + "x-timestamp" : "2025-03-21T17:33:57Z" }, "tags" : [ { "name" : "Dispute Attachments" @@ -404,6 +404,10 @@ "description" : "The amount for which you dispute the transaction. The disputed amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed.", "$ref" : "#/components/schemas/Amount" }, + "duplicateInfo" : { + "description" : "Additional information for raising a dispute of `type` **duplicate**. Required for disputes of `type` **duplicate**.", + "$ref" : "#/components/schemas/DuplicateInfo" + }, "fraudInfo" : { "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", "$ref" : "#/components/schemas/FraudInfo" @@ -432,7 +436,25 @@ }, "DisputeType" : { "type" : "string", - "x-extensible-enum" : [ "notDelivered", "fraud" ] + "x-extensible-enum" : [ "notDelivered", "fraud", "duplicate" ] + }, + "DuplicateInfo" : { + "required" : [ "duplicateTransactionId", "sameCard" ], + "type" : "object", + "properties" : { + "duplicateTransactionId" : { + "type" : "string", + "description" : "The transaction id associated with the duplicate charge for which you are disputing. The disputed transaction must be in the same amount as the duplicate transaction." + }, + "sameCard" : { + "type" : "boolean", + "description" : "The duplicate charge was made on the same card. Possible values: **true**, **false**." + }, + "sameIssuer" : { + "type" : "boolean", + "description" : "The issuer associated with each charge is the same. Possible values: **true**, **false**." + } + } }, "FraudInfo" : { "required" : [ "cardDoesNotBelongToCardholder", "cardWasCounterfeited", "descriptionOfIssue" ], @@ -509,6 +531,9 @@ "description" : "The amount for which you dispute the transaction. The disputed amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed.", "$ref" : "#/components/schemas/Amount" }, + "duplicateInfo" : { + "$ref" : "#/components/schemas/DuplicateInfo" + }, "fraudInfo" : { "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", "$ref" : "#/components/schemas/FraudInfo" @@ -539,6 +564,15 @@ "PatchableDisputeRequest" : { "type" : "object", "properties" : { + "duplicateInfo" : { + "type" : "object", + "description" : "Additional information for raising a dispute of `type` **duplicate**. Required for disputes of `type` **duplicate**.", + "oneOf" : [ { + "$ref" : "#/components/schemas/PatchableDuplicateInfo" + }, { + "type" : "null" + } ] + }, "fraudInfo" : { "type" : "object", "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", @@ -568,6 +602,23 @@ } } }, + "PatchableDuplicateInfo" : { + "type" : "object", + "properties" : { + "duplicateTransactionId" : { + "type" : "string", + "description" : "The transaction id associated with the duplicate charge for which you are disputing. The disputed transaction must be in the same amount as the duplicate transaction." + }, + "sameCard" : { + "type" : "boolean", + "description" : "The duplicate charge was made on the same card. Possible values: **true**, **false**." + }, + "sameIssuer" : { + "type" : [ "boolean", "null" ], + "description" : "The issuer associated with each charge is the same. Possible values: **true**, **false**." + } + } + }, "PatchableFraudInfo" : { "type" : "object", "properties" : { diff --git a/json/TransactionService-v2.json b/json/TransactionService-v2.json index 90b4f6b..f9100fa 100644 --- a/json/TransactionService-v2.json +++ b/json/TransactionService-v2.json @@ -16,7 +16,7 @@ "url" : "https://github.com/Adyen/adyen-openapi" }, "version" : "2", - "x-timestamp" : "2025-02-26T15:35:54Z" + "x-timestamp" : "2025-03-21T17:33:58Z" }, "tags" : [ { "name" : "Dispute Attachments" @@ -404,6 +404,10 @@ "description" : "The amount for which you dispute the transaction. The disputed amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed.", "$ref" : "#/components/schemas/Amount" }, + "duplicateInfo" : { + "description" : "Additional information for raising a dispute of `type` **duplicate**. Required for disputes of `type` **duplicate**.", + "$ref" : "#/components/schemas/DuplicateInfo" + }, "fraudInfo" : { "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", "$ref" : "#/components/schemas/FraudInfo" @@ -432,7 +436,25 @@ }, "DisputeType" : { "type" : "string", - "x-extensible-enum" : [ "notDelivered", "fraud" ] + "x-extensible-enum" : [ "notDelivered", "fraud", "duplicate" ] + }, + "DuplicateInfo" : { + "required" : [ "duplicateTransactionId", "sameCard" ], + "type" : "object", + "properties" : { + "duplicateTransactionId" : { + "type" : "string", + "description" : "The transaction id associated with the duplicate charge for which you are disputing. The disputed transaction must be in the same amount as the duplicate transaction." + }, + "sameCard" : { + "type" : "boolean", + "description" : "The duplicate charge was made on the same card. Possible values: **true**, **false**." + }, + "sameIssuer" : { + "type" : "boolean", + "description" : "The issuer associated with each charge is the same. Possible values: **true**, **false**." + } + } }, "FraudInfo" : { "required" : [ "cardDoesNotBelongToCardholder", "cardWasCounterfeited", "descriptionOfIssue" ], @@ -509,6 +531,9 @@ "description" : "The amount for which you dispute the transaction. The disputed amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed.", "$ref" : "#/components/schemas/Amount" }, + "duplicateInfo" : { + "$ref" : "#/components/schemas/DuplicateInfo" + }, "fraudInfo" : { "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", "$ref" : "#/components/schemas/FraudInfo" @@ -539,6 +564,15 @@ "PatchableDisputeRequest" : { "type" : "object", "properties" : { + "duplicateInfo" : { + "type" : "object", + "description" : "Additional information for raising a dispute of `type` **duplicate**. Required for disputes of `type` **duplicate**.", + "oneOf" : [ { + "$ref" : "#/components/schemas/PatchableDuplicateInfo" + }, { + "type" : "null" + } ] + }, "fraudInfo" : { "type" : "object", "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", @@ -568,6 +602,23 @@ } } }, + "PatchableDuplicateInfo" : { + "type" : "object", + "properties" : { + "duplicateTransactionId" : { + "type" : "string", + "description" : "The transaction id associated with the duplicate charge for which you are disputing. The disputed transaction must be in the same amount as the duplicate transaction." + }, + "sameCard" : { + "type" : "boolean", + "description" : "The duplicate charge was made on the same card. Possible values: **true**, **false**." + }, + "sameIssuer" : { + "type" : [ "boolean", "null" ], + "description" : "The issuer associated with each charge is the same. Possible values: **true**, **false**." + } + } + }, "PatchableFraudInfo" : { "type" : "object", "properties" : { diff --git a/json/TransactionService-v3.json b/json/TransactionService-v3.json index ae6f2ab..2b5c494 100644 --- a/json/TransactionService-v3.json +++ b/json/TransactionService-v3.json @@ -16,7 +16,7 @@ "url" : "https://github.com/Adyen/adyen-openapi" }, "version" : "3", - "x-timestamp" : "2025-02-26T15:35:55Z" + "x-timestamp" : "2025-03-21T17:33:58Z" }, "tags" : [ { "name" : "Dispute Attachments" @@ -404,6 +404,10 @@ "description" : "The amount for which you dispute the transaction. The disputed amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed.", "$ref" : "#/components/schemas/Amount" }, + "duplicateInfo" : { + "description" : "Additional information for raising a dispute of `type` **duplicate**. Required for disputes of `type` **duplicate**.", + "$ref" : "#/components/schemas/DuplicateInfo" + }, "fraudInfo" : { "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", "$ref" : "#/components/schemas/FraudInfo" @@ -432,7 +436,25 @@ }, "DisputeType" : { "type" : "string", - "x-extensible-enum" : [ "notDelivered", "fraud" ] + "x-extensible-enum" : [ "notDelivered", "fraud", "duplicate" ] + }, + "DuplicateInfo" : { + "required" : [ "duplicateTransactionId", "sameCard" ], + "type" : "object", + "properties" : { + "duplicateTransactionId" : { + "type" : "string", + "description" : "The transaction id associated with the duplicate charge for which you are disputing. The disputed transaction must be in the same amount as the duplicate transaction." + }, + "sameCard" : { + "type" : "boolean", + "description" : "The duplicate charge was made on the same card. Possible values: **true**, **false**." + }, + "sameIssuer" : { + "type" : "boolean", + "description" : "The issuer associated with each charge is the same. Possible values: **true**, **false**." + } + } }, "FraudInfo" : { "required" : [ "cardDoesNotBelongToCardholder", "cardWasCounterfeited", "descriptionOfIssue" ], @@ -509,6 +531,9 @@ "description" : "The amount for which you dispute the transaction. The disputed amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed.", "$ref" : "#/components/schemas/Amount" }, + "duplicateInfo" : { + "$ref" : "#/components/schemas/DuplicateInfo" + }, "fraudInfo" : { "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", "$ref" : "#/components/schemas/FraudInfo" @@ -539,6 +564,15 @@ "PatchableDisputeRequest" : { "type" : "object", "properties" : { + "duplicateInfo" : { + "type" : "object", + "description" : "Additional information for raising a dispute of `type` **duplicate**. Required for disputes of `type` **duplicate**.", + "oneOf" : [ { + "$ref" : "#/components/schemas/PatchableDuplicateInfo" + }, { + "type" : "null" + } ] + }, "fraudInfo" : { "type" : "object", "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", @@ -568,6 +602,23 @@ } } }, + "PatchableDuplicateInfo" : { + "type" : "object", + "properties" : { + "duplicateTransactionId" : { + "type" : "string", + "description" : "The transaction id associated with the duplicate charge for which you are disputing. The disputed transaction must be in the same amount as the duplicate transaction." + }, + "sameCard" : { + "type" : "boolean", + "description" : "The duplicate charge was made on the same card. Possible values: **true**, **false**." + }, + "sameIssuer" : { + "type" : [ "boolean", "null" ], + "description" : "The issuer associated with each charge is the same. Possible values: **true**, **false**." + } + } + }, "PatchableFraudInfo" : { "type" : "object", "properties" : { diff --git a/json/TransactionService-v4.json b/json/TransactionService-v4.json index 2bb4f42..8731247 100644 --- a/json/TransactionService-v4.json +++ b/json/TransactionService-v4.json @@ -16,7 +16,7 @@ "url" : "https://github.com/Adyen/adyen-openapi" }, "version" : "4", - "x-timestamp" : "2025-02-26T15:35:55Z" + "x-timestamp" : "2025-03-21T17:33:58Z" }, "tags" : [ { "name" : "Dispute Attachments" @@ -404,6 +404,10 @@ "description" : "The amount for which you dispute the transaction. The disputed amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed.", "$ref" : "#/components/schemas/Amount" }, + "duplicateInfo" : { + "description" : "Additional information for raising a dispute of `type` **duplicate**. Required for disputes of `type` **duplicate**.", + "$ref" : "#/components/schemas/DuplicateInfo" + }, "fraudInfo" : { "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", "$ref" : "#/components/schemas/FraudInfo" @@ -432,7 +436,25 @@ }, "DisputeType" : { "type" : "string", - "x-extensible-enum" : [ "notDelivered", "fraud" ] + "x-extensible-enum" : [ "notDelivered", "fraud", "duplicate" ] + }, + "DuplicateInfo" : { + "required" : [ "duplicateTransactionId", "sameCard" ], + "type" : "object", + "properties" : { + "duplicateTransactionId" : { + "type" : "string", + "description" : "The transaction id associated with the duplicate charge for which you are disputing. The disputed transaction must be in the same amount as the duplicate transaction." + }, + "sameCard" : { + "type" : "boolean", + "description" : "The duplicate charge was made on the same card. Possible values: **true**, **false**." + }, + "sameIssuer" : { + "type" : "boolean", + "description" : "The issuer associated with each charge is the same. Possible values: **true**, **false**." + } + } }, "FraudInfo" : { "required" : [ "cardDoesNotBelongToCardholder", "cardWasCounterfeited", "descriptionOfIssue" ], @@ -509,6 +531,9 @@ "description" : "The amount for which you dispute the transaction. The disputed amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed.", "$ref" : "#/components/schemas/Amount" }, + "duplicateInfo" : { + "$ref" : "#/components/schemas/DuplicateInfo" + }, "fraudInfo" : { "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", "$ref" : "#/components/schemas/FraudInfo" @@ -539,6 +564,15 @@ "PatchableDisputeRequest" : { "type" : "object", "properties" : { + "duplicateInfo" : { + "type" : "object", + "description" : "Additional information for raising a dispute of `type` **duplicate**. Required for disputes of `type` **duplicate**.", + "oneOf" : [ { + "$ref" : "#/components/schemas/PatchableDuplicateInfo" + }, { + "type" : "null" + } ] + }, "fraudInfo" : { "type" : "object", "description" : "Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**.", @@ -568,6 +602,23 @@ } } }, + "PatchableDuplicateInfo" : { + "type" : "object", + "properties" : { + "duplicateTransactionId" : { + "type" : "string", + "description" : "The transaction id associated with the duplicate charge for which you are disputing. The disputed transaction must be in the same amount as the duplicate transaction." + }, + "sameCard" : { + "type" : "boolean", + "description" : "The duplicate charge was made on the same card. Possible values: **true**, **false**." + }, + "sameIssuer" : { + "type" : [ "boolean", "null" ], + "description" : "The issuer associated with each charge is the same. Possible values: **true**, **false**." + } + } + }, "PatchableFraudInfo" : { "type" : "object", "properties" : { diff --git a/yaml/TransactionService-v1.yaml b/yaml/TransactionService-v1.yaml index 6acd2ef..50d398e 100644 --- a/yaml/TransactionService-v1.yaml +++ b/yaml/TransactionService-v1.yaml @@ -30,7 +30,7 @@ info: name: Adyen Developer Experience team url: https://github.com/Adyen/adyen-openapi version: '1' - x-timestamp: '2025-02-26T15:35:54Z' + x-timestamp: '2025-03-21T17:33:57Z' tags: - name: Dispute Attachments - name: Raise Disputes @@ -367,6 +367,10 @@ components: amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed. $ref: '#/components/schemas/Amount' + duplicateInfo: + description: Additional information for raising a dispute of `type` **duplicate**. + Required for disputes of `type` **duplicate**. + $ref: '#/components/schemas/DuplicateInfo' fraudInfo: description: Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**. @@ -409,6 +413,26 @@ components: x-extensible-enum: - notDelivered - fraud + - duplicate + DuplicateInfo: + required: + - duplicateTransactionId + - sameCard + type: object + properties: + duplicateTransactionId: + type: string + description: The transaction id associated with the duplicate charge for + which you are disputing. The disputed transaction must be in the same + amount as the duplicate transaction. + sameCard: + type: boolean + description: 'The duplicate charge was made on the same card. Possible values: + **true**, **false**.' + sameIssuer: + type: boolean + description: 'The issuer associated with each charge is the same. Possible + values: **true**, **false**.' FraudInfo: required: - cardDoesNotBelongToCardholder @@ -494,6 +518,8 @@ components: amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed. $ref: '#/components/schemas/Amount' + duplicateInfo: + $ref: '#/components/schemas/DuplicateInfo' fraudInfo: description: Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**. @@ -529,6 +555,13 @@ components: PatchableDisputeRequest: type: object properties: + duplicateInfo: + type: object + description: Additional information for raising a dispute of `type` **duplicate**. + Required for disputes of `type` **duplicate**. + oneOf: + - $ref: '#/components/schemas/PatchableDuplicateInfo' + - type: 'null' fraudInfo: type: object description: Additional information for raising a dispute of `type` **fraud**. @@ -556,6 +589,24 @@ components: oneOf: - $ref: '#/components/schemas/DisputeStatus' - type: 'null' + PatchableDuplicateInfo: + type: object + properties: + duplicateTransactionId: + type: string + description: The transaction id associated with the duplicate charge for + which you are disputing. The disputed transaction must be in the same + amount as the duplicate transaction. + sameCard: + type: boolean + description: 'The duplicate charge was made on the same card. Possible values: + **true**, **false**.' + sameIssuer: + type: + - boolean + - 'null' + description: 'The issuer associated with each charge is the same. Possible + values: **true**, **false**.' PatchableFraudInfo: type: object properties: diff --git a/yaml/TransactionService-v2.yaml b/yaml/TransactionService-v2.yaml index 99ddf2d..5854429 100644 --- a/yaml/TransactionService-v2.yaml +++ b/yaml/TransactionService-v2.yaml @@ -30,7 +30,7 @@ info: name: Adyen Developer Experience team url: https://github.com/Adyen/adyen-openapi version: '2' - x-timestamp: '2025-02-26T15:35:54Z' + x-timestamp: '2025-03-21T17:33:58Z' tags: - name: Dispute Attachments - name: Raise Disputes @@ -367,6 +367,10 @@ components: amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed. $ref: '#/components/schemas/Amount' + duplicateInfo: + description: Additional information for raising a dispute of `type` **duplicate**. + Required for disputes of `type` **duplicate**. + $ref: '#/components/schemas/DuplicateInfo' fraudInfo: description: Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**. @@ -409,6 +413,26 @@ components: x-extensible-enum: - notDelivered - fraud + - duplicate + DuplicateInfo: + required: + - duplicateTransactionId + - sameCard + type: object + properties: + duplicateTransactionId: + type: string + description: The transaction id associated with the duplicate charge for + which you are disputing. The disputed transaction must be in the same + amount as the duplicate transaction. + sameCard: + type: boolean + description: 'The duplicate charge was made on the same card. Possible values: + **true**, **false**.' + sameIssuer: + type: boolean + description: 'The issuer associated with each charge is the same. Possible + values: **true**, **false**.' FraudInfo: required: - cardDoesNotBelongToCardholder @@ -494,6 +518,8 @@ components: amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed. $ref: '#/components/schemas/Amount' + duplicateInfo: + $ref: '#/components/schemas/DuplicateInfo' fraudInfo: description: Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**. @@ -529,6 +555,13 @@ components: PatchableDisputeRequest: type: object properties: + duplicateInfo: + type: object + description: Additional information for raising a dispute of `type` **duplicate**. + Required for disputes of `type` **duplicate**. + oneOf: + - $ref: '#/components/schemas/PatchableDuplicateInfo' + - type: 'null' fraudInfo: type: object description: Additional information for raising a dispute of `type` **fraud**. @@ -556,6 +589,24 @@ components: oneOf: - $ref: '#/components/schemas/DisputeStatus' - type: 'null' + PatchableDuplicateInfo: + type: object + properties: + duplicateTransactionId: + type: string + description: The transaction id associated with the duplicate charge for + which you are disputing. The disputed transaction must be in the same + amount as the duplicate transaction. + sameCard: + type: boolean + description: 'The duplicate charge was made on the same card. Possible values: + **true**, **false**.' + sameIssuer: + type: + - boolean + - 'null' + description: 'The issuer associated with each charge is the same. Possible + values: **true**, **false**.' PatchableFraudInfo: type: object properties: diff --git a/yaml/TransactionService-v3.yaml b/yaml/TransactionService-v3.yaml index 5104618..2ee0c65 100644 --- a/yaml/TransactionService-v3.yaml +++ b/yaml/TransactionService-v3.yaml @@ -30,7 +30,7 @@ info: name: Adyen Developer Experience team url: https://github.com/Adyen/adyen-openapi version: '3' - x-timestamp: '2025-02-26T15:35:55Z' + x-timestamp: '2025-03-21T17:33:58Z' tags: - name: Dispute Attachments - name: Raise Disputes @@ -367,6 +367,10 @@ components: amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed. $ref: '#/components/schemas/Amount' + duplicateInfo: + description: Additional information for raising a dispute of `type` **duplicate**. + Required for disputes of `type` **duplicate**. + $ref: '#/components/schemas/DuplicateInfo' fraudInfo: description: Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**. @@ -409,6 +413,26 @@ components: x-extensible-enum: - notDelivered - fraud + - duplicate + DuplicateInfo: + required: + - duplicateTransactionId + - sameCard + type: object + properties: + duplicateTransactionId: + type: string + description: The transaction id associated with the duplicate charge for + which you are disputing. The disputed transaction must be in the same + amount as the duplicate transaction. + sameCard: + type: boolean + description: 'The duplicate charge was made on the same card. Possible values: + **true**, **false**.' + sameIssuer: + type: boolean + description: 'The issuer associated with each charge is the same. Possible + values: **true**, **false**.' FraudInfo: required: - cardDoesNotBelongToCardholder @@ -494,6 +518,8 @@ components: amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed. $ref: '#/components/schemas/Amount' + duplicateInfo: + $ref: '#/components/schemas/DuplicateInfo' fraudInfo: description: Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**. @@ -529,6 +555,13 @@ components: PatchableDisputeRequest: type: object properties: + duplicateInfo: + type: object + description: Additional information for raising a dispute of `type` **duplicate**. + Required for disputes of `type` **duplicate**. + oneOf: + - $ref: '#/components/schemas/PatchableDuplicateInfo' + - type: 'null' fraudInfo: type: object description: Additional information for raising a dispute of `type` **fraud**. @@ -556,6 +589,24 @@ components: oneOf: - $ref: '#/components/schemas/DisputeStatus' - type: 'null' + PatchableDuplicateInfo: + type: object + properties: + duplicateTransactionId: + type: string + description: The transaction id associated with the duplicate charge for + which you are disputing. The disputed transaction must be in the same + amount as the duplicate transaction. + sameCard: + type: boolean + description: 'The duplicate charge was made on the same card. Possible values: + **true**, **false**.' + sameIssuer: + type: + - boolean + - 'null' + description: 'The issuer associated with each charge is the same. Possible + values: **true**, **false**.' PatchableFraudInfo: type: object properties: diff --git a/yaml/TransactionService-v4.yaml b/yaml/TransactionService-v4.yaml index 32f3cca..41903b6 100644 --- a/yaml/TransactionService-v4.yaml +++ b/yaml/TransactionService-v4.yaml @@ -30,7 +30,7 @@ info: name: Adyen Developer Experience team url: https://github.com/Adyen/adyen-openapi version: '4' - x-timestamp: '2025-02-26T15:35:55Z' + x-timestamp: '2025-03-21T17:33:58Z' tags: - name: Dispute Attachments - name: Raise Disputes @@ -367,6 +367,10 @@ components: amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed. $ref: '#/components/schemas/Amount' + duplicateInfo: + description: Additional information for raising a dispute of `type` **duplicate**. + Required for disputes of `type` **duplicate**. + $ref: '#/components/schemas/DuplicateInfo' fraudInfo: description: Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**. @@ -409,6 +413,26 @@ components: x-extensible-enum: - notDelivered - fraud + - duplicate + DuplicateInfo: + required: + - duplicateTransactionId + - sameCard + type: object + properties: + duplicateTransactionId: + type: string + description: The transaction id associated with the duplicate charge for + which you are disputing. The disputed transaction must be in the same + amount as the duplicate transaction. + sameCard: + type: boolean + description: 'The duplicate charge was made on the same card. Possible values: + **true**, **false**.' + sameIssuer: + type: boolean + description: 'The issuer associated with each charge is the same. Possible + values: **true**, **false**.' FraudInfo: required: - cardDoesNotBelongToCardholder @@ -494,6 +518,8 @@ components: amount cannot be greater than the transaction amount. If you do not provide an amount, the entire transaction amount will be disputed. $ref: '#/components/schemas/Amount' + duplicateInfo: + $ref: '#/components/schemas/DuplicateInfo' fraudInfo: description: Additional information for raising a dispute of `type` **fraud**. Required for disputes of `type` **fraud**. @@ -529,6 +555,13 @@ components: PatchableDisputeRequest: type: object properties: + duplicateInfo: + type: object + description: Additional information for raising a dispute of `type` **duplicate**. + Required for disputes of `type` **duplicate**. + oneOf: + - $ref: '#/components/schemas/PatchableDuplicateInfo' + - type: 'null' fraudInfo: type: object description: Additional information for raising a dispute of `type` **fraud**. @@ -556,6 +589,24 @@ components: oneOf: - $ref: '#/components/schemas/DisputeStatus' - type: 'null' + PatchableDuplicateInfo: + type: object + properties: + duplicateTransactionId: + type: string + description: The transaction id associated with the duplicate charge for + which you are disputing. The disputed transaction must be in the same + amount as the duplicate transaction. + sameCard: + type: boolean + description: 'The duplicate charge was made on the same card. Possible values: + **true**, **false**.' + sameIssuer: + type: + - boolean + - 'null' + description: 'The issuer associated with each charge is the same. Possible + values: **true**, **false**.' PatchableFraudInfo: type: object properties: