From df79eaaa896c995d415a3c127345d8e31c07ff9f Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Thu, 21 Dec 2023 15:04:14 +0100 Subject: [PATCH] spec release --- json/CheckoutService-v37.json | 7 +- json/CheckoutService-v40.json | 7 +- json/CheckoutService-v41.json | 7 +- json/CheckoutService-v46.json | 7 +- json/CheckoutService-v49.json | 7 +- json/CheckoutService-v50.json | 7 +- json/CheckoutService-v51.json | 7 +- json/CheckoutService-v52.json | 7 +- json/CheckoutService-v53.json | 7 +- json/CheckoutService-v64.json | 7 +- json/CheckoutService-v65.json | 7 +- json/CheckoutService-v66.json | 7 +- json/CheckoutService-v67.json | 7 +- json/CheckoutService-v68.json | 15 +++- json/CheckoutService-v69.json | 15 +++- json/CheckoutService-v70.json | 134 +++++++++------------------------- json/CheckoutService-v71.json | 134 +++++++++------------------------- yaml/CheckoutService-v37.yaml | 5 +- yaml/CheckoutService-v40.yaml | 5 +- yaml/CheckoutService-v41.yaml | 5 +- yaml/CheckoutService-v46.yaml | 5 +- yaml/CheckoutService-v49.yaml | 5 +- yaml/CheckoutService-v50.yaml | 5 +- yaml/CheckoutService-v51.yaml | 5 +- yaml/CheckoutService-v52.yaml | 5 +- yaml/CheckoutService-v53.yaml | 5 +- yaml/CheckoutService-v64.yaml | 5 +- yaml/CheckoutService-v65.yaml | 5 +- yaml/CheckoutService-v66.yaml | 5 +- yaml/CheckoutService-v67.yaml | 5 +- yaml/CheckoutService-v68.yaml | 13 +++- yaml/CheckoutService-v69.yaml | 13 +++- yaml/CheckoutService-v70.yaml | 119 +++++++++--------------------- yaml/CheckoutService-v71.yaml | 119 +++++++++--------------------- 34 files changed, 288 insertions(+), 430 deletions(-) diff --git a/json/CheckoutService-v37.json b/json/CheckoutService-v37.json index 6b8b6df2..d9021f9d 100644 --- a/json/CheckoutService-v37.json +++ b/json/CheckoutService-v37.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v40.json b/json/CheckoutService-v40.json index 6f430f94..6a78b414 100644 --- a/json/CheckoutService-v40.json +++ b/json/CheckoutService-v40.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v41.json b/json/CheckoutService-v41.json index 9baa7966..23066de5 100644 --- a/json/CheckoutService-v41.json +++ b/json/CheckoutService-v41.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v46.json b/json/CheckoutService-v46.json index 3726113d..34280e02 100644 --- a/json/CheckoutService-v46.json +++ b/json/CheckoutService-v46.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v49.json b/json/CheckoutService-v49.json index 6d102d6c..860c38fb 100644 --- a/json/CheckoutService-v49.json +++ b/json/CheckoutService-v49.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v50.json b/json/CheckoutService-v50.json index 2199865d..d89ff290 100644 --- a/json/CheckoutService-v50.json +++ b/json/CheckoutService-v50.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v51.json b/json/CheckoutService-v51.json index 544d2a4b..5c993744 100644 --- a/json/CheckoutService-v51.json +++ b/json/CheckoutService-v51.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v52.json b/json/CheckoutService-v52.json index bd86f094..1dc12471 100644 --- a/json/CheckoutService-v52.json +++ b/json/CheckoutService-v52.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v53.json b/json/CheckoutService-v53.json index d9b0e50b..90f68119 100644 --- a/json/CheckoutService-v53.json +++ b/json/CheckoutService-v53.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v64.json b/json/CheckoutService-v64.json index 8a56b32c..d51affbd 100644 --- a/json/CheckoutService-v64.json +++ b/json/CheckoutService-v64.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v65.json b/json/CheckoutService-v65.json index 4132276d..123311f3 100644 --- a/json/CheckoutService-v65.json +++ b/json/CheckoutService-v65.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v66.json b/json/CheckoutService-v66.json index b20b2e33..228e5ea2 100644 --- a/json/CheckoutService-v66.json +++ b/json/CheckoutService-v66.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v67.json b/json/CheckoutService-v67.json index 2bfc6332..052543ea 100644 --- a/json/CheckoutService-v67.json +++ b/json/CheckoutService-v67.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { diff --git a/json/CheckoutService-v68.json b/json/CheckoutService-v68.json index 52b594af..b57c3819 100644 --- a/json/CheckoutService-v68.json +++ b/json/CheckoutService-v68.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { @@ -6302,6 +6305,10 @@ "description" : "Set to true to show the payment amount per installment.", "type" : "boolean" }, + "showRemovePaymentMethodButton" : { + "description" : "Set to **true** to show a button that lets the shopper remove a stored payment method.", + "type" : "boolean" + }, "socialSecurityNumber" : { "description" : "The shopper's social security number.", "type" : "string" @@ -6626,6 +6633,10 @@ "description" : "Set to true to show the payment amount per installment.", "type" : "boolean" }, + "showRemovePaymentMethodButton" : { + "description" : "Set to **true** to show a button that lets the shopper remove a stored payment method.", + "type" : "boolean" + }, "socialSecurityNumber" : { "description" : "The shopper's social security number.", "type" : "string" diff --git a/json/CheckoutService-v69.json b/json/CheckoutService-v69.json index 87f830fd..8b59df12 100644 --- a/json/CheckoutService-v69.json +++ b/json/CheckoutService-v69.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { @@ -6387,6 +6390,10 @@ "description" : "Set to true to show the payment amount per installment.", "type" : "boolean" }, + "showRemovePaymentMethodButton" : { + "description" : "Set to **true** to show a button that lets the shopper remove a stored payment method.", + "type" : "boolean" + }, "socialSecurityNumber" : { "description" : "The shopper's social security number.", "type" : "string" @@ -6724,6 +6731,10 @@ "description" : "Set to true to show the payment amount per installment.", "type" : "boolean" }, + "showRemovePaymentMethodButton" : { + "description" : "Set to **true** to show a button that lets the shopper remove a stored payment method.", + "type" : "boolean" + }, "socialSecurityNumber" : { "description" : "The shopper's social security number.", "type" : "string" diff --git a/json/CheckoutService-v70.json b/json/CheckoutService-v70.json index 6f278213..dfda7b37 100644 --- a/json/CheckoutService-v70.json +++ b/json/CheckoutService-v70.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { @@ -1818,9 +1821,6 @@ "enableOneClick-SF" : { "$ref" : "#/components/examples/post-payments-enableOneClick-SF" }, - "enableOneClick-raw" : { - "$ref" : "#/components/examples/post-payments-enableOneClick-raw" - }, "giropay" : { "$ref" : "#/components/examples/post-payments-giropay" }, @@ -1833,9 +1833,6 @@ "klarna" : { "$ref" : "#/components/examples/post-payments-klarna" }, - "oneclick-direct" : { - "$ref" : "#/components/examples/post-payments-oneclick-direct" - }, "oneclick-securedfields" : { "$ref" : "#/components/examples/post-payments-oneclick-securedfields" }, @@ -1880,9 +1877,6 @@ "enableOneClick-SF" : { "$ref" : "#/components/examples/post-payments-enableOneClick-SF-200" }, - "enableOneClick-raw" : { - "$ref" : "#/components/examples/post-payments-enableOneClick-raw-200" - }, "giropay" : { "$ref" : "#/components/examples/post-payments-giropay-200" }, @@ -6509,6 +6503,10 @@ "description" : "Set to true to show the payment amount per installment.", "type" : "boolean" }, + "showRemovePaymentMethodButton" : { + "description" : "Set to **true** to show a button that lets the shopper remove a stored payment method.", + "type" : "boolean" + }, "socialSecurityNumber" : { "description" : "The shopper's social security number.", "type" : "string" @@ -6871,6 +6869,10 @@ "description" : "Set to true to show the payment amount per installment.", "type" : "boolean" }, + "showRemovePaymentMethodButton" : { + "description" : "Set to **true** to show a button that lets the shopper remove a stored payment method.", + "type" : "boolean" + }, "socialSecurityNumber" : { "description" : "The shopper's social security number.", "type" : "string" @@ -18868,7 +18870,7 @@ } }, "post-payments-card-3d-secure-2-web" : { - "summary" : "Make a card payment with 3D Secure 2 native authentication, using encrypted card details", + "summary" : "Make a card payment with 3D Secure 2 native authentication", "value" : { "amount" : { "currency" : "EUR", @@ -18915,7 +18917,7 @@ } }, "post-payments-card-3d-secure-direct" : { - "summary" : "Make card payment with 3D Secure redirect authentication", + "summary" : "Make a card payment with 3D Secure redirect authentication", "value" : { "amount" : { "currency" : "USD", @@ -18945,7 +18947,7 @@ } }, "post-payments-card-direct" : { - "summary" : "Make a card payment", + "summary" : "Make a card payment with unencrypted card details", "value" : { "amount" : { "currency" : "USD", @@ -18965,7 +18967,7 @@ } }, "post-payments-card-direct-200" : { - "summary" : "Successful card payment", + "summary" : "Successful card payment with unencrypted card details", "value" : { "additionalData" : { "cvcResult" : "1 Matches", @@ -18983,7 +18985,7 @@ } }, "post-payments-card-securedfields" : { - "summary" : "Make a card payment using encrypted card details", + "summary" : "Make a card payment", "value" : { "amount" : { "currency" : "USD", @@ -19002,7 +19004,7 @@ } }, "post-payments-card-securedfields-200" : { - "summary" : "Successful card payment using encrypted card details", + "summary" : "Successful card payment", "value" : { "additionalData" : { "cvcResult" : "1 Matches", @@ -19045,7 +19047,7 @@ } }, "post-payments-enableOneClick-SF" : { - "summary" : "Tokenize card details for one-off payments, using encrypted card details", + "summary" : "Tokenize card details for one-off payments", "value" : { "amount" : { "currency" : "USD", @@ -19068,7 +19070,7 @@ } }, "post-payments-enableOneClick-SF-200" : { - "summary" : "Card details tokenized for one-off payments, using encrypted card details", + "summary" : "Card details tokenized for one-off payments", "value" : { "additionalData" : { "cvcResult" : "1 Matches", @@ -19088,51 +19090,6 @@ "merchantReference" : "string" } }, - "post-payments-enableOneClick-raw" : { - "summary" : "Tokenize card details for one-off payments", - "value" : { - "amount" : { - "currency" : "USD", - "value" : 1000 - }, - "reference" : "Your order number", - "paymentMethod" : { - "type" : "scheme", - "number" : "4111111111111111", - "expiryMonth" : "03", - "expiryYear" : "2030", - "holderName" : "John Smith", - "cvc" : "737" - }, - "shopperReference" : "YOUR_SHOPPER_REFERENCE", - "shopperInteraction" : "Ecommerce", - "recurringProcessingModel" : "CardOnFile", - "storePaymentMethod" : true, - "returnUrl" : "https://your-company.com/...", - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT" - } - }, - "post-payments-enableOneClick-raw-200" : { - "summary" : "Card details tokenized for one-off payments", - "value" : { - "additionalData" : { - "cvcResult" : "1 Matches", - "authCode" : "003704", - "avsResult" : "4 AVS not supported for this card type", - "recurring.recurringDetailReference" : "9916178934434753", - "recurringProcessingModel" : "CardOnFile", - "avsResultRaw" : "4", - "cvcResultRaw" : "M", - "refusalReasonRaw" : "AUTHORISED", - "recurring.shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j", - "acquirerCode" : "TestPmmAcquirer", - "acquirerReference" : "8PQMP9VCKO0" - }, - "pspReference" : "993617895197573E", - "resultCode" : "Authorised", - "merchantReference" : "string" - } - }, "post-payments-giropay" : { "summary" : "Make a giropay payment", "value" : { @@ -19289,26 +19246,8 @@ ] } }, - "post-payments-oneclick-direct" : { - "summary" : "Make a one-off payment with a token and CVV", - "value" : { - "amount" : { - "currency" : "USD", - "value" : 1000 - }, - "reference" : "Your order number", - "paymentMethod" : { - "type" : "scheme", - "storedPaymentMethodId" : "8416038790273850", - "cvc" : "737" - }, - "shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_6738oneoff", - "returnUrl" : "https://your-company.com/...", - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT" - } - }, "post-payments-oneclick-securedfields" : { - "summary" : "Make a one-off payment with a token and CVV, using encrypted card details", + "summary" : "Make a one-off payment with a token and CVV", "value" : { "amount" : { "currency" : "USD", @@ -19459,7 +19398,7 @@ } }, "post-payments-recurring" : { - "summary" : "Make a card payment with a token", + "summary" : "Make a subscription card payment with a token", "value" : { "amount" : { "currency" : "USD", @@ -19536,11 +19475,10 @@ "value" : { "paymentMethod" : { "type" : "scheme", - "number" : "4111111111111111", - "cvc" : "737", - "expiryMonth" : "03", - "expiryYear" : "2030", - "holderName" : "John Smith" + "encryptedCardNumber" : "test_4111111111111111", + "encryptedExpiryMonth" : "test_03", + "encryptedExpiryYear" : "test_2030", + "encryptedSecurityCode" : "test_737" }, "amount" : { "value" : 40000, @@ -19652,11 +19590,10 @@ "value" : { "paymentMethod" : { "type" : "scheme", - "number" : "4111111111111111", - "cvc" : "737", - "expiryMonth" : "03", - "expiryYear" : "2030", - "holderName" : "John Smith" + "encryptedCardNumber" : "test_4111111111111111", + "encryptedExpiryMonth" : "test_03", + "encryptedExpiryYear" : "test_2030", + "encryptedSecurityCode" : "test_737" }, "amount" : { "value" : 6200, @@ -19695,11 +19632,10 @@ "reference" : "Your order number", "paymentMethod" : { "type" : "scheme", - "number" : "4111111111111111", - "expiryMonth" : "03", - "expiryYear" : "2030", - "holderName" : "John Smith", - "cvc" : "737" + "encryptedCardNumber" : "test_4111111111111111", + "encryptedExpiryMonth" : "test_03", + "encryptedExpiryYear" : "test_2030", + "encryptedSecurityCode" : "test_737" }, "shopperReference" : "YOUR_SHOPPER_REFERENCE", "storePaymentMethod" : true, diff --git a/json/CheckoutService-v71.json b/json/CheckoutService-v71.json index 213c2876..70ae976c 100644 --- a/json/CheckoutService-v71.json +++ b/json/CheckoutService-v71.json @@ -20,6 +20,9 @@ { "name" : "Payments" }, + { + "name" : "Donations" + }, { "name" : "Payment links" }, @@ -318,12 +321,12 @@ "/donations" : { "post" : { "tags" : [ - "Payments" + "Donations" ], "summary" : "Start a transaction for donations", "description" : "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request.\n\nFor more information, see [Donations](https://docs.adyen.com/online-payments/donations).", "operationId" : "post-donations", - "x-sortIndex" : 5, + "x-sortIndex" : 2, "x-methodName" : "donations", "security" : [ { @@ -1818,9 +1821,6 @@ "enableOneClick-SF" : { "$ref" : "#/components/examples/post-payments-enableOneClick-SF" }, - "enableOneClick-raw" : { - "$ref" : "#/components/examples/post-payments-enableOneClick-raw" - }, "giropay" : { "$ref" : "#/components/examples/post-payments-giropay" }, @@ -1833,9 +1833,6 @@ "klarna" : { "$ref" : "#/components/examples/post-payments-klarna" }, - "oneclick-direct" : { - "$ref" : "#/components/examples/post-payments-oneclick-direct" - }, "oneclick-securedfields" : { "$ref" : "#/components/examples/post-payments-oneclick-securedfields" }, @@ -1880,9 +1877,6 @@ "enableOneClick-SF" : { "$ref" : "#/components/examples/post-payments-enableOneClick-SF-200" }, - "enableOneClick-raw" : { - "$ref" : "#/components/examples/post-payments-enableOneClick-raw-200" - }, "giropay" : { "$ref" : "#/components/examples/post-payments-giropay-200" }, @@ -6509,6 +6503,10 @@ "description" : "Set to true to show the payment amount per installment.", "type" : "boolean" }, + "showRemovePaymentMethodButton" : { + "description" : "Set to **true** to show a button that lets the shopper remove a stored payment method.", + "type" : "boolean" + }, "socialSecurityNumber" : { "description" : "The shopper's social security number.", "type" : "string" @@ -6871,6 +6869,10 @@ "description" : "Set to true to show the payment amount per installment.", "type" : "boolean" }, + "showRemovePaymentMethodButton" : { + "description" : "Set to **true** to show a button that lets the shopper remove a stored payment method.", + "type" : "boolean" + }, "socialSecurityNumber" : { "description" : "The shopper's social security number.", "type" : "string" @@ -18706,7 +18708,7 @@ } }, "post-payments-card-3d-secure-2-web" : { - "summary" : "Make a card payment with 3D Secure 2 native authentication, using encrypted card details", + "summary" : "Make a card payment with 3D Secure 2 native authentication", "value" : { "amount" : { "currency" : "EUR", @@ -18753,7 +18755,7 @@ } }, "post-payments-card-3d-secure-direct" : { - "summary" : "Make card payment with 3D Secure redirect authentication", + "summary" : "Make a card payment with 3D Secure redirect authentication", "value" : { "amount" : { "currency" : "USD", @@ -18783,7 +18785,7 @@ } }, "post-payments-card-direct" : { - "summary" : "Make a card payment", + "summary" : "Make a card payment with unencrypted card details", "value" : { "amount" : { "currency" : "USD", @@ -18803,7 +18805,7 @@ } }, "post-payments-card-direct-200" : { - "summary" : "Successful card payment", + "summary" : "Successful card payment with unencrypted card details", "value" : { "additionalData" : { "cvcResult" : "1 Matches", @@ -18821,7 +18823,7 @@ } }, "post-payments-card-securedfields" : { - "summary" : "Make a card payment using encrypted card details", + "summary" : "Make a card payment", "value" : { "amount" : { "currency" : "USD", @@ -18840,7 +18842,7 @@ } }, "post-payments-card-securedfields-200" : { - "summary" : "Successful card payment using encrypted card details", + "summary" : "Successful card payment", "value" : { "additionalData" : { "cvcResult" : "1 Matches", @@ -18883,7 +18885,7 @@ } }, "post-payments-enableOneClick-SF" : { - "summary" : "Tokenize card details for one-off payments, using encrypted card details", + "summary" : "Tokenize card details for one-off payments", "value" : { "amount" : { "currency" : "USD", @@ -18906,7 +18908,7 @@ } }, "post-payments-enableOneClick-SF-200" : { - "summary" : "Card details tokenized for one-off payments, using encrypted card details", + "summary" : "Card details tokenized for one-off payments", "value" : { "additionalData" : { "cvcResult" : "1 Matches", @@ -18926,51 +18928,6 @@ "merchantReference" : "string" } }, - "post-payments-enableOneClick-raw" : { - "summary" : "Tokenize card details for one-off payments", - "value" : { - "amount" : { - "currency" : "USD", - "value" : 1000 - }, - "reference" : "Your order number", - "paymentMethod" : { - "type" : "scheme", - "number" : "4111111111111111", - "expiryMonth" : "03", - "expiryYear" : "2030", - "holderName" : "John Smith", - "cvc" : "737" - }, - "shopperReference" : "YOUR_SHOPPER_REFERENCE", - "shopperInteraction" : "Ecommerce", - "recurringProcessingModel" : "CardOnFile", - "storePaymentMethod" : true, - "returnUrl" : "https://your-company.com/...", - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT" - } - }, - "post-payments-enableOneClick-raw-200" : { - "summary" : "Card details tokenized for one-off payments", - "value" : { - "additionalData" : { - "cvcResult" : "1 Matches", - "authCode" : "003704", - "avsResult" : "4 AVS not supported for this card type", - "recurring.recurringDetailReference" : "9916178934434753", - "recurringProcessingModel" : "CardOnFile", - "avsResultRaw" : "4", - "cvcResultRaw" : "M", - "refusalReasonRaw" : "AUTHORISED", - "recurring.shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j", - "acquirerCode" : "TestPmmAcquirer", - "acquirerReference" : "8PQMP9VCKO0" - }, - "pspReference" : "993617895197573E", - "resultCode" : "Authorised", - "merchantReference" : "string" - } - }, "post-payments-giropay" : { "summary" : "Make a giropay payment", "value" : { @@ -19127,26 +19084,8 @@ ] } }, - "post-payments-oneclick-direct" : { - "summary" : "Make a one-off payment with a token and CVV", - "value" : { - "amount" : { - "currency" : "USD", - "value" : 1000 - }, - "reference" : "Your order number", - "paymentMethod" : { - "type" : "scheme", - "storedPaymentMethodId" : "8416038790273850", - "cvc" : "737" - }, - "shopperReference" : "YOUR_UNIQUE_SHOPPER_ID_6738oneoff", - "returnUrl" : "https://your-company.com/...", - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT" - } - }, "post-payments-oneclick-securedfields" : { - "summary" : "Make a one-off payment with a token and CVV, using encrypted card details", + "summary" : "Make a one-off payment with a token and CVV", "value" : { "amount" : { "currency" : "USD", @@ -19297,7 +19236,7 @@ } }, "post-payments-recurring" : { - "summary" : "Make a card payment with a token", + "summary" : "Make a subscription card payment with a token", "value" : { "amount" : { "currency" : "USD", @@ -19374,11 +19313,10 @@ "value" : { "paymentMethod" : { "type" : "scheme", - "number" : "4111111111111111", - "cvc" : "737", - "expiryMonth" : "03", - "expiryYear" : "2030", - "holderName" : "John Smith" + "encryptedCardNumber" : "test_4111111111111111", + "encryptedExpiryMonth" : "test_03", + "encryptedExpiryYear" : "test_2030", + "encryptedSecurityCode" : "test_737" }, "amount" : { "value" : 40000, @@ -19490,11 +19428,10 @@ "value" : { "paymentMethod" : { "type" : "scheme", - "number" : "4111111111111111", - "cvc" : "737", - "expiryMonth" : "03", - "expiryYear" : "2030", - "holderName" : "John Smith" + "encryptedCardNumber" : "test_4111111111111111", + "encryptedExpiryMonth" : "test_03", + "encryptedExpiryYear" : "test_2030", + "encryptedSecurityCode" : "test_737" }, "amount" : { "value" : 6200, @@ -19533,11 +19470,10 @@ "reference" : "Your order number", "paymentMethod" : { "type" : "scheme", - "number" : "4111111111111111", - "expiryMonth" : "03", - "expiryYear" : "2030", - "holderName" : "John Smith", - "cvc" : "737" + "encryptedCardNumber" : "test_4111111111111111", + "encryptedExpiryMonth" : "test_03", + "encryptedExpiryYear" : "test_2030", + "encryptedSecurityCode" : "test_737" }, "shopperReference" : "YOUR_SHOPPER_REFERENCE", "storePaymentMethod" : true, diff --git a/yaml/CheckoutService-v37.yaml b/yaml/CheckoutService-v37.yaml index fb71cf8a..cf1d91dd 100644 --- a/yaml/CheckoutService-v37.yaml +++ b/yaml/CheckoutService-v37.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v40.yaml b/yaml/CheckoutService-v40.yaml index 7835caf0..b8887af8 100644 --- a/yaml/CheckoutService-v40.yaml +++ b/yaml/CheckoutService-v40.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v41.yaml b/yaml/CheckoutService-v41.yaml index f1724365..2bdcbeb7 100644 --- a/yaml/CheckoutService-v41.yaml +++ b/yaml/CheckoutService-v41.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v46.yaml b/yaml/CheckoutService-v46.yaml index 092e6314..687fdadb 100644 --- a/yaml/CheckoutService-v46.yaml +++ b/yaml/CheckoutService-v46.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v49.yaml b/yaml/CheckoutService-v49.yaml index 80a84b18..1dc4a979 100644 --- a/yaml/CheckoutService-v49.yaml +++ b/yaml/CheckoutService-v49.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v50.yaml b/yaml/CheckoutService-v50.yaml index 5f35d7c1..3f00fffa 100644 --- a/yaml/CheckoutService-v50.yaml +++ b/yaml/CheckoutService-v50.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v51.yaml b/yaml/CheckoutService-v51.yaml index 69f12b81..4b2848aa 100644 --- a/yaml/CheckoutService-v51.yaml +++ b/yaml/CheckoutService-v51.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v52.yaml b/yaml/CheckoutService-v52.yaml index c44b747b..014269d8 100644 --- a/yaml/CheckoutService-v52.yaml +++ b/yaml/CheckoutService-v52.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v53.yaml b/yaml/CheckoutService-v53.yaml index 9ff1d08e..be572fdf 100644 --- a/yaml/CheckoutService-v53.yaml +++ b/yaml/CheckoutService-v53.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v64.yaml b/yaml/CheckoutService-v64.yaml index 1dec1e66..c7933e51 100644 --- a/yaml/CheckoutService-v64.yaml +++ b/yaml/CheckoutService-v64.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v65.yaml b/yaml/CheckoutService-v65.yaml index 7abd536a..1f5e2a19 100644 --- a/yaml/CheckoutService-v65.yaml +++ b/yaml/CheckoutService-v65.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v66.yaml b/yaml/CheckoutService-v66.yaml index 39540c49..fab004eb 100644 --- a/yaml/CheckoutService-v66.yaml +++ b/yaml/CheckoutService-v66.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v67.yaml b/yaml/CheckoutService-v67.yaml index e46ec1d4..babbe5c9 100644 --- a/yaml/CheckoutService-v67.yaml +++ b/yaml/CheckoutService-v67.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] diff --git a/yaml/CheckoutService-v68.yaml b/yaml/CheckoutService-v68.yaml index 0d2f6a4d..ba22fadb 100644 --- a/yaml/CheckoutService-v68.yaml +++ b/yaml/CheckoutService-v68.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] @@ -5908,6 +5909,10 @@ components: showInstallmentAmount: description: Set to true to show the payment amount per installment. type: boolean + showRemovePaymentMethodButton: + description: Set to **true** to show a button that lets the shopper remove + a stored payment method. + type: boolean socialSecurityNumber: description: The shopper's social security number. type: string @@ -6279,6 +6284,10 @@ components: showInstallmentAmount: description: Set to true to show the payment amount per installment. type: boolean + showRemovePaymentMethodButton: + description: Set to **true** to show a button that lets the shopper remove + a stored payment method. + type: boolean socialSecurityNumber: description: The shopper's social security number. type: string diff --git a/yaml/CheckoutService-v69.yaml b/yaml/CheckoutService-v69.yaml index 6793f705..6785e16f 100644 --- a/yaml/CheckoutService-v69.yaml +++ b/yaml/CheckoutService-v69.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] @@ -5994,6 +5995,10 @@ components: showInstallmentAmount: description: Set to true to show the payment amount per installment. type: boolean + showRemovePaymentMethodButton: + description: Set to **true** to show a button that lets the shopper remove + a stored payment method. + type: boolean socialSecurityNumber: description: The shopper's social security number. type: string @@ -6377,6 +6382,10 @@ components: showInstallmentAmount: description: Set to true to show the payment amount per installment. type: boolean + showRemovePaymentMethodButton: + description: Set to **true** to show a button that lets the shopper remove + a stored payment method. + type: boolean socialSecurityNumber: description: The shopper's social security number. type: string diff --git a/yaml/CheckoutService-v70.yaml b/yaml/CheckoutService-v70.yaml index cc97b459..21b202b4 100644 --- a/yaml/CheckoutService-v70.yaml +++ b/yaml/CheckoutService-v70.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] @@ -1212,8 +1213,6 @@ paths: $ref: '#/components/examples/post-payments-card-securedfields' enableOneClick-SF: $ref: '#/components/examples/post-payments-enableOneClick-SF' - enableOneClick-raw: - $ref: '#/components/examples/post-payments-enableOneClick-raw' giropay: $ref: '#/components/examples/post-payments-giropay' googlepay: @@ -1222,8 +1221,6 @@ paths: $ref: '#/components/examples/post-payments-ideal' klarna: $ref: '#/components/examples/post-payments-klarna' - oneclick-direct: - $ref: '#/components/examples/post-payments-oneclick-direct' oneclick-securedfields: $ref: '#/components/examples/post-payments-oneclick-securedfields' recurring: @@ -1251,8 +1248,6 @@ paths: $ref: '#/components/examples/post-payments-card-securedfields-200' enableOneClick-SF: $ref: '#/components/examples/post-payments-enableOneClick-SF-200' - enableOneClick-raw: - $ref: '#/components/examples/post-payments-enableOneClick-raw-200' giropay: $ref: '#/components/examples/post-payments-giropay-200' ideal: @@ -6084,6 +6079,10 @@ components: showInstallmentAmount: description: Set to true to show the payment amount per installment. type: boolean + showRemovePaymentMethodButton: + description: Set to **true** to show a button that lets the shopper remove + a stored payment method. + type: boolean socialSecurityNumber: description: The shopper's social security number. type: string @@ -6497,6 +6496,10 @@ components: showInstallmentAmount: description: Set to true to show the payment amount per installment. type: boolean + showRemovePaymentMethodButton: + description: Set to **true** to show a button that lets the shopper remove + a stored payment method. + type: boolean socialSecurityNumber: description: The shopper's social security number. type: string @@ -16528,8 +16531,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-3d-secure-2-web: - summary: Make a card payment with 3D Secure 2 native authentication, using encrypted - card details + summary: Make a card payment with 3D Secure 2 native authentication value: amount: currency: EUR @@ -16569,7 +16571,7 @@ components: returnUrl: https://your-company.com/checkout/ merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-3d-secure-direct: - summary: Make card payment with 3D Secure redirect authentication + summary: Make a card payment with 3D Secure redirect authentication value: amount: currency: USD @@ -16595,7 +16597,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-direct: - summary: Make a card payment + summary: Make a card payment with unencrypted card details value: amount: currency: USD @@ -16611,7 +16613,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-direct-200: - summary: Successful card payment + summary: Successful card payment with unencrypted card details value: additionalData: cvcResult: 1 Matches @@ -16626,7 +16628,7 @@ components: resultCode: Authorised merchantReference: string post-payments-card-securedfields: - summary: Make a card payment using encrypted card details + summary: Make a card payment value: amount: currency: USD @@ -16641,7 +16643,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-securedfields-200: - summary: Successful card payment using encrypted card details + summary: Successful card payment value: additionalData: cvcResult: 1 Matches @@ -16673,7 +16675,7 @@ components: details: threeDSResult: eyJ0cmFuc1N0YXR1cyI6IlkifQ== post-payments-enableOneClick-SF: - summary: Tokenize card details for one-off payments, using encrypted card details + summary: Tokenize card details for one-off payments value: amount: currency: USD @@ -16692,7 +16694,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-enableOneClick-SF-200: - summary: Card details tokenized for one-off payments, using encrypted card details + summary: Card details tokenized for one-off payments value: additionalData: cvcResult: 1 Matches @@ -16709,44 +16711,6 @@ components: pspReference: 993617895195570C resultCode: Authorised merchantReference: string - post-payments-enableOneClick-raw: - summary: Tokenize card details for one-off payments - value: - amount: - currency: USD - value: 1000 - reference: Your order number - paymentMethod: - type: scheme - number: '4111111111111111' - expiryMonth: '03' - expiryYear: '2030' - holderName: John Smith - cvc: '737' - shopperReference: YOUR_SHOPPER_REFERENCE - shopperInteraction: Ecommerce - recurringProcessingModel: CardOnFile - storePaymentMethod: true - returnUrl: https://your-company.com/... - merchantAccount: YOUR_MERCHANT_ACCOUNT - post-payments-enableOneClick-raw-200: - summary: Card details tokenized for one-off payments - value: - additionalData: - cvcResult: 1 Matches - authCode: '003704' - avsResult: 4 AVS not supported for this card type - recurring.recurringDetailReference: '9916178934434753' - recurringProcessingModel: CardOnFile - avsResultRaw: '4' - cvcResultRaw: M - refusalReasonRaw: AUTHORISED - recurring.shopperReference: YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j - acquirerCode: TestPmmAcquirer - acquirerReference: 8PQMP9VCKO0 - pspReference: 993617895197573E - resultCode: Authorised - merchantReference: string post-payments-giropay: summary: Make a giropay payment value: @@ -16865,22 +16829,8 @@ components: amountIncludingTax: 300 productUrl: URL_TO_PURCHASED_ITEM imageUrl: URL_TO_PICTURE_OF_PURCHASED_ITEM - post-payments-oneclick-direct: - summary: Make a one-off payment with a token and CVV - value: - amount: - currency: USD - value: 1000 - reference: Your order number - paymentMethod: - type: scheme - storedPaymentMethodId: '8416038790273850' - cvc: '737' - shopperReference: YOUR_UNIQUE_SHOPPER_ID_6738oneoff - returnUrl: https://your-company.com/... - merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-oneclick-securedfields: - summary: Make a one-off payment with a token and CVV, using encrypted card details + summary: Make a one-off payment with a token and CVV value: amount: currency: USD @@ -16999,7 +16949,7 @@ components: pspReference: 993617894906488A status: received post-payments-recurring: - summary: Make a card payment with a token + summary: Make a subscription card payment with a token value: amount: currency: USD @@ -17057,11 +17007,10 @@ components: value: paymentMethod: type: scheme - number: '4111111111111111' - cvc: '737' - expiryMonth: '03' - expiryYear: '2030' - holderName: John Smith + encryptedCardNumber: test_4111111111111111 + encryptedExpiryMonth: test_03 + encryptedExpiryYear: test_2030 + encryptedSecurityCode: test_737 amount: value: 40000 currency: USD @@ -17154,11 +17103,10 @@ components: value: paymentMethod: type: scheme - number: '4111111111111111' - cvc: '737' - expiryMonth: '03' - expiryYear: '2030' - holderName: John Smith + encryptedCardNumber: test_4111111111111111 + encryptedExpiryMonth: test_03 + encryptedExpiryYear: test_2030 + encryptedSecurityCode: test_737 amount: value: 6200 currency: EUR @@ -17185,11 +17133,10 @@ components: reference: Your order number paymentMethod: type: scheme - number: '4111111111111111' - expiryMonth: '03' - expiryYear: '2030' - holderName: John Smith - cvc: '737' + encryptedCardNumber: test_4111111111111111 + encryptedExpiryMonth: test_03 + encryptedExpiryYear: test_2030 + encryptedSecurityCode: test_737 shopperReference: YOUR_SHOPPER_REFERENCE storePaymentMethod: true shopperInteraction: Ecommerce diff --git a/yaml/CheckoutService-v71.yaml b/yaml/CheckoutService-v71.yaml index 86a8404f..3e1b27ae 100644 --- a/yaml/CheckoutService-v71.yaml +++ b/yaml/CheckoutService-v71.yaml @@ -86,6 +86,7 @@ info: url: https://github.com/Adyen/adyen-openapi tags: - name: Payments +- name: Donations - name: Payment links - name: Modifications - name: Recurring @@ -286,7 +287,7 @@ paths: /donations: post: tags: - - Payments + - Donations summary: Start a transaction for donations description: 'Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the @@ -295,7 +296,7 @@ paths: For more information, see [Donations](https://docs.adyen.com/online-payments/donations).' operationId: post-donations - x-sortIndex: 5 + x-sortIndex: 2 x-methodName: donations security: - BasicAuth: [] @@ -1212,8 +1213,6 @@ paths: $ref: '#/components/examples/post-payments-card-securedfields' enableOneClick-SF: $ref: '#/components/examples/post-payments-enableOneClick-SF' - enableOneClick-raw: - $ref: '#/components/examples/post-payments-enableOneClick-raw' giropay: $ref: '#/components/examples/post-payments-giropay' googlepay: @@ -1222,8 +1221,6 @@ paths: $ref: '#/components/examples/post-payments-ideal' klarna: $ref: '#/components/examples/post-payments-klarna' - oneclick-direct: - $ref: '#/components/examples/post-payments-oneclick-direct' oneclick-securedfields: $ref: '#/components/examples/post-payments-oneclick-securedfields' recurring: @@ -1251,8 +1248,6 @@ paths: $ref: '#/components/examples/post-payments-card-securedfields-200' enableOneClick-SF: $ref: '#/components/examples/post-payments-enableOneClick-SF-200' - enableOneClick-raw: - $ref: '#/components/examples/post-payments-enableOneClick-raw-200' giropay: $ref: '#/components/examples/post-payments-giropay-200' ideal: @@ -6084,6 +6079,10 @@ components: showInstallmentAmount: description: Set to true to show the payment amount per installment. type: boolean + showRemovePaymentMethodButton: + description: Set to **true** to show a button that lets the shopper remove + a stored payment method. + type: boolean socialSecurityNumber: description: The shopper's social security number. type: string @@ -6497,6 +6496,10 @@ components: showInstallmentAmount: description: Set to true to show the payment amount per installment. type: boolean + showRemovePaymentMethodButton: + description: Set to **true** to show a button that lets the shopper remove + a stored payment method. + type: boolean socialSecurityNumber: description: The shopper's social security number. type: string @@ -16338,8 +16341,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-3d-secure-2-web: - summary: Make a card payment with 3D Secure 2 native authentication, using encrypted - card details + summary: Make a card payment with 3D Secure 2 native authentication value: amount: currency: EUR @@ -16379,7 +16381,7 @@ components: returnUrl: https://your-company.com/checkout/ merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-3d-secure-direct: - summary: Make card payment with 3D Secure redirect authentication + summary: Make a card payment with 3D Secure redirect authentication value: amount: currency: USD @@ -16405,7 +16407,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-direct: - summary: Make a card payment + summary: Make a card payment with unencrypted card details value: amount: currency: USD @@ -16421,7 +16423,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-direct-200: - summary: Successful card payment + summary: Successful card payment with unencrypted card details value: additionalData: cvcResult: 1 Matches @@ -16436,7 +16438,7 @@ components: resultCode: Authorised merchantReference: string post-payments-card-securedfields: - summary: Make a card payment using encrypted card details + summary: Make a card payment value: amount: currency: USD @@ -16451,7 +16453,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-card-securedfields-200: - summary: Successful card payment using encrypted card details + summary: Successful card payment value: additionalData: cvcResult: 1 Matches @@ -16483,7 +16485,7 @@ components: details: threeDSResult: eyJ0cmFuc1N0YXR1cyI6IlkifQ== post-payments-enableOneClick-SF: - summary: Tokenize card details for one-off payments, using encrypted card details + summary: Tokenize card details for one-off payments value: amount: currency: USD @@ -16502,7 +16504,7 @@ components: returnUrl: https://your-company.com/... merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-enableOneClick-SF-200: - summary: Card details tokenized for one-off payments, using encrypted card details + summary: Card details tokenized for one-off payments value: additionalData: cvcResult: 1 Matches @@ -16519,44 +16521,6 @@ components: pspReference: 993617895195570C resultCode: Authorised merchantReference: string - post-payments-enableOneClick-raw: - summary: Tokenize card details for one-off payments - value: - amount: - currency: USD - value: 1000 - reference: Your order number - paymentMethod: - type: scheme - number: '4111111111111111' - expiryMonth: '03' - expiryYear: '2030' - holderName: John Smith - cvc: '737' - shopperReference: YOUR_SHOPPER_REFERENCE - shopperInteraction: Ecommerce - recurringProcessingModel: CardOnFile - storePaymentMethod: true - returnUrl: https://your-company.com/... - merchantAccount: YOUR_MERCHANT_ACCOUNT - post-payments-enableOneClick-raw-200: - summary: Card details tokenized for one-off payments - value: - additionalData: - cvcResult: 1 Matches - authCode: '003704' - avsResult: 4 AVS not supported for this card type - recurring.recurringDetailReference: '9916178934434753' - recurringProcessingModel: CardOnFile - avsResultRaw: '4' - cvcResultRaw: M - refusalReasonRaw: AUTHORISED - recurring.shopperReference: YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j - acquirerCode: TestPmmAcquirer - acquirerReference: 8PQMP9VCKO0 - pspReference: 993617895197573E - resultCode: Authorised - merchantReference: string post-payments-giropay: summary: Make a giropay payment value: @@ -16675,22 +16639,8 @@ components: amountIncludingTax: 300 productUrl: URL_TO_PURCHASED_ITEM imageUrl: URL_TO_PICTURE_OF_PURCHASED_ITEM - post-payments-oneclick-direct: - summary: Make a one-off payment with a token and CVV - value: - amount: - currency: USD - value: 1000 - reference: Your order number - paymentMethod: - type: scheme - storedPaymentMethodId: '8416038790273850' - cvc: '737' - shopperReference: YOUR_UNIQUE_SHOPPER_ID_6738oneoff - returnUrl: https://your-company.com/... - merchantAccount: YOUR_MERCHANT_ACCOUNT post-payments-oneclick-securedfields: - summary: Make a one-off payment with a token and CVV, using encrypted card details + summary: Make a one-off payment with a token and CVV value: amount: currency: USD @@ -16809,7 +16759,7 @@ components: pspReference: 993617894906488A status: received post-payments-recurring: - summary: Make a card payment with a token + summary: Make a subscription card payment with a token value: amount: currency: USD @@ -16867,11 +16817,10 @@ components: value: paymentMethod: type: scheme - number: '4111111111111111' - cvc: '737' - expiryMonth: '03' - expiryYear: '2030' - holderName: John Smith + encryptedCardNumber: test_4111111111111111 + encryptedExpiryMonth: test_03 + encryptedExpiryYear: test_2030 + encryptedSecurityCode: test_737 amount: value: 40000 currency: USD @@ -16964,11 +16913,10 @@ components: value: paymentMethod: type: scheme - number: '4111111111111111' - cvc: '737' - expiryMonth: '03' - expiryYear: '2030' - holderName: John Smith + encryptedCardNumber: test_4111111111111111 + encryptedExpiryMonth: test_03 + encryptedExpiryYear: test_2030 + encryptedSecurityCode: test_737 amount: value: 6200 currency: EUR @@ -16995,11 +16943,10 @@ components: reference: Your order number paymentMethod: type: scheme - number: '4111111111111111' - expiryMonth: '03' - expiryYear: '2030' - holderName: John Smith - cvc: '737' + encryptedCardNumber: test_4111111111111111 + encryptedExpiryMonth: test_03 + encryptedExpiryYear: test_2030 + encryptedSecurityCode: test_737 shopperReference: YOUR_SHOPPER_REFERENCE storePaymentMethod: true shopperInteraction: Ecommerce