Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Dec 7, 2023
1 parent b6f2d18 commit d19fb25
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 108 deletions.
2 changes: 1 addition & 1 deletion json/ManagementNotificationService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
36 changes: 7 additions & 29 deletions json/ManagementService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" : {
Expand Down Expand Up @@ -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" : {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
36 changes: 7 additions & 29 deletions json/ManagementService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" : {
Expand Down Expand Up @@ -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" : {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
8 changes: 1 addition & 7 deletions yaml/ManagementNotificationService-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
27 changes: 6 additions & 21 deletions yaml/ManagementService-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
27 changes: 6 additions & 21 deletions yaml/ManagementService-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit d19fb25

Please sign in to comment.