spec release

This commit is contained in:
Adyen Automation
2023-12-07 08:50:54 +01:00
parent b6f2d18dbc
commit d19fb25712
6 changed files with 28 additions and 108 deletions

View File

@@ -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",

View File

@@ -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"

View File

@@ -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"

View File

@@ -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

View File

@@ -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'

View File

@@ -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'