spec release

This commit is contained in:
Adyen Automation
2025-04-01 13:52:06 +02:00
parent 56d7f03558
commit b2eb98ad06
10 changed files with 115 additions and 5 deletions

View File

@@ -5902,6 +5902,18 @@ components:
a donation. This field is only present when `donationType` is **roundup**.
format: int64
type: integer
type:
description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).
Possible values:
* **roundup**: a donation where the original transaction amount is rounded
up as a donation.
* **fixedAmounts**: a donation where you show fixed donation amounts that
the shopper can select from.'
type: string
values:
description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units).
This field is only present when `donationType` is **fixedAmounts**.
@@ -5912,6 +5924,7 @@ components:
required:
- currency
- donationType
- type
type: object
DonationCampaign:
additionalProperties: false
@@ -12778,6 +12791,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: fixedAmounts
donationType: fixedAmounts
values:
- 100
@@ -12794,6 +12808,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: roundup
donationType: roundup
maxRoundupAmount: 100
nonprofitName: NONPROFIT_NAME

View File

@@ -7098,6 +7098,18 @@ components:
a donation. This field is only present when `donationType` is **roundup**.
format: int64
type: integer
type:
description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).
Possible values:
* **roundup**: a donation where the original transaction amount is rounded
up as a donation.
* **fixedAmounts**: a donation where you show fixed donation amounts that
the shopper can select from.'
type: string
values:
description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units).
This field is only present when `donationType` is **fixedAmounts**.
@@ -7108,6 +7120,7 @@ components:
required:
- currency
- donationType
- type
type: object
DonationCampaign:
additionalProperties: false
@@ -14700,6 +14713,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: fixedAmounts
donationType: fixedAmounts
values:
- 100
@@ -14716,6 +14730,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: roundup
donationType: roundup
maxRoundupAmount: 100
nonprofitName: NONPROFIT_NAME

View File

@@ -7222,6 +7222,18 @@ components:
a donation. This field is only present when `donationType` is **roundup**.
format: int64
type: integer
type:
description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).
Possible values:
* **roundup**: a donation where the original transaction amount is rounded
up as a donation.
* **fixedAmounts**: a donation where you show fixed donation amounts that
the shopper can select from.'
type: string
values:
description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units).
This field is only present when `donationType` is **fixedAmounts**.
@@ -7232,6 +7244,7 @@ components:
required:
- currency
- donationType
- type
type: object
DonationCampaign:
additionalProperties: false
@@ -14997,6 +15010,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: fixedAmounts
donationType: fixedAmounts
values:
- 100
@@ -15013,6 +15027,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: roundup
donationType: roundup
maxRoundupAmount: 100
nonprofitName: NONPROFIT_NAME

View File

@@ -7353,6 +7353,18 @@ components:
a donation. This field is only present when `donationType` is **roundup**.
format: int64
type: integer
type:
description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).
Possible values:
* **roundup**: a donation where the original transaction amount is rounded
up as a donation.
* **fixedAmounts**: a donation where you show fixed donation amounts that
the shopper can select from.'
type: string
values:
description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units).
This field is only present when `donationType` is **fixedAmounts**.
@@ -7363,6 +7375,7 @@ components:
required:
- currency
- donationType
- type
type: object
DonationCampaign:
additionalProperties: false
@@ -15324,6 +15337,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: fixedAmounts
donationType: fixedAmounts
values:
- 100
@@ -15340,6 +15354,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: roundup
donationType: roundup
maxRoundupAmount: 100
nonprofitName: NONPROFIT_NAME

View File

@@ -7353,6 +7353,18 @@ components:
a donation. This field is only present when `donationType` is **roundup**.
format: int64
type: integer
type:
description: 'The [type of donation](https://docs.adyen.com/online-payments/donations/#donation-types).
Possible values:
* **roundup**: a donation where the original transaction amount is rounded
up as a donation.
* **fixedAmounts**: a donation where you show fixed donation amounts that
the shopper can select from.'
type: string
values:
description: The fixed donation amounts in [minor units](https://docs.adyen.com/development-resources/currency-codes//#minor-units).
This field is only present when `donationType` is **fixedAmounts**.
@@ -7363,6 +7375,7 @@ components:
required:
- currency
- donationType
- type
type: object
DonationCampaign:
additionalProperties: false
@@ -15136,6 +15149,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: fixedAmounts
donationType: fixedAmounts
values:
- 100
@@ -15152,6 +15166,7 @@ components:
campaignName: DONATION_CAMPAIGN_NAME
donation:
currency: EUR
type: roundup
donationType: roundup
maxRoundupAmount: 100
nonprofitName: NONPROFIT_NAME