Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Oct 15, 2024
1 parent 07d07d2 commit fa8048c
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 44 deletions.
23 changes: 12 additions & 11 deletions json/ManagementService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -15802,15 +15802,19 @@
"description" : "Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). ",
"type" : "string"
},
"commercial" : {
"description" : "Set to **true** to apply surcharges only to commercial/business cards.",
"type" : "boolean"
},
"country" : {
"description" : "Countries, to filter different surcharge amounts for domestic or international cards.",
"description" : "The country/region of the card issuer. If used, the surcharge settings only apply to the card issued in that country/region.",
"items" : {
"type" : "string"
},
"type" : "array"
},
"currencies" : {
"description" : "Currency, and surcharge percentage or amount.",
"description" : "Currency and percentage or amount of the surcharge.",
"items" : {
"$ref" : "#/components/schemas/Currency"
},
Expand Down Expand Up @@ -16617,6 +16621,11 @@
"description" : "Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **AUD**.",
"type" : "string"
},
"maxAmount" : {
"description" : "The maximum surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
"format" : "int32",
"type" : "integer"
},
"percentage" : {
"description" : "Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**.",
"format" : "double",
Expand Down Expand Up @@ -19176,14 +19185,6 @@
"description" : "Unique identifier of the split configuration.",
"readOnly" : true,
"type" : "string"
},
"stores" : {
"description" : "List of stores to which the split configuration applies.",
"items" : {
"type" : "string"
},
"readOnly" : true,
"type" : "array"
}
},
"required" : [
Expand Down Expand Up @@ -19693,7 +19694,7 @@
"type" : "boolean"
},
"configurations" : {
"description" : "Surcharge fees or percentages for specific payment methods, funding sources (credit or debit), and currencies.",
"description" : "Surcharge fees or percentages for specific cards, funding sources (credit or debit), and currencies.",
"items" : {
"$ref" : "#/components/schemas/Configuration"
},
Expand Down
23 changes: 12 additions & 11 deletions json/ManagementService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -16227,15 +16227,19 @@
"description" : "Payment method, like **eftpos_australia** or **mc**. See the [possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). ",
"type" : "string"
},
"commercial" : {
"description" : "Set to **true** to apply surcharges only to commercial/business cards.",
"type" : "boolean"
},
"country" : {
"description" : "Countries, to filter different surcharge amounts for domestic or international cards.",
"description" : "The country/region of the card issuer. If used, the surcharge settings only apply to the card issued in that country/region.",
"items" : {
"type" : "string"
},
"type" : "array"
},
"currencies" : {
"description" : "Currency, and surcharge percentage or amount.",
"description" : "Currency and percentage or amount of the surcharge.",
"items" : {
"$ref" : "#/components/schemas/Currency"
},
Expand Down Expand Up @@ -17044,6 +17048,11 @@
"description" : "Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **AUD**.",
"type" : "string"
},
"maxAmount" : {
"description" : "The maximum surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).",
"format" : "int32",
"type" : "integer"
},
"percentage" : {
"description" : "Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**.",
"format" : "double",
Expand Down Expand Up @@ -19597,14 +19606,6 @@
"description" : "Unique identifier of the split configuration.",
"readOnly" : true,
"type" : "string"
},
"stores" : {
"description" : "List of stores to which the split configuration applies.",
"items" : {
"type" : "string"
},
"readOnly" : true,
"type" : "array"
}
},
"required" : [
Expand Down Expand Up @@ -20117,7 +20118,7 @@
"type" : "boolean"
},
"configurations" : {
"description" : "Surcharge fees or percentages for specific payment methods, funding sources (credit or debit), and currencies.",
"description" : "Surcharge fees or percentages for specific cards, funding sources (credit or debit), and currencies.",
"items" : {
"$ref" : "#/components/schemas/Configuration"
},
Expand Down
24 changes: 13 additions & 11 deletions yaml/ManagementService-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10494,14 +10494,18 @@ components:
description: 'Payment method, like **eftpos_australia** or **mc**. See the
[possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). '
type: string
commercial:
description: Set to **true** to apply surcharges only to commercial/business
cards.
type: boolean
country:
description: Countries, to filter different surcharge amounts for domestic
or international cards.
description: The country/region of the card issuer. If used, the surcharge
settings only apply to the card issued in that country/region.
items:
type: string
type: array
currencies:
description: Currency, and surcharge percentage or amount.
description: Currency and percentage or amount of the surcharge.
items:
$ref: '#/components/schemas/Currency'
type: array
Expand Down Expand Up @@ -11341,6 +11345,10 @@ components:
description: Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
For example, **AUD**.
type: string
maxAmount:
description: The maximum surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
format: int32
type: integer
percentage:
description: Surcharge percentage per transaction. The maximum number of
decimal places is two. For example, **1%** or **2.27%**.
Expand Down Expand Up @@ -13599,12 +13607,6 @@ components:
description: Unique identifier of the split configuration.
readOnly: true
type: string
stores:
description: List of stores to which the split configuration applies.
items:
type: string
readOnly: true
type: array
required:
- description
- rules
Expand Down Expand Up @@ -14165,8 +14167,8 @@ components:
can confirm.
type: boolean
configurations:
description: Surcharge fees or percentages for specific payment methods,
funding sources (credit or debit), and currencies.
description: Surcharge fees or percentages for specific cards, funding sources
(credit or debit), and currencies.
items:
$ref: '#/components/schemas/Configuration'
type: array
Expand Down
24 changes: 13 additions & 11 deletions yaml/ManagementService-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10771,14 +10771,18 @@ components:
description: 'Payment method, like **eftpos_australia** or **mc**. See the
[possible values](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). '
type: string
commercial:
description: Set to **true** to apply surcharges only to commercial/business
cards.
type: boolean
country:
description: Countries, to filter different surcharge amounts for domestic
or international cards.
description: The country/region of the card issuer. If used, the surcharge
settings only apply to the card issued in that country/region.
items:
type: string
type: array
currencies:
description: Currency, and surcharge percentage or amount.
description: Currency and percentage or amount of the surcharge.
items:
$ref: '#/components/schemas/Currency'
type: array
Expand Down Expand Up @@ -11620,6 +11624,10 @@ components:
description: Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
For example, **AUD**.
type: string
maxAmount:
description: The maximum surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
format: int32
type: integer
percentage:
description: Surcharge percentage per transaction. The maximum number of
decimal places is two. For example, **1%** or **2.27%**.
Expand Down Expand Up @@ -13874,12 +13882,6 @@ components:
description: Unique identifier of the split configuration.
readOnly: true
type: string
stores:
description: List of stores to which the split configuration applies.
items:
type: string
readOnly: true
type: array
required:
- description
- rules
Expand Down Expand Up @@ -14494,8 +14496,8 @@ components:
can confirm.
type: boolean
configurations:
description: Surcharge fees or percentages for specific payment methods,
funding sources (credit or debit), and currencies.
description: Surcharge fees or percentages for specific cards, funding sources
(credit or debit), and currencies.
items:
$ref: '#/components/schemas/Configuration'
type: array
Expand Down

0 comments on commit fa8048c

Please sign in to comment.