From d19fb257122cdd987590667778270075e9d2a00a Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Thu, 7 Dec 2023 08:50:54 +0100 Subject: [PATCH] spec release --- json/ManagementNotificationService-v3.json | 2 +- json/ManagementService-v1.json | 36 +++++----------------- json/ManagementService-v3.json | 36 +++++----------------- yaml/ManagementNotificationService-v3.yaml | 8 +---- yaml/ManagementService-v1.yaml | 27 ++++------------ yaml/ManagementService-v3.yaml | 27 ++++------------ 6 files changed, 28 insertions(+), 108 deletions(-) diff --git a/json/ManagementNotificationService-v3.json b/json/ManagementNotificationService-v3.json index 2eefb93d..8144d4cf 100644 --- a/json/ManagementNotificationService-v3.json +++ b/json/ManagementNotificationService-v3.json @@ -559,7 +559,7 @@ }, "status" : { "x-addedInVersion" : "2", - "description" : "The status of the request to add a payment method. Possible values:\n\n* **success**: the payment method was added.\n* **failure**: the request failed.\n* **dataRequired**: the request is in a draft state because the required KYC data are missing. To check what data are missing, [get the details of the legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/get/legalEntities/_id_).\n* **capabilityPending**: the **receivePayments** capability is not allowed.\n* **updatesExpected**: the **receivePayments** capability is not allowed and the required KYC data are missing. To check what data are missing, [get the details of the legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/get/legalEntities/_id_).", + "description" : "The status of the request to add a payment method. Possible values:\n\n* **success**: the payment method was added.\n* **failure**: the request failed.\n* **capabilityPending**: the **receivePayments** capability is not allowed.\n", "enum" : [ "success", "failure", diff --git a/json/ManagementService-v1.json b/json/ManagementService-v1.json index 7faff78d..9c49aae8 100644 --- a/json/ManagementService-v1.json +++ b/json/ManagementService-v1.json @@ -15286,27 +15286,6 @@ }, "type" : "object" }, - "AmexInfo" : { - "properties" : { - "midNumber" : { - "description" : "MID number. Format: 10 numeric characters", - "type" : "string" - }, - "serviceLevel" : { - "description" : "Service level", - "enum" : [ - "noContract", - "gatewayContract", - "paymentDesignatorContract" - ], - "type" : "string" - } - }, - "required" : [ - "serviceLevel" - ], - "type" : "object" - }, "Amount" : { "properties" : { "currency" : { @@ -15838,6 +15817,13 @@ "description" : "Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). ", "type" : "string" }, + "country" : { + "description" : "Countries, to filter different surcharge amounts for domestic or international cards.", + "items" : { + "type" : "string" + }, + "type" : "array" + }, "currencies" : { "description" : "Currency, and surcharge percentage or amount.", "items" : { @@ -17789,10 +17775,6 @@ "description" : "Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.", "type" : "boolean" }, - "amex" : { - "description" : "Amex details.", - "$ref" : "#/components/schemas/AmexInfo" - }, "applePay" : { "description" : "Apple Pay details.", "$ref" : "#/components/schemas/ApplePayInfo" @@ -18049,10 +18031,6 @@ "description" : "Afterpay Touch details.", "$ref" : "#/components/schemas/AfterpayTouchInfo" }, - "amex" : { - "description" : "Amex details.", - "$ref" : "#/components/schemas/AmexInfo" - }, "applePay" : { "description" : "Apple Pay details.", "$ref" : "#/components/schemas/ApplePayInfo" diff --git a/json/ManagementService-v3.json b/json/ManagementService-v3.json index 8624b461..3796a769 100644 --- a/json/ManagementService-v3.json +++ b/json/ManagementService-v3.json @@ -15470,27 +15470,6 @@ }, "type" : "object" }, - "AmexInfo" : { - "properties" : { - "midNumber" : { - "description" : "MID number. Format: 10 numeric characters", - "type" : "string" - }, - "serviceLevel" : { - "description" : "Service level", - "enum" : [ - "noContract", - "gatewayContract", - "paymentDesignatorContract" - ], - "type" : "string" - } - }, - "required" : [ - "serviceLevel" - ], - "type" : "object" - }, "Amount" : { "properties" : { "currency" : { @@ -16022,6 +16001,13 @@ "description" : "Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). ", "type" : "string" }, + "country" : { + "description" : "Countries, to filter different surcharge amounts for domestic or international cards.", + "items" : { + "type" : "string" + }, + "type" : "array" + }, "currencies" : { "description" : "Currency, and surcharge percentage or amount.", "items" : { @@ -17968,10 +17954,6 @@ "description" : "Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.", "type" : "boolean" }, - "amex" : { - "description" : "Amex details.", - "$ref" : "#/components/schemas/AmexInfo" - }, "applePay" : { "description" : "Apple Pay details.", "$ref" : "#/components/schemas/ApplePayInfo" @@ -18232,10 +18214,6 @@ "description" : "Afterpay Touch details.", "$ref" : "#/components/schemas/AfterpayTouchInfo" }, - "amex" : { - "description" : "Amex details.", - "$ref" : "#/components/schemas/AmexInfo" - }, "applePay" : { "description" : "Apple Pay details.", "$ref" : "#/components/schemas/ApplePayInfo" diff --git a/yaml/ManagementNotificationService-v3.yaml b/yaml/ManagementNotificationService-v3.yaml index 7828feb5..cf9c8d38 100644 --- a/yaml/ManagementNotificationService-v3.yaml +++ b/yaml/ManagementNotificationService-v3.yaml @@ -500,15 +500,9 @@ components: * **failure**: the request failed. - * **dataRequired**: the request is in a draft state because the required - KYC data are missing. To check what data are missing, [get the details - of the legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/get/legalEntities/_id_). - * **capabilityPending**: the **receivePayments** capability is not allowed. - * **updatesExpected**: the **receivePayments** capability is not allowed - and the required KYC data are missing. To check what data are missing, - [get the details of the legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/get/legalEntities/_id_).' + ' enum: - success - failure diff --git a/yaml/ManagementService-v1.yaml b/yaml/ManagementService-v1.yaml index 7cb1bda4..6014e889 100644 --- a/yaml/ManagementService-v1.yaml +++ b/yaml/ManagementService-v1.yaml @@ -10072,21 +10072,6 @@ components: $ref: '#/components/schemas/AllowedOrigin' type: array type: object - AmexInfo: - properties: - midNumber: - description: 'MID number. Format: 10 numeric characters' - type: string - serviceLevel: - description: Service level - enum: - - noContract - - gatewayContract - - paymentDesignatorContract - type: string - required: - - serviceLevel - type: object Amount: properties: currency: @@ -10540,6 +10525,12 @@ components: description: 'Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). ' type: string + country: + description: Countries, to filter different surcharge amounts for domestic + or international cards. + items: + type: string + type: array currencies: description: Currency, and surcharge percentage or amount. items: @@ -12329,9 +12320,6 @@ components: description: Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. type: boolean - amex: - description: Amex details. - $ref: '#/components/schemas/AmexInfo' applePay: description: Apple Pay details. $ref: '#/components/schemas/ApplePayInfo' @@ -12548,9 +12536,6 @@ components: afterpayTouch: description: Afterpay Touch details. $ref: '#/components/schemas/AfterpayTouchInfo' - amex: - description: Amex details. - $ref: '#/components/schemas/AmexInfo' applePay: description: Apple Pay details. $ref: '#/components/schemas/ApplePayInfo' diff --git a/yaml/ManagementService-v3.yaml b/yaml/ManagementService-v3.yaml index c1f8d4c4..3706bed9 100644 --- a/yaml/ManagementService-v3.yaml +++ b/yaml/ManagementService-v3.yaml @@ -10192,21 +10192,6 @@ components: $ref: '#/components/schemas/AllowedOrigin' type: array type: object - AmexInfo: - properties: - midNumber: - description: 'MID number. Format: 10 numeric characters' - type: string - serviceLevel: - description: Service level - enum: - - noContract - - gatewayContract - - paymentDesignatorContract - type: string - required: - - serviceLevel - type: object Amount: properties: currency: @@ -10660,6 +10645,12 @@ components: description: 'Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). ' type: string + country: + description: Countries, to filter different surcharge amounts for domestic + or international cards. + items: + type: string + type: array currencies: description: Currency, and surcharge percentage or amount. items: @@ -12447,9 +12438,6 @@ components: description: Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. type: boolean - amex: - description: Amex details. - $ref: '#/components/schemas/AmexInfo' applePay: description: Apple Pay details. $ref: '#/components/schemas/ApplePayInfo' @@ -12669,9 +12657,6 @@ components: afterpayTouch: description: Afterpay Touch details. $ref: '#/components/schemas/AfterpayTouchInfo' - amex: - description: Amex details. - $ref: '#/components/schemas/AmexInfo' applePay: description: Apple Pay details. $ref: '#/components/schemas/ApplePayInfo'