From cea53fbc7c34f78e33dd10c95645a2139d2c34ae Mon Sep 17 00:00:00 2001 From: Bas Maassen Date: Wed, 20 Oct 2021 11:29:38 +0200 Subject: [PATCH] PW 5483 Checkout Sessions and Donations(#789) * added sessions and donations endpoint * Added test and mock --- src/__mocks__/checkout/sessionsSuccess.ts | 33 + src/__tests__/checkout.spec.ts | 27 +- src/client.ts | 2 +- src/services/checkout.ts | 26 +- src/services/resource/checkout/donations.ts | 33 + src/services/resource/checkout/sessions.ts | 33 + src/typings/checkout/accountInfo.ts | 6 +- src/typings/checkout/acctInfo.ts | 188 ++++++ src/typings/checkout/achDetails.ts | 6 +- .../checkout/additionalData3DSecure.ts | 8 +- src/typings/checkout/additionalDataAirline.ts | 6 +- .../checkout/additionalDataCarRental.ts | 6 +- src/typings/checkout/additionalDataCommon.ts | 6 +- src/typings/checkout/additionalDataLevel23.ts | 6 +- src/typings/checkout/additionalDataLodging.ts | 6 +- .../checkout/additionalDataOpenInvoice.ts | 15 +- src/typings/checkout/additionalDataOpi.ts | 6 +- src/typings/checkout/additionalDataRatepay.ts | 6 +- src/typings/checkout/additionalDataRetry.ts | 6 +- src/typings/checkout/additionalDataRisk.ts | 15 +- .../checkout/additionalDataRiskStandalone.ts | 6 +- .../checkout/additionalDataSubMerchant.ts | 6 +- .../additionalDataTemporaryServices.ts | 6 +- src/typings/checkout/additionalDataWallets.ts | 6 +- src/typings/checkout/address.ts | 6 +- src/typings/checkout/afterpayDetails.ts | 6 +- src/typings/checkout/amazonPayDetails.ts | 6 +- src/typings/checkout/amount.ts | 6 +- src/typings/checkout/androidPayDetails.ts | 6 +- src/typings/checkout/applePayDetails.ts | 6 +- src/typings/checkout/applicationInfo.ts | 5 +- src/typings/checkout/avs.ts | 6 +- .../checkout/bacsDirectDebitDetails.ts | 6 +- src/typings/checkout/bankAccount.ts | 6 +- src/typings/checkout/billDeskDetails.ts | 12 +- src/typings/checkout/blikDetails.ts | 6 +- src/typings/checkout/browserInfo.ts | 6 +- src/typings/checkout/card.ts | 6 +- src/typings/checkout/cardDetails.ts | 10 +- src/typings/checkout/cellulantDetails.ts | 6 +- src/typings/checkout/checkoutAwaitAction.ts | 6 +- .../checkout/checkoutBalanceCheckRequest.ts | 7 +- .../checkout/checkoutBalanceCheckResponse.ts | 5 +- .../checkout/checkoutBankTransferAction.ts | 5 +- .../checkout/checkoutCancelOrderRequest.ts | 5 +- .../checkout/checkoutCancelOrderResponse.ts | 6 +- .../checkout/checkoutCreateOrderRequest.ts | 5 +- .../checkout/checkoutCreateOrderResponse.ts | 11 +- .../checkout/checkoutDonationAction.ts | 6 +- .../checkout/checkoutOneTimePasscodeAction.ts | 5 +- src/typings/checkout/checkoutOrder.ts | 6 +- src/typings/checkout/checkoutOrderResponse.ts | 5 +- src/typings/checkout/checkoutQrCodeAction.ts | 15 +- .../checkout/checkoutRedirectAction.ts | 6 +- src/typings/checkout/checkoutSDKAction.ts | 6 +- .../checkout/checkoutThreeDS2Action.ts | 6 +- .../checkout/checkoutUtilityRequest.ts | 6 +- .../checkout/checkoutUtilityResponse.ts | 6 +- src/typings/checkout/checkoutVoucherAction.ts | 5 +- src/typings/checkout/commonField.ts | 6 +- src/typings/checkout/company.ts | 6 +- src/typings/checkout/configuration.ts | 5 +- .../checkout/createCheckoutSessionRequest.ts | 463 +++++++++++++ .../checkout/createCheckoutSessionResponse.ts | 478 +++++++++++++ .../createPaymentAmountUpdateRequest.ts | 5 +- .../checkout/createPaymentCancelRequest.ts | 6 +- .../checkout/createPaymentCaptureRequest.ts | 5 +- .../checkout/createPaymentLinkRequest.ts | 42 +- .../checkout/createPaymentRefundRequest.ts | 5 +- .../checkout/createPaymentReversalRequest.ts | 6 +- .../createStandalonePaymentCancelRequest.ts | 6 +- src/typings/checkout/detailsRequest.ts | 5 +- src/typings/checkout/deviceRenderOptions.ts | 6 +- src/typings/checkout/dokuDetails.ts | 6 +- src/typings/checkout/donationResponse.ts | 110 +++ src/typings/checkout/dotpayDetails.ts | 6 +- src/typings/checkout/dragonpayDetails.ts | 6 +- .../checkout/econtextVoucherDetails.ts | 6 +- src/typings/checkout/externalPlatform.ts | 6 +- src/typings/checkout/forexQuote.ts | 5 +- src/typings/checkout/fraudCheckResult.ts | 6 +- src/typings/checkout/fraudResult.ts | 5 +- .../genericIssuerPaymentMethodDetails.ts | 6 +- src/typings/checkout/giropayDetails.ts | 6 +- src/typings/checkout/googlePayDetails.ts | 6 +- src/typings/checkout/idealDetails.ts | 6 +- src/typings/checkout/inputDetail.ts | 5 +- src/typings/checkout/installmentOption.ts | 6 +- src/typings/checkout/installments.ts | 6 +- src/typings/checkout/installmentsNumber.ts | 6 +- src/typings/checkout/item.ts | 6 +- src/typings/checkout/klarnaDetails.ts | 6 +- src/typings/checkout/lianLianPayDetails.ts | 6 +- src/typings/checkout/lineItem.ts | 23 +- src/typings/checkout/mandate.ts | 8 +- src/typings/checkout/masterpassDetails.ts | 6 +- src/typings/checkout/mbwayDetails.ts | 6 +- src/typings/checkout/merchantDevice.ts | 6 +- src/typings/checkout/merchantRiskIndicator.ts | 50 +- src/typings/checkout/mobilePayDetails.ts | 6 +- src/typings/checkout/models.ts | 75 ++- src/typings/checkout/molPayDetails.ts | 6 +- src/typings/checkout/name.ts | 6 +- src/typings/checkout/openInvoiceDetails.ts | 6 +- src/typings/checkout/payPalDetails.ts | 6 +- src/typings/checkout/payUUpiDetails.ts | 6 +- src/typings/checkout/payWithGoogleDetails.ts | 6 +- .../checkout/paymentAmountUpdateResource.ts | 5 +- src/typings/checkout/paymentCancelResource.ts | 6 +- .../checkout/paymentCaptureResource.ts | 5 +- .../checkout/paymentCompletionDetails.ts | 6 +- src/typings/checkout/paymentDetails.ts | 6 +- .../checkout/paymentDetailsResponse.ts | 5 +- .../checkout/paymentDonationRequest.ts | 632 ++++++++++++++++++ src/typings/checkout/paymentLinkResource.ts | 51 +- src/typings/checkout/paymentMethod.ts | 24 +- src/typings/checkout/paymentMethodGroup.ts | 6 +- src/typings/checkout/paymentMethodIssuer.ts | 71 ++ src/typings/checkout/paymentMethodsRequest.ts | 7 +- .../checkout/paymentMethodsResponse.ts | 5 +- src/typings/checkout/paymentRefundResource.ts | 5 +- src/typings/checkout/paymentRequest.ts | 24 +- src/typings/checkout/paymentResponse.ts | 5 +- .../checkout/paymentReversalResource.ts | 6 +- src/typings/checkout/paymentSetupRequest.ts | 18 +- src/typings/checkout/paymentSetupResponse.ts | 5 +- .../checkout/paymentVerificationRequest.ts | 6 +- .../checkout/paymentVerificationResponse.ts | 5 +- src/typings/checkout/phone.ts | 56 ++ src/typings/checkout/ratepayDetails.ts | 6 +- src/typings/checkout/recurring.ts | 6 +- src/typings/checkout/recurringDetail.ts | 24 +- src/typings/checkout/redirect.ts | 6 +- .../responseAdditionalData3DSecure.ts | 15 +- .../responseAdditionalDataBillingAddress.ts | 6 +- .../checkout/responseAdditionalDataCard.ts | 6 +- .../checkout/responseAdditionalDataCommon.ts | 24 +- .../responseAdditionalDataDeliveryAddress.ts | 6 +- .../responseAdditionalDataInstallments.ts | 6 +- .../responseAdditionalDataNetworkTokens.ts | 6 +- .../checkout/responseAdditionalDataOpi.ts | 6 +- .../checkout/responseAdditionalDataSepa.ts | 6 +- src/typings/checkout/riskData.ts | 6 +- src/typings/checkout/sDKEphemPubKey.ts | 6 +- src/typings/checkout/samsungPayDetails.ts | 6 +- .../checkout/sepaDirectDebitDetails.ts | 6 +- src/typings/checkout/serviceError.ts | 6 +- src/typings/checkout/serviceError2.ts | 6 +- src/typings/checkout/shopperInput.ts | 6 +- .../checkout/shopperInteractionDevice.ts | 6 +- src/typings/checkout/signaturescript.sh | 24 + src/typings/checkout/split.ts | 5 +- src/typings/checkout/splitAmount.ts | 6 +- .../standalonePaymentCancelResource.ts | 6 +- src/typings/checkout/storedDetails.ts | 5 +- src/typings/checkout/storedPaymentMethod.ts | 15 +- .../checkout/storedPaymentMethodDetails.ts | 6 +- src/typings/checkout/subInputDetail.ts | 5 +- src/typings/checkout/threeDS2RequestData.ts | 135 +++- src/typings/checkout/threeDS2ResponseData.ts | 6 +- src/typings/checkout/threeDS2Result.ts | 43 +- .../threeDSRequestorAuthenticationInfo.ts | 62 ++ ...threeDSRequestorPriorAuthenticationInfo.ts | 80 +++ src/typings/checkout/threeDSecureData.ts | 24 +- .../checkout/updatePaymentLinkRequest.ts | 6 +- src/typings/checkout/upiDetails.ts | 6 +- src/typings/checkout/vippsDetails.ts | 6 +- src/typings/checkout/visaCheckoutDetails.ts | 6 +- src/typings/checkout/weChatPayDetails.ts | 6 +- .../checkout/weChatPayMiniProgramDetails.ts | 6 +- src/typings/checkout/zipDetails.ts | 6 +- 171 files changed, 3345 insertions(+), 421 deletions(-) create mode 100644 src/__mocks__/checkout/sessionsSuccess.ts create mode 100644 src/services/resource/checkout/donations.ts create mode 100644 src/services/resource/checkout/sessions.ts create mode 100644 src/typings/checkout/acctInfo.ts create mode 100644 src/typings/checkout/createCheckoutSessionRequest.ts create mode 100644 src/typings/checkout/createCheckoutSessionResponse.ts create mode 100644 src/typings/checkout/donationResponse.ts create mode 100644 src/typings/checkout/paymentDonationRequest.ts create mode 100644 src/typings/checkout/paymentMethodIssuer.ts create mode 100644 src/typings/checkout/phone.ts create mode 100755 src/typings/checkout/signaturescript.sh create mode 100644 src/typings/checkout/threeDSRequestorAuthenticationInfo.ts create mode 100644 src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts diff --git a/src/__mocks__/checkout/sessionsSuccess.ts b/src/__mocks__/checkout/sessionsSuccess.ts new file mode 100644 index 0000000..4dd8040 --- /dev/null +++ b/src/__mocks__/checkout/sessionsSuccess.ts @@ -0,0 +1,33 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2020 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/* tslint:disable */ +export const sessionsSuccess = JSON.stringify({ + "amount": { + "currency": "EUR", + "value": 100 + }, + "countryCode": "NL", + "expiresAt": "2021-10-08T17:28:56+02:00", + "id": "CS841C62BF399F968C", + "merchantAccount": "YOUR_MERCHANT_ACCOUNT", + "reference": "YOUR_PAYMENT_REFERENCE", + "returnUrl": "https://your-company.com/checkout?shopperOrder=12xy..", + "sessionData": "Ab02b4c0!BQABAgAeRei/Zyr+UYwMcTlHkeYjwn143zTmCmDmWwBg+gZr8us16qqoeVFon6NexiKmZLurm05iRiLagbIIS8BtFzvtX5myx4m0N1vBJWZRDZKHP3g4cyXjEnTnK0CmNsX0bDeojkHU4qChCkn1jIux/rSSp2IIBqe1SfbGVRC9bM17Nj90fJPBxp5MFMw7HKpuvlRNj8CncKPAyPhd4pY+O3GKTiFoZKpx/kVKO7PnILEC07q4rqEzVjSW2U5ADcnR+mJ8V0YVn8Yy4KqNLn68GKMHXe2+NRvidA/UC72F72dOtV1bqxRr/0G6bCW7iuxve+M0IYZ3apHbgS1vWcvUaOI7n1u02M6SWsZDcKgsaT0PoxQkUvdU3ViG7f7Xtac8pjcOxAzhtug/B6Qx/zaTUIWBRKQM5Ga9T7Vo9s9I1Kgv3zuQqeN9OiUhB1mvoxfSPkKYTVjYooj4CELNy9+xuU8/TI+XqK24FIiTacvcJ8Vt0RCSWcE47AG4qiKPBFcBMwpUfz78ud/gu4uBHtt/bh5vJu5GG462tr5W3a/5CeGDX37sqTnrUGom86daTll+kbKo3rC4CH8+K245XNIvIVXLUGrci52lzm09ptPEh/Aj8uBGHLA4Cc0ILAi3rxI5nNcurgbAZiZ7QA3iBEih4euVXBZmKRIfY2U0ijEQLBo8mBDuOjj4GNFT2XrRVs2rwhldAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifWHVSkL3b2GTohsmKmsBVvRtOiDyOWBpV+mylCFs/EQuj7PFJBVjaLoIq1Prk4hZFhBzEf7SsQYHzfTr+BKFH+6fblTW4ObszU3YwF6ehRDaLYxv4sPdVPdguWcuxIvzRenzPlGWu78z6cj1ROHNE3uREUgmVYf9ERbMm8OKJ/uqS1pMPvCYcHIJ0IrXbloQhKaSZdJNmsjGFbfBW8Tr29foxKH280TjbauaZydPWsEuEUIyeWYFBMoozW7de/6RLrDhnQEn/We/6EmsL86QzG+JSkBFloTFo2kdttqA9dfK0l7U3HjtEXmNBFy13DTr5tJcYMz+IcTwe0PqPCgUR+MZDOpAOFc1uHdccok7sttiV4K4xTKkpThiCgrAqklNoD7UcctS5c7RaNQxrwHM5orI0vkGG2hzDXKOUNw4068u" +}); \ No newline at end of file diff --git a/src/__tests__/checkout.spec.ts b/src/__tests__/checkout.spec.ts index 21f8666..b19d04d 100644 --- a/src/__tests__/checkout.spec.ts +++ b/src/__tests__/checkout.spec.ts @@ -26,6 +26,7 @@ import {paymentSessionSuccess} from "../__mocks__/checkout/paymentSessionSucess" import {originKeysSuccess} from "../__mocks__/checkout/originkeysSuccess"; import {paymentsResultMultibancoSuccess} from "../__mocks__/checkout/paymentsResultMultibancoSuccess"; import {paymentsResultSuccess} from "../__mocks__/checkout/paymentsResultSucess"; +import {sessionsSuccess} from "../__mocks__/checkout/sessionsSuccess"; import Client from "../client"; import Checkout from "../services/checkout"; import HttpClientException from "../httpClient/httpClientException"; @@ -46,6 +47,8 @@ import { PaymentResponse, PaymentSetupRequest, PaymentVerificationRequest, + CreateCheckoutSessionRequest, + CreateCheckoutSessionResponse } from "../typings/checkout/models"; const merchantAccount = process.env.ADYEN_MERCHANT!; @@ -141,6 +144,16 @@ function createPaymentLinkRequest(): CreatePaymentLinkRequest { }; } +function createSessionRequest(): CreateCheckoutSessionRequest { + return { + amount: createAmountObject("USD", 1000), + countryCode: "NL", + merchantAccount, + reference, + returnUrl: "https://your-company.com/...", + }; +} + let client: Client; let checkout: Checkout; let scope: nock.Scope; @@ -339,6 +352,7 @@ describe("Checkout", (): void => { const orderResponse: CheckoutCreateOrderResponse = { expiresAt, + amount: createAmountObject("USD", 500), orderData: "mocked_order_data", remainingAmount: {currency: "USD", value: 500} , resultCode: CheckoutCreateOrderResponse.ResultCodeEnum.Success @@ -361,6 +375,7 @@ describe("Checkout", (): void => { const orderResponse: CheckoutCreateOrderResponse = { expiresAt, + amount: createAmountObject("USD", 500), orderData: "mocked_order_data", remainingAmount: {currency: "USD", value: 500}, resultCode: CheckoutCreateOrderResponse.ResultCodeEnum.Success @@ -369,7 +384,7 @@ describe("Checkout", (): void => { .reply(200, orderResponse); const createOrderResponse: CheckoutCreateOrderResponse = await checkout.orders(orderRequest); - + const orderCancelResponse: CheckoutCancelOrderResponse = { pspReference: "mocked_psp_ref", resultCode: CheckoutCancelOrderResponse.ResultCodeEnum.Received @@ -386,4 +401,14 @@ describe("Checkout", (): void => { }); expect(response).toBeTruthy(); }); + + test.each([false, true])("should create a session. isMock: %p", async (isMock): Promise => { + !isMock && nock.restore(); + scope.post("/sessions") + .reply(200, sessionsSuccess); + + const sessionsRequest: CreateCheckoutSessionRequest = createSessionRequest(); + const sessionsResponse: CreateCheckoutSessionResponse = await checkout.sessions(sessionsRequest); + expect(sessionsResponse.sessionData).toBeTruthy(); + }); }); diff --git a/src/client.ts b/src/client.ts index 4a5c97f..d6ea29b 100644 --- a/src/client.ts +++ b/src/client.ts @@ -52,7 +52,7 @@ class Client { public static HPP_LIVE = "https://live.adyen.com/hpp"; public static MARKETPAY_ENDPOINT_TEST = "https://cal-test.adyen.com/cal/services"; public static MARKETPAY_ENDPOINT_LIVE = "https://cal-live.adyen.com/cal/services"; - public static CHECKOUT_API_VERSION = "v67"; + public static CHECKOUT_API_VERSION = "v68"; public static API_VERSION = "v64"; public static RECURRING_API_VERSION = "v49"; public static MARKETPAY_ACCOUNT_API_VERSION = "v6"; diff --git a/src/services/checkout.ts b/src/services/checkout.ts index 637e77f..0e5e3a0 100644 --- a/src/services/checkout.ts +++ b/src/services/checkout.ts @@ -48,13 +48,19 @@ import { CheckoutCreateOrderRequest, CheckoutCreateOrderResponse, CheckoutCancelOrderRequest, - CheckoutCancelOrderResponse + CheckoutCancelOrderResponse, + CreateCheckoutSessionRequest, + CreateCheckoutSessionResponse, + PaymentDonationRequest, + DonationResponse } from "../typings/checkout/models"; import PaymentLinksId from "./resource/checkout/paymentLinksId"; import PaymentMethodsBalance from "./resource/checkout/paymentMethodsBalance"; import Orders from "./resource/checkout/orders"; import OrdersCancel from "./resource/checkout/ordersCancel"; +import Sessions from "./resource/checkout/sessions"; +import Donations from "./resource/checkout/donations"; class Checkout extends ApiKeyAuthenticatedService { private readonly _payments: Payments; @@ -68,6 +74,8 @@ class Checkout extends ApiKeyAuthenticatedService { private readonly _paymentMethodsBalance: PaymentMethodsBalance; private readonly _orders: Orders; private readonly _ordersCancel: OrdersCancel; + private readonly _sessions: Sessions; + private readonly _donations: Donations; public constructor(client: Client) { super(client); @@ -82,6 +90,8 @@ class Checkout extends ApiKeyAuthenticatedService { this._paymentMethodsBalance = new PaymentMethodsBalance(this); this._orders = new Orders(this); this._ordersCancel = new OrdersCancel(this); + this._sessions = new Sessions(this); + this._donations = new Donations(this); } public payments(paymentsRequest: PaymentRequest, requestOptions?: IRequest.Options): Promise { @@ -177,6 +187,20 @@ class Checkout extends ApiKeyAuthenticatedService { ordersCancelRequest, ); } + + public sessions(checkoutSessionRequest: CreateCheckoutSessionRequest): Promise { + return getJsonResponse( + this._sessions, + checkoutSessionRequest, + ); + } + + public donations(donationRequest: PaymentDonationRequest): Promise { + return getJsonResponse( + this._donations, + donationRequest, + ); + } } export default Checkout; diff --git a/src/services/resource/checkout/donations.ts b/src/services/resource/checkout/donations.ts new file mode 100644 index 0000000..531c48d --- /dev/null +++ b/src/services/resource/checkout/donations.ts @@ -0,0 +1,33 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2020 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +import Client from "../../../client"; +import Service from "../../../service"; +import Resource from "../../resource"; + +class Donations extends Resource { + public constructor(service: Service) { + super( + service, + `${service.client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}/donations`, + ); + } +} + +export default Donations; diff --git a/src/services/resource/checkout/sessions.ts b/src/services/resource/checkout/sessions.ts new file mode 100644 index 0000000..74c63ba --- /dev/null +++ b/src/services/resource/checkout/sessions.ts @@ -0,0 +1,33 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2020 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +import Client from "../../../client"; +import Service from "../../../service"; +import Resource from "../../resource"; + +class Sessions extends Resource { + public constructor(service: Service) { + super( + service, + `${service.client.config.checkoutEndpoint}/${Client.CHECKOUT_API_VERSION}/sessions`, + ); + } +} + +export default Sessions; diff --git a/src/typings/checkout/accountInfo.ts b/src/typings/checkout/accountInfo.ts index a39c23c..058448d 100644 --- a/src/typings/checkout/accountInfo.ts +++ b/src/typings/checkout/accountInfo.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AccountInfo { /** * Indicator for the length of time since this shopper account was created in the merchant\'s environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days diff --git a/src/typings/checkout/acctInfo.ts b/src/typings/checkout/acctInfo.ts new file mode 100644 index 0000000..92e115c --- /dev/null +++ b/src/typings/checkout/acctInfo.ts @@ -0,0 +1,188 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * + * The version of the OpenAPI document: 68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +export class AcctInfo { + /** + * Length of time that the cardholder has had the account with the 3DS Requestor. + */ + 'chAccAgeInd'?: string; + /** + * String that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. + */ + 'chAccChange'?: string; + /** + * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. + */ + 'chAccChangeInd'?: string; + /** + * String that cardholder’s account with the 3DS Requestor had a password change or account reset. + */ + 'chAccPwChange'?: string; + /** + * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. + */ + 'chAccPwChangeInd'?: string; + /** + * String that the cardholder opened the account with the 3DS Requestor. + */ + 'chAccString'?: string; + /** + * Number of purchases with this cardholder account during the previous six months. + */ + 'nbPurchaseAccount'?: string; + /** + * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. + */ + 'paymentAccAge'?: string; + /** + * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. + */ + 'paymentAccInd'?: string; + /** + * Number of Add Card attempts in the last 24 hours. + */ + 'provisionAttemptsDay'?: string; + /** + * String when the shipping address used for this transaction was first used with the 3DS Requestor. + */ + 'shipAddressUsage'?: string; + /** + * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. + */ + 'shipAddressUsageInd'?: string; + /** + * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. + */ + 'shipNameIndicator'?: string; + /** + * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. + */ + 'suspiciousAccActivity'?: string; + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. + */ + 'txnActivityDay'?: string; + /** + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. + */ + 'txnActivityYear'?: string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "chAccAgeInd", + "baseName": "chAccAgeInd", + "type": "string" + }, + { + "name": "chAccChange", + "baseName": "chAccChange", + "type": "string" + }, + { + "name": "chAccChangeInd", + "baseName": "chAccChangeInd", + "type": "string" + }, + { + "name": "chAccPwChange", + "baseName": "chAccPwChange", + "type": "string" + }, + { + "name": "chAccPwChangeInd", + "baseName": "chAccPwChangeInd", + "type": "string" + }, + { + "name": "chAccString", + "baseName": "chAccString", + "type": "string" + }, + { + "name": "nbPurchaseAccount", + "baseName": "nbPurchaseAccount", + "type": "string" + }, + { + "name": "paymentAccAge", + "baseName": "paymentAccAge", + "type": "string" + }, + { + "name": "paymentAccInd", + "baseName": "paymentAccInd", + "type": "string" + }, + { + "name": "provisionAttemptsDay", + "baseName": "provisionAttemptsDay", + "type": "string" + }, + { + "name": "shipAddressUsage", + "baseName": "shipAddressUsage", + "type": "string" + }, + { + "name": "shipAddressUsageInd", + "baseName": "shipAddressUsageInd", + "type": "string" + }, + { + "name": "shipNameIndicator", + "baseName": "shipNameIndicator", + "type": "string" + }, + { + "name": "suspiciousAccActivity", + "baseName": "suspiciousAccActivity", + "type": "string" + }, + { + "name": "txnActivityDay", + "baseName": "txnActivityDay", + "type": "string" + }, + { + "name": "txnActivityYear", + "baseName": "txnActivityYear", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return AcctInfo.attributeTypeMap; + } +} + diff --git a/src/typings/checkout/achDetails.ts b/src/typings/checkout/achDetails.ts index 698f6b3..381d1be 100644 --- a/src/typings/checkout/achDetails.ts +++ b/src/typings/checkout/achDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AchDetails { /** * The bank account number (without separators). diff --git a/src/typings/checkout/additionalData3DSecure.ts b/src/typings/checkout/additionalData3DSecure.ts index 6387efc..b42858c 100644 --- a/src/typings/checkout/additionalData3DSecure.ts +++ b/src/typings/checkout/additionalData3DSecure.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,13 +29,15 @@ * Do not edit the class manually. */ + + export class AdditionalData3DSecure { /** * Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper\'s experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration. */ 'allow3DS2'?: string; /** - * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don\'t perform 3D Secure authentication. + * Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don\'t perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. */ 'executeThreeD'?: string; /** diff --git a/src/typings/checkout/additionalDataAirline.ts b/src/typings/checkout/additionalDataAirline.ts index 130de14..0f5392d 100644 --- a/src/typings/checkout/additionalDataAirline.ts +++ b/src/typings/checkout/additionalDataAirline.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataAirline { /** * Reference number for the invoice, issued by the agency. * minLength: 1 * maxLength: 6 diff --git a/src/typings/checkout/additionalDataCarRental.ts b/src/typings/checkout/additionalDataCarRental.ts index 540b1f2..2269e34 100644 --- a/src/typings/checkout/additionalDataCarRental.ts +++ b/src/typings/checkout/additionalDataCarRental.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataCarRental { /** * Pick-up date. * Date format: `yyyyMMdd` diff --git a/src/typings/checkout/additionalDataCommon.ts b/src/typings/checkout/additionalDataCommon.ts index 90d8304..5726aba 100644 --- a/src/typings/checkout/additionalDataCommon.ts +++ b/src/typings/checkout/additionalDataCommon.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataCommon { /** * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn\'t a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. diff --git a/src/typings/checkout/additionalDataLevel23.ts b/src/typings/checkout/additionalDataLevel23.ts index 8d78c04..f8f1430 100644 --- a/src/typings/checkout/additionalDataLevel23.ts +++ b/src/typings/checkout/additionalDataLevel23.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataLevel23 { /** * Customer code, if supplied by a customer. Encoding: ASCII. Max length: 25 characters. > Required for Level 2 and Level 3 data. diff --git a/src/typings/checkout/additionalDataLodging.ts b/src/typings/checkout/additionalDataLodging.ts index be7023b..94114c2 100644 --- a/src/typings/checkout/additionalDataLodging.ts +++ b/src/typings/checkout/additionalDataLodging.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataLodging { /** * The arrival date. * Date format: `yyyyMMdd` diff --git a/src/typings/checkout/additionalDataOpenInvoice.ts b/src/typings/checkout/additionalDataOpenInvoice.ts index 3442f3b..76c0e70 100644 --- a/src/typings/checkout/additionalDataOpenInvoice.ts +++ b/src/typings/checkout/additionalDataOpenInvoice.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataOpenInvoice { /** * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it\'s not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. @@ -94,10 +96,6 @@ export class AdditionalDataOpenInvoice { * URI where the customer can track their shipment. */ 'openinvoicedataLine_itemNr_trackingUri'?: string; - /** - * Required for AfterPay. The country-specific VAT category a product falls under. Allowed values: * High * Low * None. - */ - 'openinvoicedataLine_itemNr_vatCategory'?: string; static discriminator: string | undefined = undefined; @@ -181,11 +179,6 @@ export class AdditionalDataOpenInvoice { "name": "openinvoicedataLine_itemNr_trackingUri", "baseName": "openinvoicedataLine[itemNr].trackingUri", "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_vatCategory", - "baseName": "openinvoicedataLine[itemNr].vatCategory", - "type": "string" } ]; static getAttributeTypeMap() { diff --git a/src/typings/checkout/additionalDataOpi.ts b/src/typings/checkout/additionalDataOpi.ts index 1318fa9..8dbbe32 100644 --- a/src/typings/checkout/additionalDataOpi.ts +++ b/src/typings/checkout/additionalDataOpi.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataOpi { /** * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). diff --git a/src/typings/checkout/additionalDataRatepay.ts b/src/typings/checkout/additionalDataRatepay.ts index 4ad8f5a..f53f23e 100644 --- a/src/typings/checkout/additionalDataRatepay.ts +++ b/src/typings/checkout/additionalDataRatepay.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataRatepay { /** * Amount the customer has to pay each month. diff --git a/src/typings/checkout/additionalDataRetry.ts b/src/typings/checkout/additionalDataRetry.ts index f26e8b6..e1b2982 100644 --- a/src/typings/checkout/additionalDataRetry.ts +++ b/src/typings/checkout/additionalDataRetry.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataRetry { /** * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. diff --git a/src/typings/checkout/additionalDataRisk.ts b/src/typings/checkout/additionalDataRisk.ts index d684da6..1be6965 100644 --- a/src/typings/checkout/additionalDataRisk.ts +++ b/src/typings/checkout/additionalDataRisk.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataRisk { /** * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). @@ -110,6 +112,10 @@ export class AdditionalDataRisk { * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account\'s default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). */ 'riskdata_riskProfileReference'?: string; + /** + * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. + */ + 'riskdata_skipRisk'?: string; static discriminator: string | undefined = undefined; @@ -213,6 +219,11 @@ export class AdditionalDataRisk { "name": "riskdata_riskProfileReference", "baseName": "riskdata.riskProfileReference", "type": "string" + }, + { + "name": "riskdata_skipRisk", + "baseName": "riskdata.skipRisk", + "type": "string" } ]; static getAttributeTypeMap() { diff --git a/src/typings/checkout/additionalDataRiskStandalone.ts b/src/typings/checkout/additionalDataRiskStandalone.ts index 61f8cc6..4e19e88 100644 --- a/src/typings/checkout/additionalDataRiskStandalone.ts +++ b/src/typings/checkout/additionalDataRiskStandalone.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataRiskStandalone { /** * Shopper\'s country of residence in the form of ISO standard 3166 2-character country codes. diff --git a/src/typings/checkout/additionalDataSubMerchant.ts b/src/typings/checkout/additionalDataSubMerchant.ts index 1b7fc50..8f59504 100644 --- a/src/typings/checkout/additionalDataSubMerchant.ts +++ b/src/typings/checkout/additionalDataSubMerchant.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataSubMerchant { /** * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. diff --git a/src/typings/checkout/additionalDataTemporaryServices.ts b/src/typings/checkout/additionalDataTemporaryServices.ts index eb97798..a5a3b23 100644 --- a/src/typings/checkout/additionalDataTemporaryServices.ts +++ b/src/typings/checkout/additionalDataTemporaryServices.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataTemporaryServices { /** * Customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 diff --git a/src/typings/checkout/additionalDataWallets.ts b/src/typings/checkout/additionalDataWallets.ts index 238c456..742491c 100644 --- a/src/typings/checkout/additionalDataWallets.ts +++ b/src/typings/checkout/additionalDataWallets.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AdditionalDataWallets { /** * The Android Pay token retrieved from the SDK. diff --git a/src/typings/checkout/address.ts b/src/typings/checkout/address.ts index 48f4ffc..91d54f8 100644 --- a/src/typings/checkout/address.ts +++ b/src/typings/checkout/address.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Address { /** * The name of the city. Maximum length: 3000 characters. diff --git a/src/typings/checkout/afterpayDetails.ts b/src/typings/checkout/afterpayDetails.ts index b4109f5..08c691e 100644 --- a/src/typings/checkout/afterpayDetails.ts +++ b/src/typings/checkout/afterpayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AfterpayDetails { /** * The address where to send the invoice. diff --git a/src/typings/checkout/amazonPayDetails.ts b/src/typings/checkout/amazonPayDetails.ts index d83b58b..7b02eaa 100644 --- a/src/typings/checkout/amazonPayDetails.ts +++ b/src/typings/checkout/amazonPayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AmazonPayDetails { /** * This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. diff --git a/src/typings/checkout/amount.ts b/src/typings/checkout/amount.ts index a9ce8aa..e35abcd 100644 --- a/src/typings/checkout/amount.ts +++ b/src/typings/checkout/amount.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Amount { /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). diff --git a/src/typings/checkout/androidPayDetails.ts b/src/typings/checkout/androidPayDetails.ts index e7fa8b4..c092469 100644 --- a/src/typings/checkout/androidPayDetails.ts +++ b/src/typings/checkout/androidPayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class AndroidPayDetails { /** * **androidpay** diff --git a/src/typings/checkout/applePayDetails.ts b/src/typings/checkout/applePayDetails.ts index 8fd8dea..1707915 100644 --- a/src/typings/checkout/applePayDetails.ts +++ b/src/typings/checkout/applePayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ApplePayDetails { /** * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. diff --git a/src/typings/checkout/applicationInfo.ts b/src/typings/checkout/applicationInfo.ts index 222a2b7..7eaf329 100644 --- a/src/typings/checkout/applicationInfo.ts +++ b/src/typings/checkout/applicationInfo.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { CommonField } from './commonField'; import { ExternalPlatform } from './externalPlatform'; import { MerchantDevice } from './merchantDevice'; diff --git a/src/typings/checkout/avs.ts b/src/typings/checkout/avs.ts index 268f938..b135994 100644 --- a/src/typings/checkout/avs.ts +++ b/src/typings/checkout/avs.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Avs { /** * Indicates whether the shopper is allowed to modify the billing address for the current payment request. diff --git a/src/typings/checkout/bacsDirectDebitDetails.ts b/src/typings/checkout/bacsDirectDebitDetails.ts index 00f5d03..13b9454 100644 --- a/src/typings/checkout/bacsDirectDebitDetails.ts +++ b/src/typings/checkout/bacsDirectDebitDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class BacsDirectDebitDetails { /** * The bank account number (without separators). diff --git a/src/typings/checkout/bankAccount.ts b/src/typings/checkout/bankAccount.ts index 85e05c8..0e8a637 100644 --- a/src/typings/checkout/bankAccount.ts +++ b/src/typings/checkout/bankAccount.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class BankAccount { /** * The bank account number (without separators). diff --git a/src/typings/checkout/billDeskDetails.ts b/src/typings/checkout/billDeskDetails.ts index 8320082..e9f1b44 100644 --- a/src/typings/checkout/billDeskDetails.ts +++ b/src/typings/checkout/billDeskDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class BillDeskDetails { /** * The issuer id of the shopper\'s selected bank. @@ -60,7 +62,9 @@ export class BillDeskDetails { export namespace BillDeskDetails { export enum TypeEnum { - Online = 'billdesk_online', - Wallet = 'billdesk_wallet' + BilldeskOnline = 'billdesk_online', + BilldeskWallet = 'billdesk_wallet', + OnlinebankingIn = 'onlinebanking_IN', + WalletIn = 'wallet_IN' } } diff --git a/src/typings/checkout/blikDetails.ts b/src/typings/checkout/blikDetails.ts index ebbe51b..d2cb3df 100644 --- a/src/typings/checkout/blikDetails.ts +++ b/src/typings/checkout/blikDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class BlikDetails { /** * BLIK code consisting of 6 digits. diff --git a/src/typings/checkout/browserInfo.ts b/src/typings/checkout/browserInfo.ts index cc47f26..45d6a32 100644 --- a/src/typings/checkout/browserInfo.ts +++ b/src/typings/checkout/browserInfo.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class BrowserInfo { /** * The accept header value of the shopper\'s browser. diff --git a/src/typings/checkout/card.ts b/src/typings/checkout/card.ts index 98f3ec6..46eb917 100644 --- a/src/typings/checkout/card.ts +++ b/src/typings/checkout/card.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Card { /** * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. diff --git a/src/typings/checkout/cardDetails.ts b/src/typings/checkout/cardDetails.ts index 97e9242..4baa0e8 100644 --- a/src/typings/checkout/cardDetails.ts +++ b/src/typings/checkout/cardDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CardDetails { 'cupsecureplus_smscode'?: string; /** @@ -192,12 +194,16 @@ export namespace CardDetails { Alliancedata = 'alliancedata', Card = 'card', Moneybookers = 'moneybookers', + Qiwiwallet = 'qiwiwallet', AlipayHk = 'alipay_hk', AlipayHkWap = 'alipay_hk_wap', AlipayHkWeb = 'alipay_hk_web', AlipayWap = 'alipay_wap', KcpNaverpay = 'kcp_naverpay', Upi = 'upi', + OnlinebankingIn = 'onlinebanking_IN', + WalletIn = 'wallet_IN', + Entercash = 'entercash', PrimeiropayBoleto = 'primeiropay_boleto', GopayWallet = 'gopay_wallet', Poli = 'poli', diff --git a/src/typings/checkout/cellulantDetails.ts b/src/typings/checkout/cellulantDetails.ts index b4b0ca4..6b66d91 100644 --- a/src/typings/checkout/cellulantDetails.ts +++ b/src/typings/checkout/cellulantDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CellulantDetails { /** * The Cellulant issuer. diff --git a/src/typings/checkout/checkoutAwaitAction.ts b/src/typings/checkout/checkoutAwaitAction.ts index 9854f72..5c85caf 100644 --- a/src/typings/checkout/checkoutAwaitAction.ts +++ b/src/typings/checkout/checkoutAwaitAction.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CheckoutAwaitAction { /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. diff --git a/src/typings/checkout/checkoutBalanceCheckRequest.ts b/src/typings/checkout/checkoutBalanceCheckRequest.ts index e5d6e92..ec52b10 100644 --- a/src/typings/checkout/checkoutBalanceCheckRequest.ts +++ b/src/typings/checkout/checkoutBalanceCheckRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { AccountInfo } from './accountInfo'; import { Address } from './address'; import { Amount } from './amount'; @@ -140,7 +141,7 @@ export class CheckoutBalanceCheckRequest { 'shopperLocale'?: string; 'shopperName'?: Name; /** - * Your reference to uniquely identify this shopper (for example, user ID or account ID). Minimum length: 3 characters. > This field is required for recurring payments. + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. */ 'shopperReference'?: string; /** diff --git a/src/typings/checkout/checkoutBalanceCheckResponse.ts b/src/typings/checkout/checkoutBalanceCheckResponse.ts index 7c42b77..0664a15 100644 --- a/src/typings/checkout/checkoutBalanceCheckResponse.ts +++ b/src/typings/checkout/checkoutBalanceCheckResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { FraudResult } from './fraudResult'; diff --git a/src/typings/checkout/checkoutBankTransferAction.ts b/src/typings/checkout/checkoutBankTransferAction.ts index 560d5c2..16a5526 100644 --- a/src/typings/checkout/checkoutBankTransferAction.ts +++ b/src/typings/checkout/checkoutBankTransferAction.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; export class CheckoutBankTransferAction { diff --git a/src/typings/checkout/checkoutCancelOrderRequest.ts b/src/typings/checkout/checkoutCancelOrderRequest.ts index 1732dfc..2af6bf0 100644 --- a/src/typings/checkout/checkoutCancelOrderRequest.ts +++ b/src/typings/checkout/checkoutCancelOrderRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { CheckoutOrder } from './checkoutOrder'; export class CheckoutCancelOrderRequest { diff --git a/src/typings/checkout/checkoutCancelOrderResponse.ts b/src/typings/checkout/checkoutCancelOrderResponse.ts index b244b69..efadd2e 100644 --- a/src/typings/checkout/checkoutCancelOrderResponse.ts +++ b/src/typings/checkout/checkoutCancelOrderResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CheckoutCancelOrderResponse { /** * A unique reference of the cancellation request. diff --git a/src/typings/checkout/checkoutCreateOrderRequest.ts b/src/typings/checkout/checkoutCreateOrderRequest.ts index eca930d..83a86e2 100644 --- a/src/typings/checkout/checkoutCreateOrderRequest.ts +++ b/src/typings/checkout/checkoutCreateOrderRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; export class CheckoutCreateOrderRequest { diff --git a/src/typings/checkout/checkoutCreateOrderResponse.ts b/src/typings/checkout/checkoutCreateOrderResponse.ts index 570691b..7d2dec3 100644 --- a/src/typings/checkout/checkoutCreateOrderResponse.ts +++ b/src/typings/checkout/checkoutCreateOrderResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { FraudResult } from './fraudResult'; @@ -37,6 +38,7 @@ export class CheckoutCreateOrderResponse { * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs** > **Additional data settings**. */ 'additionalData'?: { [key: string]: string; }; + 'amount': Amount; /** * The date that the order will expire. */ @@ -72,6 +74,11 @@ export class CheckoutCreateOrderResponse { "baseName": "additionalData", "type": "{ [key: string]: string; }" }, + { + "name": "amount", + "baseName": "amount", + "type": "Amount" + }, { "name": "expiresAt", "baseName": "expiresAt", diff --git a/src/typings/checkout/checkoutDonationAction.ts b/src/typings/checkout/checkoutDonationAction.ts index 6639ce4..bc3d685 100644 --- a/src/typings/checkout/checkoutDonationAction.ts +++ b/src/typings/checkout/checkoutDonationAction.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CheckoutDonationAction { /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. diff --git a/src/typings/checkout/checkoutOneTimePasscodeAction.ts b/src/typings/checkout/checkoutOneTimePasscodeAction.ts index f947eec..b7528e6 100644 --- a/src/typings/checkout/checkoutOneTimePasscodeAction.ts +++ b/src/typings/checkout/checkoutOneTimePasscodeAction.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Redirect } from './redirect'; export class CheckoutOneTimePasscodeAction { diff --git a/src/typings/checkout/checkoutOrder.ts b/src/typings/checkout/checkoutOrder.ts index 2edeb01..583a752 100644 --- a/src/typings/checkout/checkoutOrder.ts +++ b/src/typings/checkout/checkoutOrder.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CheckoutOrder { /** * The encrypted order data. diff --git a/src/typings/checkout/checkoutOrderResponse.ts b/src/typings/checkout/checkoutOrderResponse.ts index c5793e6..788d5b4 100644 --- a/src/typings/checkout/checkoutOrderResponse.ts +++ b/src/typings/checkout/checkoutOrderResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; export class CheckoutOrderResponse { diff --git a/src/typings/checkout/checkoutQrCodeAction.ts b/src/typings/checkout/checkoutQrCodeAction.ts index e1e122f..df7455d 100644 --- a/src/typings/checkout/checkoutQrCodeAction.ts +++ b/src/typings/checkout/checkoutQrCodeAction.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +29,13 @@ * Do not edit the class manually. */ + + export class CheckoutQrCodeAction { + /** + * Expiry time of the QR code. + */ + 'expiresAt'?: string; /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. */ @@ -54,6 +60,11 @@ export class CheckoutQrCodeAction { static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "expiresAt", + "baseName": "expiresAt", + "type": "string" + }, { "name": "paymentData", "baseName": "paymentData", diff --git a/src/typings/checkout/checkoutRedirectAction.ts b/src/typings/checkout/checkoutRedirectAction.ts index 9ba51fd..7d55d84 100644 --- a/src/typings/checkout/checkoutRedirectAction.ts +++ b/src/typings/checkout/checkoutRedirectAction.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CheckoutRedirectAction { /** * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. diff --git a/src/typings/checkout/checkoutSDKAction.ts b/src/typings/checkout/checkoutSDKAction.ts index cd6250b..ad1a78d 100644 --- a/src/typings/checkout/checkoutSDKAction.ts +++ b/src/typings/checkout/checkoutSDKAction.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CheckoutSDKAction { /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. diff --git a/src/typings/checkout/checkoutThreeDS2Action.ts b/src/typings/checkout/checkoutThreeDS2Action.ts index da27239..4645e8c 100644 --- a/src/typings/checkout/checkoutThreeDS2Action.ts +++ b/src/typings/checkout/checkoutThreeDS2Action.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CheckoutThreeDS2Action { /** * A token needed to authorise a payment. diff --git a/src/typings/checkout/checkoutUtilityRequest.ts b/src/typings/checkout/checkoutUtilityRequest.ts index a83676f..51d8a7e 100644 --- a/src/typings/checkout/checkoutUtilityRequest.ts +++ b/src/typings/checkout/checkoutUtilityRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CheckoutUtilityRequest { /** * The list of origin domains, for which origin keys are requested. diff --git a/src/typings/checkout/checkoutUtilityResponse.ts b/src/typings/checkout/checkoutUtilityResponse.ts index 7126f61..7ea2020 100644 --- a/src/typings/checkout/checkoutUtilityResponse.ts +++ b/src/typings/checkout/checkoutUtilityResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CheckoutUtilityResponse { /** * The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. diff --git a/src/typings/checkout/checkoutVoucherAction.ts b/src/typings/checkout/checkoutVoucherAction.ts index 21c622b..2c9ca66 100644 --- a/src/typings/checkout/checkoutVoucherAction.ts +++ b/src/typings/checkout/checkoutVoucherAction.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; export class CheckoutVoucherAction { diff --git a/src/typings/checkout/commonField.ts b/src/typings/checkout/commonField.ts index 5589192..eedef26 100644 --- a/src/typings/checkout/commonField.ts +++ b/src/typings/checkout/commonField.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CommonField { /** * Name of the field. For example, Name of External Platform. diff --git a/src/typings/checkout/company.ts b/src/typings/checkout/company.ts index d1bbd52..51bb862 100644 --- a/src/typings/checkout/company.ts +++ b/src/typings/checkout/company.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Company { /** * The company website\'s home page. diff --git a/src/typings/checkout/configuration.ts b/src/typings/checkout/configuration.ts index c635b4f..f1eb3e2 100644 --- a/src/typings/checkout/configuration.ts +++ b/src/typings/checkout/configuration.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Avs } from './avs'; import { InstallmentsNumber } from './installmentsNumber'; import { ShopperInput } from './shopperInput'; diff --git a/src/typings/checkout/createCheckoutSessionRequest.ts b/src/typings/checkout/createCheckoutSessionRequest.ts new file mode 100644 index 0000000..1368b0d --- /dev/null +++ b/src/typings/checkout/createCheckoutSessionRequest.ts @@ -0,0 +1,463 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * + * The version of the OpenAPI document: 68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { ApplicationInfo } from './applicationInfo'; +import { Company } from './company'; +import { LineItem } from './lineItem'; +import { Mandate } from './mandate'; +import { Name } from './name'; +import { RiskData } from './riskData'; +import { Split } from './split'; +import { ThreeDSecureData } from './threeDSecureData'; + +export class CreateCheckoutSessionRequest { + 'accountInfo'?: AccountInfo; + 'additionalAmount'?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + */ + 'additionalData'?: { [key: string]: string; }; + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + */ + 'allowedPaymentMethods'?: Array; + 'amount': Amount; + 'applicationInfo'?: ApplicationInfo; + 'billingAddress'?: Address; + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + */ + 'blockedPaymentMethods'?: Array; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + 'captureDelayHours'?: number; + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + */ + 'channel'?: CreateCheckoutSessionRequest.ChannelEnum; + 'company'?: Company; + /** + * The shopper\'s two-letter country code. + */ + 'countryCode'?: string; + /** + * The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + 'dateOfBirth'?: Date; + 'deliveryAddress'?: Address; + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + */ + 'enableOneClick'?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + */ + 'enablePayOut'?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + */ + 'enableRecurring'?: boolean; + /** + * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. + */ + 'expiresAt'?: Date; + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + */ + 'lineItems'?: Array; + 'mandate'?: Mandate; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + 'mcc'?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + 'merchantAccount': string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + 'merchantOrderReference'?: string; + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request.* Maximum 20 characters per key. * Maximum 80 characters per value. + */ + 'metadata'?: { [key: string]: string; }; + 'mpiData'?: ThreeDSecureData; + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + */ + 'recurringExpiry'?: string; + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + */ + 'recurringFrequency'?: string; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder\'s balance drops below a certain amount. + */ + 'recurringProcessingModel'?: CreateCheckoutSessionRequest.RecurringProcessingModelEnum; + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + */ + 'redirectFromIssuerMethod'?: string; + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + */ + 'redirectToIssuerMethod'?: string; + /** + * The reference to uniquely identify a payment. + */ + 'reference': string; + /** + * The URL to return to when a redirect payment is completed. + */ + 'returnUrl': string; + 'riskData'?: RiskData; + /** + * The shopper\'s email address. + */ + 'shopperEmail'?: string; + /** + * The shopper\'s IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + 'shopperIP'?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + 'shopperInteraction'?: CreateCheckoutSessionRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + 'shopperLocale'?: string; + 'shopperName'?: Name; + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + */ + 'shopperReference'?: string; + /** + * The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. + */ + 'shopperStatement'?: string; + /** + * The shopper\'s social security number. + */ + 'socialSecurityNumber'?: string; + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + */ + 'splitCardFundingSources'?: boolean; + /** + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + */ + 'splits'?: Array; + /** + * When this is set to **true** and the `shopperReference` is provided, the payment details will be stored. + */ + 'storePaymentMethod'?: boolean; + /** + * The shopper\'s telephone number. + */ + 'telephoneNumber'?: string; + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + */ + 'threeDSAuthenticationOnly'?: boolean; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + 'trustedShopper'?: boolean; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "accountInfo", + "baseName": "accountInfo", + "type": "AccountInfo" + }, + { + "name": "additionalAmount", + "baseName": "additionalAmount", + "type": "Amount" + }, + { + "name": "additionalData", + "baseName": "additionalData", + "type": "{ [key: string]: string; }" + }, + { + "name": "allowedPaymentMethods", + "baseName": "allowedPaymentMethods", + "type": "Array" + }, + { + "name": "amount", + "baseName": "amount", + "type": "Amount" + }, + { + "name": "applicationInfo", + "baseName": "applicationInfo", + "type": "ApplicationInfo" + }, + { + "name": "billingAddress", + "baseName": "billingAddress", + "type": "Address" + }, + { + "name": "blockedPaymentMethods", + "baseName": "blockedPaymentMethods", + "type": "Array" + }, + { + "name": "captureDelayHours", + "baseName": "captureDelayHours", + "type": "number" + }, + { + "name": "channel", + "baseName": "channel", + "type": "CreateCheckoutSessionRequest.ChannelEnum" + }, + { + "name": "company", + "baseName": "company", + "type": "Company" + }, + { + "name": "countryCode", + "baseName": "countryCode", + "type": "string" + }, + { + "name": "dateOfBirth", + "baseName": "dateOfBirth", + "type": "Date" + }, + { + "name": "deliveryAddress", + "baseName": "deliveryAddress", + "type": "Address" + }, + { + "name": "enableOneClick", + "baseName": "enableOneClick", + "type": "boolean" + }, + { + "name": "enablePayOut", + "baseName": "enablePayOut", + "type": "boolean" + }, + { + "name": "enableRecurring", + "baseName": "enableRecurring", + "type": "boolean" + }, + { + "name": "expiresAt", + "baseName": "expiresAt", + "type": "Date" + }, + { + "name": "lineItems", + "baseName": "lineItems", + "type": "Array" + }, + { + "name": "mandate", + "baseName": "mandate", + "type": "Mandate" + }, + { + "name": "mcc", + "baseName": "mcc", + "type": "string" + }, + { + "name": "merchantAccount", + "baseName": "merchantAccount", + "type": "string" + }, + { + "name": "merchantOrderReference", + "baseName": "merchantOrderReference", + "type": "string" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }" + }, + { + "name": "mpiData", + "baseName": "mpiData", + "type": "ThreeDSecureData" + }, + { + "name": "recurringExpiry", + "baseName": "recurringExpiry", + "type": "string" + }, + { + "name": "recurringFrequency", + "baseName": "recurringFrequency", + "type": "string" + }, + { + "name": "recurringProcessingModel", + "baseName": "recurringProcessingModel", + "type": "CreateCheckoutSessionRequest.RecurringProcessingModelEnum" + }, + { + "name": "redirectFromIssuerMethod", + "baseName": "redirectFromIssuerMethod", + "type": "string" + }, + { + "name": "redirectToIssuerMethod", + "baseName": "redirectToIssuerMethod", + "type": "string" + }, + { + "name": "reference", + "baseName": "reference", + "type": "string" + }, + { + "name": "returnUrl", + "baseName": "returnUrl", + "type": "string" + }, + { + "name": "riskData", + "baseName": "riskData", + "type": "RiskData" + }, + { + "name": "shopperEmail", + "baseName": "shopperEmail", + "type": "string" + }, + { + "name": "shopperIP", + "baseName": "shopperIP", + "type": "string" + }, + { + "name": "shopperInteraction", + "baseName": "shopperInteraction", + "type": "CreateCheckoutSessionRequest.ShopperInteractionEnum" + }, + { + "name": "shopperLocale", + "baseName": "shopperLocale", + "type": "string" + }, + { + "name": "shopperName", + "baseName": "shopperName", + "type": "Name" + }, + { + "name": "shopperReference", + "baseName": "shopperReference", + "type": "string" + }, + { + "name": "shopperStatement", + "baseName": "shopperStatement", + "type": "string" + }, + { + "name": "socialSecurityNumber", + "baseName": "socialSecurityNumber", + "type": "string" + }, + { + "name": "splitCardFundingSources", + "baseName": "splitCardFundingSources", + "type": "boolean" + }, + { + "name": "splits", + "baseName": "splits", + "type": "Array" + }, + { + "name": "storePaymentMethod", + "baseName": "storePaymentMethod", + "type": "boolean" + }, + { + "name": "telephoneNumber", + "baseName": "telephoneNumber", + "type": "string" + }, + { + "name": "threeDSAuthenticationOnly", + "baseName": "threeDSAuthenticationOnly", + "type": "boolean" + }, + { + "name": "trustedShopper", + "baseName": "trustedShopper", + "type": "boolean" + } ]; + + static getAttributeTypeMap() { + return CreateCheckoutSessionRequest.attributeTypeMap; + } +} + +export namespace CreateCheckoutSessionRequest { + export enum ChannelEnum { + IOs = 'iOS', + Android = 'Android', + Web = 'Web' + } + export enum RecurringProcessingModelEnum { + CardOnFile = 'CardOnFile', + Subscription = 'Subscription', + UnscheduledCardOnFile = 'UnscheduledCardOnFile' + } + export enum ShopperInteractionEnum { + Ecommerce = 'Ecommerce', + ContAuth = 'ContAuth', + Moto = 'Moto', + Pos = 'POS' + } +} diff --git a/src/typings/checkout/createCheckoutSessionResponse.ts b/src/typings/checkout/createCheckoutSessionResponse.ts new file mode 100644 index 0000000..918b059 --- /dev/null +++ b/src/typings/checkout/createCheckoutSessionResponse.ts @@ -0,0 +1,478 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * + * The version of the OpenAPI document: 68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { ApplicationInfo } from './applicationInfo'; +import { Company } from './company'; +import { LineItem } from './lineItem'; +import { Mandate } from './mandate'; +import { Name } from './name'; +import { RiskData } from './riskData'; +import { Split } from './split'; +import { ThreeDSecureData } from './threeDSecureData'; + +export class CreateCheckoutSessionResponse { + 'accountInfo'?: AccountInfo; + 'additionalAmount'?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + */ + 'additionalData'?: { [key: string]: string; }; + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + */ + 'allowedPaymentMethods'?: Array; + 'amount': Amount; + 'applicationInfo'?: ApplicationInfo; + 'billingAddress'?: Address; + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + */ + 'blockedPaymentMethods'?: Array; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + 'captureDelayHours'?: number; + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + */ + 'channel'?: CreateCheckoutSessionResponse.ChannelEnum; + 'company'?: Company; + /** + * The shopper\'s two-letter country code. + */ + 'countryCode'?: string; + /** + * The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + 'dateOfBirth'?: Date; + 'deliveryAddress'?: Address; + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + */ + 'enableOneClick'?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + */ + 'enablePayOut'?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + */ + 'enableRecurring'?: boolean; + /** + * The date the session expires in [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. When not specified, the expiry date is set to 1 hour after session creation. You cannot set the session expiry to more than 24 hours after session creation. + */ + 'expiresAt': Date; + /** + * A unique identifier of the session. + */ + 'id': string; + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + */ + 'lineItems'?: Array; + 'mandate'?: Mandate; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + 'mcc'?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + 'merchantAccount': string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + 'merchantOrderReference'?: string; + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request.* Maximum 20 characters per key. * Maximum 80 characters per value. + */ + 'metadata'?: { [key: string]: string; }; + 'mpiData'?: ThreeDSecureData; + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + */ + 'recurringExpiry'?: string; + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + */ + 'recurringFrequency'?: string; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder\'s balance drops below a certain amount. + */ + 'recurringProcessingModel'?: CreateCheckoutSessionResponse.RecurringProcessingModelEnum; + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + */ + 'redirectFromIssuerMethod'?: string; + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + */ + 'redirectToIssuerMethod'?: string; + /** + * The reference to uniquely identify a payment. + */ + 'reference': string; + /** + * The URL to return to when a redirect payment is completed. + */ + 'returnUrl': string; + 'riskData'?: RiskData; + 'sessionData'?: string; + /** + * The shopper\'s email address. + */ + 'shopperEmail'?: string; + /** + * The shopper\'s IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + 'shopperIP'?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + 'shopperInteraction'?: CreateCheckoutSessionResponse.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + 'shopperLocale'?: string; + 'shopperName'?: Name; + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + */ + 'shopperReference'?: string; + /** + * The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. + */ + 'shopperStatement'?: string; + /** + * The shopper\'s social security number. + */ + 'socialSecurityNumber'?: string; + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + */ + 'splitCardFundingSources'?: boolean; + /** + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + */ + 'splits'?: Array; + /** + * When this is set to **true** and the `shopperReference` is provided, the payment details will be stored. + */ + 'storePaymentMethod'?: boolean; + /** + * The shopper\'s telephone number. + */ + 'telephoneNumber'?: string; + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + */ + 'threeDSAuthenticationOnly'?: boolean; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + 'trustedShopper'?: boolean; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "accountInfo", + "baseName": "accountInfo", + "type": "AccountInfo" + }, + { + "name": "additionalAmount", + "baseName": "additionalAmount", + "type": "Amount" + }, + { + "name": "additionalData", + "baseName": "additionalData", + "type": "{ [key: string]: string; }" + }, + { + "name": "allowedPaymentMethods", + "baseName": "allowedPaymentMethods", + "type": "Array" + }, + { + "name": "amount", + "baseName": "amount", + "type": "Amount" + }, + { + "name": "applicationInfo", + "baseName": "applicationInfo", + "type": "ApplicationInfo" + }, + { + "name": "billingAddress", + "baseName": "billingAddress", + "type": "Address" + }, + { + "name": "blockedPaymentMethods", + "baseName": "blockedPaymentMethods", + "type": "Array" + }, + { + "name": "captureDelayHours", + "baseName": "captureDelayHours", + "type": "number" + }, + { + "name": "channel", + "baseName": "channel", + "type": "CreateCheckoutSessionResponse.ChannelEnum" + }, + { + "name": "company", + "baseName": "company", + "type": "Company" + }, + { + "name": "countryCode", + "baseName": "countryCode", + "type": "string" + }, + { + "name": "dateOfBirth", + "baseName": "dateOfBirth", + "type": "Date" + }, + { + "name": "deliveryAddress", + "baseName": "deliveryAddress", + "type": "Address" + }, + { + "name": "enableOneClick", + "baseName": "enableOneClick", + "type": "boolean" + }, + { + "name": "enablePayOut", + "baseName": "enablePayOut", + "type": "boolean" + }, + { + "name": "enableRecurring", + "baseName": "enableRecurring", + "type": "boolean" + }, + { + "name": "expiresAt", + "baseName": "expiresAt", + "type": "Date" + }, + { + "name": "id", + "baseName": "id", + "type": "string" + }, + { + "name": "lineItems", + "baseName": "lineItems", + "type": "Array" + }, + { + "name": "mandate", + "baseName": "mandate", + "type": "Mandate" + }, + { + "name": "mcc", + "baseName": "mcc", + "type": "string" + }, + { + "name": "merchantAccount", + "baseName": "merchantAccount", + "type": "string" + }, + { + "name": "merchantOrderReference", + "baseName": "merchantOrderReference", + "type": "string" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }" + }, + { + "name": "mpiData", + "baseName": "mpiData", + "type": "ThreeDSecureData" + }, + { + "name": "recurringExpiry", + "baseName": "recurringExpiry", + "type": "string" + }, + { + "name": "recurringFrequency", + "baseName": "recurringFrequency", + "type": "string" + }, + { + "name": "recurringProcessingModel", + "baseName": "recurringProcessingModel", + "type": "CreateCheckoutSessionResponse.RecurringProcessingModelEnum" + }, + { + "name": "redirectFromIssuerMethod", + "baseName": "redirectFromIssuerMethod", + "type": "string" + }, + { + "name": "redirectToIssuerMethod", + "baseName": "redirectToIssuerMethod", + "type": "string" + }, + { + "name": "reference", + "baseName": "reference", + "type": "string" + }, + { + "name": "returnUrl", + "baseName": "returnUrl", + "type": "string" + }, + { + "name": "riskData", + "baseName": "riskData", + "type": "RiskData" + }, + { + "name": "sessionData", + "baseName": "sessionData", + "type": "string" + }, + { + "name": "shopperEmail", + "baseName": "shopperEmail", + "type": "string" + }, + { + "name": "shopperIP", + "baseName": "shopperIP", + "type": "string" + }, + { + "name": "shopperInteraction", + "baseName": "shopperInteraction", + "type": "CreateCheckoutSessionResponse.ShopperInteractionEnum" + }, + { + "name": "shopperLocale", + "baseName": "shopperLocale", + "type": "string" + }, + { + "name": "shopperName", + "baseName": "shopperName", + "type": "Name" + }, + { + "name": "shopperReference", + "baseName": "shopperReference", + "type": "string" + }, + { + "name": "shopperStatement", + "baseName": "shopperStatement", + "type": "string" + }, + { + "name": "socialSecurityNumber", + "baseName": "socialSecurityNumber", + "type": "string" + }, + { + "name": "splitCardFundingSources", + "baseName": "splitCardFundingSources", + "type": "boolean" + }, + { + "name": "splits", + "baseName": "splits", + "type": "Array" + }, + { + "name": "storePaymentMethod", + "baseName": "storePaymentMethod", + "type": "boolean" + }, + { + "name": "telephoneNumber", + "baseName": "telephoneNumber", + "type": "string" + }, + { + "name": "threeDSAuthenticationOnly", + "baseName": "threeDSAuthenticationOnly", + "type": "boolean" + }, + { + "name": "trustedShopper", + "baseName": "trustedShopper", + "type": "boolean" + } ]; + + static getAttributeTypeMap() { + return CreateCheckoutSessionResponse.attributeTypeMap; + } +} + +export namespace CreateCheckoutSessionResponse { + export enum ChannelEnum { + IOs = 'iOS', + Android = 'Android', + Web = 'Web' + } + export enum RecurringProcessingModelEnum { + CardOnFile = 'CardOnFile', + Subscription = 'Subscription', + UnscheduledCardOnFile = 'UnscheduledCardOnFile' + } + export enum ShopperInteractionEnum { + Ecommerce = 'Ecommerce', + ContAuth = 'ContAuth', + Moto = 'Moto', + Pos = 'POS' + } +} diff --git a/src/typings/checkout/createPaymentAmountUpdateRequest.ts b/src/typings/checkout/createPaymentAmountUpdateRequest.ts index d92902f..57d131d 100644 --- a/src/typings/checkout/createPaymentAmountUpdateRequest.ts +++ b/src/typings/checkout/createPaymentAmountUpdateRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { Split } from './split'; diff --git a/src/typings/checkout/createPaymentCancelRequest.ts b/src/typings/checkout/createPaymentCancelRequest.ts index 4743462..5c6bbef 100644 --- a/src/typings/checkout/createPaymentCancelRequest.ts +++ b/src/typings/checkout/createPaymentCancelRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CreatePaymentCancelRequest { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/createPaymentCaptureRequest.ts b/src/typings/checkout/createPaymentCaptureRequest.ts index 24931c9..5f8b077 100644 --- a/src/typings/checkout/createPaymentCaptureRequest.ts +++ b/src/typings/checkout/createPaymentCaptureRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { Split } from './split'; diff --git a/src/typings/checkout/createPaymentLinkRequest.ts b/src/typings/checkout/createPaymentLinkRequest.ts index eab9279..841c33c 100644 --- a/src/typings/checkout/createPaymentLinkRequest.ts +++ b/src/typings/checkout/createPaymentLinkRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; @@ -72,7 +73,7 @@ export class CreatePaymentLinkRequest { */ 'installmentOptions'?: { [key: string]: InstallmentOption; }; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such AfterPay, Klarna, RatePay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip. */ 'lineItems'?: Array; /** @@ -118,7 +119,7 @@ export class CreatePaymentLinkRequest { 'shopperLocale'?: string; 'shopperName'?: Name; /** - * Your reference to uniquely identify this shopper (for example, user ID or account ID). Minimum length: 3 characters. + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. */ 'shopperReference'?: string; /** @@ -130,9 +131,17 @@ export class CreatePaymentLinkRequest { */ 'store'?: string; /** - * When this is set to **true** and the `shopperReference` is provided, the payment details will be stored. From api version 68 use `storePaymentMethodMode` instead. + * Indicates if the details of the payment method will be stored for the shopper. Possible values:* **disabled** – No details will be stored.* **askForConsent** – If the `shopperReference` is provided the shopper can decide whether or not the details will be stored.* **enabled** – If the `shopperReference` is provided the details will be stored without asking consent to the shopper. */ - 'storePaymentMethod'?: boolean; + 'storePaymentMethodMode'?: CreatePaymentLinkRequest.StorePaymentMethodModeEnum; + /** + * The shopper\'s telephone number. + */ + 'telephoneNumber'?: string; + /** + * Use to set a theme to shopper other than default + */ + 'themeId'?: string; static discriminator: string | undefined = undefined; @@ -273,9 +282,19 @@ export class CreatePaymentLinkRequest { "type": "string" }, { - "name": "storePaymentMethod", - "baseName": "storePaymentMethod", - "type": "boolean" + "name": "storePaymentMethodMode", + "baseName": "storePaymentMethodMode", + "type": "CreatePaymentLinkRequest.StorePaymentMethodModeEnum" + }, + { + "name": "telephoneNumber", + "baseName": "telephoneNumber", + "type": "string" + }, + { + "name": "themeId", + "baseName": "themeId", + "type": "string" } ]; static getAttributeTypeMap() { @@ -296,4 +315,9 @@ export namespace CreatePaymentLinkRequest { ShopperName = 'shopperName', TelephoneNumber = 'telephoneNumber' } + export enum StorePaymentMethodModeEnum { + AskForConsent = 'askForConsent', + Disabled = 'disabled', + Enabled = 'enabled' + } } diff --git a/src/typings/checkout/createPaymentRefundRequest.ts b/src/typings/checkout/createPaymentRefundRequest.ts index 218aeb5..8a6d088 100644 --- a/src/typings/checkout/createPaymentRefundRequest.ts +++ b/src/typings/checkout/createPaymentRefundRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { Split } from './split'; diff --git a/src/typings/checkout/createPaymentReversalRequest.ts b/src/typings/checkout/createPaymentReversalRequest.ts index 4e7c4f7..7f0ee91 100644 --- a/src/typings/checkout/createPaymentReversalRequest.ts +++ b/src/typings/checkout/createPaymentReversalRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CreatePaymentReversalRequest { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/createStandalonePaymentCancelRequest.ts b/src/typings/checkout/createStandalonePaymentCancelRequest.ts index e2da9b9..bcb08fc 100644 --- a/src/typings/checkout/createStandalonePaymentCancelRequest.ts +++ b/src/typings/checkout/createStandalonePaymentCancelRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class CreateStandalonePaymentCancelRequest { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/detailsRequest.ts b/src/typings/checkout/detailsRequest.ts index 2b8a853..413b9e3 100644 --- a/src/typings/checkout/detailsRequest.ts +++ b/src/typings/checkout/detailsRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { PaymentCompletionDetails } from './paymentCompletionDetails'; export class DetailsRequest { diff --git a/src/typings/checkout/deviceRenderOptions.ts b/src/typings/checkout/deviceRenderOptions.ts index c9f029b..cb8b872 100644 --- a/src/typings/checkout/deviceRenderOptions.ts +++ b/src/typings/checkout/deviceRenderOptions.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class DeviceRenderOptions { /** * Supported SDK interface types. Allowed values: * native * html * both diff --git a/src/typings/checkout/dokuDetails.ts b/src/typings/checkout/dokuDetails.ts index 2b388da..ee53824 100644 --- a/src/typings/checkout/dokuDetails.ts +++ b/src/typings/checkout/dokuDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class DokuDetails { /** * The shopper\'s first name. diff --git a/src/typings/checkout/donationResponse.ts b/src/typings/checkout/donationResponse.ts new file mode 100644 index 0000000..13d3ef5 --- /dev/null +++ b/src/typings/checkout/donationResponse.ts @@ -0,0 +1,110 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * + * The version of the OpenAPI document: 68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { Amount } from './amount'; +import { PaymentResponse } from './paymentResponse'; + +export class DonationResponse { + 'amount'?: Amount; + /** + * The Adyen account name of your charity. We will provide you with this account name once your chosen charity has been [onboarded](https://docs.adyen.com/online-payments/donations#onboarding). + */ + 'donationAccount'?: string; + /** + * Your unique resource identifier. + */ + 'id'?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + 'merchantAccount'?: string; + 'payment'?: PaymentResponse; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + 'reference'?: string; + /** + * The status of the donation transaction. Possible values: * **completed** * **pending** * **refused** + */ + 'status'?: DonationResponse.StatusEnum; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "amount", + "baseName": "amount", + "type": "Amount" + }, + { + "name": "donationAccount", + "baseName": "donationAccount", + "type": "string" + }, + { + "name": "id", + "baseName": "id", + "type": "string" + }, + { + "name": "merchantAccount", + "baseName": "merchantAccount", + "type": "string" + }, + { + "name": "payment", + "baseName": "payment", + "type": "PaymentResponse" + }, + { + "name": "reference", + "baseName": "reference", + "type": "string" + }, + { + "name": "status", + "baseName": "status", + "type": "DonationResponse.StatusEnum" + } ]; + + static getAttributeTypeMap() { + return DonationResponse.attributeTypeMap; + } +} + +export namespace DonationResponse { + export enum StatusEnum { + Completed = 'completed', + Pending = 'pending', + Refused = 'refused' + } +} diff --git a/src/typings/checkout/dotpayDetails.ts b/src/typings/checkout/dotpayDetails.ts index 367a6d9..b1eaa8f 100644 --- a/src/typings/checkout/dotpayDetails.ts +++ b/src/typings/checkout/dotpayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class DotpayDetails { /** * The Dotpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dotpay issuer to preselect it. diff --git a/src/typings/checkout/dragonpayDetails.ts b/src/typings/checkout/dragonpayDetails.ts index 457d115..d2b1130 100644 --- a/src/typings/checkout/dragonpayDetails.ts +++ b/src/typings/checkout/dragonpayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class DragonpayDetails { /** * The Dragonpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dragonpay issuer to preselect it. diff --git a/src/typings/checkout/econtextVoucherDetails.ts b/src/typings/checkout/econtextVoucherDetails.ts index 8dfa435..d4e0d01 100644 --- a/src/typings/checkout/econtextVoucherDetails.ts +++ b/src/typings/checkout/econtextVoucherDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class EcontextVoucherDetails { /** * The shopper\'s first name. diff --git a/src/typings/checkout/externalPlatform.ts b/src/typings/checkout/externalPlatform.ts index efe79d2..68c7b1f 100644 --- a/src/typings/checkout/externalPlatform.ts +++ b/src/typings/checkout/externalPlatform.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ExternalPlatform { /** * External platform integrator. diff --git a/src/typings/checkout/forexQuote.ts b/src/typings/checkout/forexQuote.ts index 86b5c2e..a577f33 100644 --- a/src/typings/checkout/forexQuote.ts +++ b/src/typings/checkout/forexQuote.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; export class ForexQuote { diff --git a/src/typings/checkout/fraudCheckResult.ts b/src/typings/checkout/fraudCheckResult.ts index 38a1d00..1c5291e 100644 --- a/src/typings/checkout/fraudCheckResult.ts +++ b/src/typings/checkout/fraudCheckResult.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class FraudCheckResult { /** * The fraud score generated by the risk check. diff --git a/src/typings/checkout/fraudResult.ts b/src/typings/checkout/fraudResult.ts index 267787f..27480a4 100644 --- a/src/typings/checkout/fraudResult.ts +++ b/src/typings/checkout/fraudResult.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { FraudCheckResult } from './fraudCheckResult'; export class FraudResult { diff --git a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts index f8761c8..07913a7 100644 --- a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts +++ b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class GenericIssuerPaymentMethodDetails { /** * The issuer id of the shopper\'s selected bank. diff --git a/src/typings/checkout/giropayDetails.ts b/src/typings/checkout/giropayDetails.ts index 991447a..68a05f4 100644 --- a/src/typings/checkout/giropayDetails.ts +++ b/src/typings/checkout/giropayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class GiropayDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. diff --git a/src/typings/checkout/googlePayDetails.ts b/src/typings/checkout/googlePayDetails.ts index c6ae5e8..1637b88 100644 --- a/src/typings/checkout/googlePayDetails.ts +++ b/src/typings/checkout/googlePayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class GooglePayDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/idealDetails.ts b/src/typings/checkout/idealDetails.ts index b8b98e3..bb29a0b 100644 --- a/src/typings/checkout/idealDetails.ts +++ b/src/typings/checkout/idealDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class IdealDetails { /** * The iDEAL issuer value of the shopper\'s selected bank. Set this to an **id** of an iDEAL issuer to preselect it. diff --git a/src/typings/checkout/inputDetail.ts b/src/typings/checkout/inputDetail.ts index a5d3997..c0b0ddd 100644 --- a/src/typings/checkout/inputDetail.ts +++ b/src/typings/checkout/inputDetail.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Item } from './item'; import { SubInputDetail } from './subInputDetail'; diff --git a/src/typings/checkout/installmentOption.ts b/src/typings/checkout/installmentOption.ts index c84749a..ef8a377 100644 --- a/src/typings/checkout/installmentOption.ts +++ b/src/typings/checkout/installmentOption.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class InstallmentOption { /** * The maximum number of installments offered for this payment method. diff --git a/src/typings/checkout/installments.ts b/src/typings/checkout/installments.ts index 5ab21c2..fc80ad6 100644 --- a/src/typings/checkout/installments.ts +++ b/src/typings/checkout/installments.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Installments { /** * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** diff --git a/src/typings/checkout/installmentsNumber.ts b/src/typings/checkout/installmentsNumber.ts index e076a02..c8dfe9d 100644 --- a/src/typings/checkout/installmentsNumber.ts +++ b/src/typings/checkout/installmentsNumber.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class InstallmentsNumber { /** * Maximum number of installments diff --git a/src/typings/checkout/item.ts b/src/typings/checkout/item.ts index f21e4f5..28ef452 100644 --- a/src/typings/checkout/item.ts +++ b/src/typings/checkout/item.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Item { /** * The value to provide in the result. diff --git a/src/typings/checkout/klarnaDetails.ts b/src/typings/checkout/klarnaDetails.ts index 3b7bc0a..82dcc66 100644 --- a/src/typings/checkout/klarnaDetails.ts +++ b/src/typings/checkout/klarnaDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class KlarnaDetails { /** * The address where to send the invoice. diff --git a/src/typings/checkout/lianLianPayDetails.ts b/src/typings/checkout/lianLianPayDetails.ts index 947234b..ec66569 100644 --- a/src/typings/checkout/lianLianPayDetails.ts +++ b/src/typings/checkout/lianLianPayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class LianLianPayDetails { 'telephoneNumber': string; /** diff --git a/src/typings/checkout/lineItem.ts b/src/typings/checkout/lineItem.ts index 3b5485f..d49c5bb 100644 --- a/src/typings/checkout/lineItem.ts +++ b/src/typings/checkout/lineItem.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class LineItem { /** * Item amount excluding the tax, in minor units. @@ -67,10 +69,6 @@ export class LineItem { */ 'taxAmount'?: number; /** - * Required for AfterPay. Tax category: High, Low, None, Zero - */ - 'taxCategory'?: LineItem.TaxCategoryEnum; - /** * Tax percentage, in minor units. */ 'taxPercentage'?: number; @@ -123,11 +121,6 @@ export class LineItem { "baseName": "taxAmount", "type": "number" }, - { - "name": "taxCategory", - "baseName": "taxCategory", - "type": "LineItem.TaxCategoryEnum" - }, { "name": "taxPercentage", "baseName": "taxPercentage", @@ -139,11 +132,3 @@ export class LineItem { } } -export namespace LineItem { - export enum TaxCategoryEnum { - High = 'High', - Low = 'Low', - None = 'None', - Zero = 'Zero' - } -} diff --git a/src/typings/checkout/mandate.ts b/src/typings/checkout/mandate.ts index b4f43eb..9928cf9 100644 --- a/src/typings/checkout/mandate.ts +++ b/src/typings/checkout/mandate.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,9 +29,11 @@ * Do not edit the class manually. */ + + export class Mandate { /** - * The billing amount of the recurring transactions. + * The billing amount(in minor units) of the recurring transactions. */ 'amount': string; /** diff --git a/src/typings/checkout/masterpassDetails.ts b/src/typings/checkout/masterpassDetails.ts index e2343e9..c10a4fd 100644 --- a/src/typings/checkout/masterpassDetails.ts +++ b/src/typings/checkout/masterpassDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class MasterpassDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/mbwayDetails.ts b/src/typings/checkout/mbwayDetails.ts index a512faf..944a460 100644 --- a/src/typings/checkout/mbwayDetails.ts +++ b/src/typings/checkout/mbwayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class MbwayDetails { 'shopperEmail': string; 'telephoneNumber': string; diff --git a/src/typings/checkout/merchantDevice.ts b/src/typings/checkout/merchantDevice.ts index 94025d4..81826fd 100644 --- a/src/typings/checkout/merchantDevice.ts +++ b/src/typings/checkout/merchantDevice.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class MerchantDevice { /** * Operating system running on the merchant device. diff --git a/src/typings/checkout/merchantRiskIndicator.ts b/src/typings/checkout/merchantRiskIndicator.ts index a330628..11512b9 100644 --- a/src/typings/checkout/merchantRiskIndicator.ts +++ b/src/typings/checkout/merchantRiskIndicator.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; export class MerchantRiskIndicator { @@ -45,6 +46,10 @@ export class MerchantRiskIndicator { */ 'deliveryEmail'?: string; /** + * Merchant’s assessment of the level of fraud risk for the specific authentication for both the cardholder and the authentication being conducted. + */ + 'deliveryEmailAddress'?: string; + /** * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` */ 'deliveryTimeframe'?: MerchantRiskIndicator.DeliveryTimeframeEnum; @@ -54,6 +59,10 @@ export class MerchantRiskIndicator { */ 'giftCardCount'?: number; /** + * For prepaid or gift card purchase, ISO 4217 three-digit currency code of the gift card, other than those listed in Table A.5. + */ + 'giftCardCurr'?: string; + /** * For pre-order purchases, the expected date this product will be available to the shopper. */ 'preOrderDate'?: Date; @@ -62,9 +71,21 @@ export class MerchantRiskIndicator { */ 'preOrderPurchase'?: boolean; /** + * Indicates whether Cardholder is placing an order for merchandise with a future availability or release date. + */ + 'preOrderPurchaseInd'?: string; + /** * Indicator for whether the shopper has already purchased the same items in the past. */ 'reorderItems'?: boolean; + /** + * Indicates whether the cardholder is reordering previously purchased merchandise. + */ + 'reorderItemsInd'?: string; + /** + * Indicates shipping method chosen for the transaction. + */ + 'shipIndicator'?: string; static discriminator: string | undefined = undefined; @@ -84,6 +105,11 @@ export class MerchantRiskIndicator { "baseName": "deliveryEmail", "type": "string" }, + { + "name": "deliveryEmailAddress", + "baseName": "deliveryEmailAddress", + "type": "string" + }, { "name": "deliveryTimeframe", "baseName": "deliveryTimeframe", @@ -99,6 +125,11 @@ export class MerchantRiskIndicator { "baseName": "giftCardCount", "type": "number" }, + { + "name": "giftCardCurr", + "baseName": "giftCardCurr", + "type": "string" + }, { "name": "preOrderDate", "baseName": "preOrderDate", @@ -109,10 +140,25 @@ export class MerchantRiskIndicator { "baseName": "preOrderPurchase", "type": "boolean" }, + { + "name": "preOrderPurchaseInd", + "baseName": "preOrderPurchaseInd", + "type": "string" + }, { "name": "reorderItems", "baseName": "reorderItems", "type": "boolean" + }, + { + "name": "reorderItemsInd", + "baseName": "reorderItemsInd", + "type": "string" + }, + { + "name": "shipIndicator", + "baseName": "shipIndicator", + "type": "string" } ]; static getAttributeTypeMap() { diff --git a/src/typings/checkout/mobilePayDetails.ts b/src/typings/checkout/mobilePayDetails.ts index 15acecc..7ad70f6 100644 --- a/src/typings/checkout/mobilePayDetails.ts +++ b/src/typings/checkout/mobilePayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class MobilePayDetails { /** * **mobilepay** diff --git a/src/typings/checkout/models.ts b/src/typings/checkout/models.ts index 11269c6..26eaf7e 100644 --- a/src/typings/checkout/models.ts +++ b/src/typings/checkout/models.ts @@ -16,27 +16,10 @@ * This file is open source and available under the MIT license. * See the LICENSE file for more info. */ - -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ + export * from './accountInfo'; +export * from './acctInfo'; export * from './achDetails'; export * from './additionalData3DSecure'; export * from './additionalDataAirline'; @@ -91,6 +74,8 @@ export * from './checkoutVoucherAction'; export * from './commonField'; export * from './company'; export * from './configuration'; +export * from './createCheckoutSessionRequest'; +export * from './createCheckoutSessionResponse'; export * from './createPaymentAmountUpdateRequest'; export * from './createPaymentCancelRequest'; export * from './createPaymentCaptureRequest'; @@ -101,10 +86,10 @@ export * from './createStandalonePaymentCancelRequest'; export * from './detailsRequest'; export * from './deviceRenderOptions'; export * from './dokuDetails'; +export * from './donationResponse'; export * from './dotpayDetails'; export * from './dragonpayDetails'; export * from './econtextVoucherDetails'; -export * from './entercashDetails'; export * from './externalPlatform'; export * from './forexQuote'; export * from './fraudCheckResult'; @@ -139,9 +124,11 @@ export * from './paymentCaptureResource'; export * from './paymentCompletionDetails'; export * from './paymentDetails'; export * from './paymentDetailsResponse'; +export * from './paymentDonationRequest'; export * from './paymentLinkResource'; export * from './paymentMethod'; export * from './paymentMethodGroup'; +export * from './paymentMethodIssuer'; export * from './paymentMethodsRequest'; export * from './paymentMethodsResponse'; export * from './paymentRefundResource'; @@ -152,7 +139,7 @@ export * from './paymentSetupRequest'; export * from './paymentSetupResponse'; export * from './paymentVerificationRequest'; export * from './paymentVerificationResponse'; -export * from './qiwiWalletDetails'; +export * from './phone'; export * from './ratepayDetails'; export * from './recurring'; export * from './recurringDetail'; @@ -165,7 +152,6 @@ export * from './responseAdditionalDataDeliveryAddress'; export * from './responseAdditionalDataInstallments'; export * from './responseAdditionalDataNetworkTokens'; export * from './responseAdditionalDataOpi'; -export * from './responseAdditionalDataPayPal'; export * from './responseAdditionalDataSepa'; export * from './riskData'; export * from './sDKEphemPubKey'; @@ -185,6 +171,8 @@ export * from './subInputDetail'; export * from './threeDS2RequestData'; export * from './threeDS2ResponseData'; export * from './threeDS2Result'; +export * from './threeDSRequestorAuthenticationInfo'; +export * from './threeDSRequestorPriorAuthenticationInfo'; export * from './threeDSecureData'; export * from './updatePaymentLinkRequest'; export * from './upiDetails'; @@ -206,7 +194,9 @@ export interface RequestDetailedFile { export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile; + import { AccountInfo } from './accountInfo'; +import { AcctInfo } from './acctInfo'; import { AchDetails } from './achDetails'; import { AdditionalData3DSecure } from './additionalData3DSecure'; import { AdditionalDataAirline } from './additionalDataAirline'; @@ -261,6 +251,8 @@ import { CheckoutVoucherAction } from './checkoutVoucherAction'; import { CommonField } from './commonField'; import { Company } from './company'; import { Configuration } from './configuration'; +import { CreateCheckoutSessionRequest } from './createCheckoutSessionRequest'; +import { CreateCheckoutSessionResponse } from './createCheckoutSessionResponse'; import { CreatePaymentAmountUpdateRequest } from './createPaymentAmountUpdateRequest'; import { CreatePaymentCancelRequest } from './createPaymentCancelRequest'; import { CreatePaymentCaptureRequest } from './createPaymentCaptureRequest'; @@ -271,10 +263,10 @@ import { CreateStandalonePaymentCancelRequest } from './createStandalonePaymentC import { DetailsRequest } from './detailsRequest'; import { DeviceRenderOptions } from './deviceRenderOptions'; import { DokuDetails } from './dokuDetails'; +import { DonationResponse } from './donationResponse'; import { DotpayDetails } from './dotpayDetails'; import { DragonpayDetails } from './dragonpayDetails'; import { EcontextVoucherDetails } from './econtextVoucherDetails'; -import { EntercashDetails } from './entercashDetails'; import { ExternalPlatform } from './externalPlatform'; import { ForexQuote } from './forexQuote'; import { FraudCheckResult } from './fraudCheckResult'; @@ -309,9 +301,11 @@ import { PaymentCaptureResource } from './paymentCaptureResource'; import { PaymentCompletionDetails } from './paymentCompletionDetails'; import { PaymentDetails } from './paymentDetails'; import { PaymentDetailsResponse } from './paymentDetailsResponse'; +import { PaymentDonationRequest } from './paymentDonationRequest'; import { PaymentLinkResource } from './paymentLinkResource'; import { PaymentMethod } from './paymentMethod'; import { PaymentMethodGroup } from './paymentMethodGroup'; +import { PaymentMethodIssuer } from './paymentMethodIssuer'; import { PaymentMethodsRequest } from './paymentMethodsRequest'; import { PaymentMethodsResponse } from './paymentMethodsResponse'; import { PaymentRefundResource } from './paymentRefundResource'; @@ -322,7 +316,7 @@ import { PaymentSetupRequest } from './paymentSetupRequest'; import { PaymentSetupResponse } from './paymentSetupResponse'; import { PaymentVerificationRequest } from './paymentVerificationRequest'; import { PaymentVerificationResponse } from './paymentVerificationResponse'; -import { QiwiWalletDetails } from './qiwiWalletDetails'; +import { Phone } from './phone'; import { RatepayDetails } from './ratepayDetails'; import { Recurring } from './recurring'; import { RecurringDetail } from './recurringDetail'; @@ -335,7 +329,6 @@ import { ResponseAdditionalDataDeliveryAddress } from './responseAdditionalDataD import { ResponseAdditionalDataInstallments } from './responseAdditionalDataInstallments'; import { ResponseAdditionalDataNetworkTokens } from './responseAdditionalDataNetworkTokens'; import { ResponseAdditionalDataOpi } from './responseAdditionalDataOpi'; -import { ResponseAdditionalDataPayPal } from './responseAdditionalDataPayPal'; import { ResponseAdditionalDataSepa } from './responseAdditionalDataSepa'; import { RiskData } from './riskData'; import { SDKEphemPubKey } from './sDKEphemPubKey'; @@ -355,6 +348,8 @@ import { SubInputDetail } from './subInputDetail'; import { ThreeDS2RequestData } from './threeDS2RequestData'; import { ThreeDS2ResponseData } from './threeDS2ResponseData'; import { ThreeDS2Result } from './threeDS2Result'; +import { ThreeDSRequestorAuthenticationInfo } from './threeDSRequestorAuthenticationInfo'; +import { ThreeDSRequestorPriorAuthenticationInfo } from './threeDSRequestorPriorAuthenticationInfo'; import { ThreeDSecureData } from './threeDSecureData'; import { UpdatePaymentLinkRequest } from './updatePaymentLinkRequest'; import { UpiDetails } from './upiDetails'; @@ -412,16 +407,23 @@ let enumsMap: {[index: string]: any} = { "CheckoutThreeDS2Action.TypeEnum": CheckoutThreeDS2Action.TypeEnum, "CheckoutVoucherAction.TypeEnum": CheckoutVoucherAction.TypeEnum, "Configuration.CardHolderNameEnum": Configuration.CardHolderNameEnum, + "CreateCheckoutSessionRequest.ChannelEnum": CreateCheckoutSessionRequest.ChannelEnum, + "CreateCheckoutSessionRequest.RecurringProcessingModelEnum": CreateCheckoutSessionRequest.RecurringProcessingModelEnum, + "CreateCheckoutSessionRequest.ShopperInteractionEnum": CreateCheckoutSessionRequest.ShopperInteractionEnum, + "CreateCheckoutSessionResponse.ChannelEnum": CreateCheckoutSessionResponse.ChannelEnum, + "CreateCheckoutSessionResponse.RecurringProcessingModelEnum": CreateCheckoutSessionResponse.RecurringProcessingModelEnum, + "CreateCheckoutSessionResponse.ShopperInteractionEnum": CreateCheckoutSessionResponse.ShopperInteractionEnum, "CreatePaymentAmountUpdateRequest.ReasonEnum": CreatePaymentAmountUpdateRequest.ReasonEnum, "CreatePaymentLinkRequest.RecurringProcessingModelEnum": CreatePaymentLinkRequest.RecurringProcessingModelEnum, "CreatePaymentLinkRequest.RequiredShopperFieldsEnum": CreatePaymentLinkRequest.RequiredShopperFieldsEnum, + "CreatePaymentLinkRequest.StorePaymentMethodModeEnum": CreatePaymentLinkRequest.StorePaymentMethodModeEnum, "DeviceRenderOptions.SdkInterfaceEnum": DeviceRenderOptions.SdkInterfaceEnum, "DeviceRenderOptions.SdkUiTypeEnum": DeviceRenderOptions.SdkUiTypeEnum, "DokuDetails.TypeEnum": DokuDetails.TypeEnum, + "DonationResponse.StatusEnum": DonationResponse.StatusEnum, "DotpayDetails.TypeEnum": DotpayDetails.TypeEnum, "DragonpayDetails.TypeEnum": DragonpayDetails.TypeEnum, "EcontextVoucherDetails.TypeEnum": EcontextVoucherDetails.TypeEnum, - "EntercashDetails.TypeEnum": EntercashDetails.TypeEnum, "GenericIssuerPaymentMethodDetails.TypeEnum": GenericIssuerPaymentMethodDetails.TypeEnum, "GiropayDetails.TypeEnum": GiropayDetails.TypeEnum, "GooglePayDetails.FundingSourceEnum": GooglePayDetails.FundingSourceEnum, @@ -431,7 +433,6 @@ let enumsMap: {[index: string]: any} = { "Installments.PlanEnum": Installments.PlanEnum, "KlarnaDetails.TypeEnum": KlarnaDetails.TypeEnum, "LianLianPayDetails.TypeEnum": LianLianPayDetails.TypeEnum, - "LineItem.TaxCategoryEnum": LineItem.TaxCategoryEnum, "Mandate.AmountRuleEnum": Mandate.AmountRuleEnum, "Mandate.BillingAttemptsRuleEnum": Mandate.BillingAttemptsRuleEnum, "Mandate.FrequencyEnum": Mandate.FrequencyEnum, @@ -454,8 +455,13 @@ let enumsMap: {[index: string]: any} = { "PaymentCaptureResource.StatusEnum": PaymentCaptureResource.StatusEnum, "PaymentDetails.TypeEnum": PaymentDetails.TypeEnum, "PaymentDetailsResponse.ResultCodeEnum": PaymentDetailsResponse.ResultCodeEnum, + "PaymentDonationRequest.ChannelEnum": PaymentDonationRequest.ChannelEnum, + "PaymentDonationRequest.EntityTypeEnum": PaymentDonationRequest.EntityTypeEnum, + "PaymentDonationRequest.RecurringProcessingModelEnum": PaymentDonationRequest.RecurringProcessingModelEnum, + "PaymentDonationRequest.ShopperInteractionEnum": PaymentDonationRequest.ShopperInteractionEnum, "PaymentLinkResource.RecurringProcessingModelEnum": PaymentLinkResource.RecurringProcessingModelEnum, "PaymentLinkResource.StatusEnum": PaymentLinkResource.StatusEnum, + "PaymentLinkResource.StorePaymentMethodModeEnum": PaymentLinkResource.StorePaymentMethodModeEnum, "PaymentMethod.FundingSourceEnum": PaymentMethod.FundingSourceEnum, "PaymentMethodsRequest.ChannelEnum": PaymentMethodsRequest.ChannelEnum, "PaymentRefundResource.StatusEnum": PaymentRefundResource.StatusEnum, @@ -469,7 +475,6 @@ let enumsMap: {[index: string]: any} = { "PaymentSetupRequest.EntityTypeEnum": PaymentSetupRequest.EntityTypeEnum, "PaymentSetupRequest.ShopperInteractionEnum": PaymentSetupRequest.ShopperInteractionEnum, "PaymentVerificationResponse.ResultCodeEnum": PaymentVerificationResponse.ResultCodeEnum, - "QiwiWalletDetails.TypeEnum": QiwiWalletDetails.TypeEnum, "RatepayDetails.TypeEnum": RatepayDetails.TypeEnum, "Recurring.ContractEnum": Recurring.ContractEnum, "Recurring.TokenServiceEnum": Recurring.TokenServiceEnum, @@ -489,6 +494,8 @@ let enumsMap: {[index: string]: any} = { "StoredPaymentMethodDetails.TypeEnum": StoredPaymentMethodDetails.TypeEnum, "ThreeDS2RequestData.ChallengeIndicatorEnum": ThreeDS2RequestData.ChallengeIndicatorEnum, "ThreeDS2RequestData.TransactionTypeEnum": ThreeDS2RequestData.TransactionTypeEnum, + "ThreeDS2Result.ChallengeIndicatorEnum": ThreeDS2Result.ChallengeIndicatorEnum, + "ThreeDS2Result.ExemptionIndicatorEnum": ThreeDS2Result.ExemptionIndicatorEnum, "ThreeDSecureData.AuthenticationResponseEnum": ThreeDSecureData.AuthenticationResponseEnum, "ThreeDSecureData.DirectoryResponseEnum": ThreeDSecureData.DirectoryResponseEnum, "UpdatePaymentLinkRequest.StatusEnum": UpdatePaymentLinkRequest.StatusEnum, @@ -503,6 +510,7 @@ let enumsMap: {[index: string]: any} = { let typeMap: {[index: string]: any} = { "AccountInfo": AccountInfo, + "AcctInfo": AcctInfo, "AchDetails": AchDetails, "AdditionalData3DSecure": AdditionalData3DSecure, "AdditionalDataAirline": AdditionalDataAirline, @@ -557,6 +565,8 @@ let typeMap: {[index: string]: any} = { "CommonField": CommonField, "Company": Company, "Configuration": Configuration, + "CreateCheckoutSessionRequest": CreateCheckoutSessionRequest, + "CreateCheckoutSessionResponse": CreateCheckoutSessionResponse, "CreatePaymentAmountUpdateRequest": CreatePaymentAmountUpdateRequest, "CreatePaymentCancelRequest": CreatePaymentCancelRequest, "CreatePaymentCaptureRequest": CreatePaymentCaptureRequest, @@ -567,10 +577,10 @@ let typeMap: {[index: string]: any} = { "DetailsRequest": DetailsRequest, "DeviceRenderOptions": DeviceRenderOptions, "DokuDetails": DokuDetails, + "DonationResponse": DonationResponse, "DotpayDetails": DotpayDetails, "DragonpayDetails": DragonpayDetails, "EcontextVoucherDetails": EcontextVoucherDetails, - "EntercashDetails": EntercashDetails, "ExternalPlatform": ExternalPlatform, "ForexQuote": ForexQuote, "FraudCheckResult": FraudCheckResult, @@ -605,9 +615,11 @@ let typeMap: {[index: string]: any} = { "PaymentCompletionDetails": PaymentCompletionDetails, "PaymentDetails": PaymentDetails, "PaymentDetailsResponse": PaymentDetailsResponse, + "PaymentDonationRequest": PaymentDonationRequest, "PaymentLinkResource": PaymentLinkResource, "PaymentMethod": PaymentMethod, "PaymentMethodGroup": PaymentMethodGroup, + "PaymentMethodIssuer": PaymentMethodIssuer, "PaymentMethodsRequest": PaymentMethodsRequest, "PaymentMethodsResponse": PaymentMethodsResponse, "PaymentRefundResource": PaymentRefundResource, @@ -618,7 +630,7 @@ let typeMap: {[index: string]: any} = { "PaymentSetupResponse": PaymentSetupResponse, "PaymentVerificationRequest": PaymentVerificationRequest, "PaymentVerificationResponse": PaymentVerificationResponse, - "QiwiWalletDetails": QiwiWalletDetails, + "Phone": Phone, "RatepayDetails": RatepayDetails, "Recurring": Recurring, "RecurringDetail": RecurringDetail, @@ -631,7 +643,6 @@ let typeMap: {[index: string]: any} = { "ResponseAdditionalDataInstallments": ResponseAdditionalDataInstallments, "ResponseAdditionalDataNetworkTokens": ResponseAdditionalDataNetworkTokens, "ResponseAdditionalDataOpi": ResponseAdditionalDataOpi, - "ResponseAdditionalDataPayPal": ResponseAdditionalDataPayPal, "ResponseAdditionalDataSepa": ResponseAdditionalDataSepa, "RiskData": RiskData, "SDKEphemPubKey": SDKEphemPubKey, @@ -651,6 +662,8 @@ let typeMap: {[index: string]: any} = { "ThreeDS2RequestData": ThreeDS2RequestData, "ThreeDS2ResponseData": ThreeDS2ResponseData, "ThreeDS2Result": ThreeDS2Result, + "ThreeDSRequestorAuthenticationInfo": ThreeDSRequestorAuthenticationInfo, + "ThreeDSRequestorPriorAuthenticationInfo": ThreeDSRequestorPriorAuthenticationInfo, "ThreeDSecureData": ThreeDSecureData, "UpdatePaymentLinkRequest": UpdatePaymentLinkRequest, "UpiDetails": UpiDetails, diff --git a/src/typings/checkout/molPayDetails.ts b/src/typings/checkout/molPayDetails.ts index 893f9f7..418faf9 100644 --- a/src/typings/checkout/molPayDetails.ts +++ b/src/typings/checkout/molPayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class MolPayDetails { /** * The shopper\'s bank. Specify this with the issuer value that corresponds to this bank. diff --git a/src/typings/checkout/name.ts b/src/typings/checkout/name.ts index dfa3dc2..33300f9 100644 --- a/src/typings/checkout/name.ts +++ b/src/typings/checkout/name.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Name { /** * The first name. diff --git a/src/typings/checkout/openInvoiceDetails.ts b/src/typings/checkout/openInvoiceDetails.ts index fb4f7a0..7484906 100644 --- a/src/typings/checkout/openInvoiceDetails.ts +++ b/src/typings/checkout/openInvoiceDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class OpenInvoiceDetails { /** * The address where to send the invoice. diff --git a/src/typings/checkout/payPalDetails.ts b/src/typings/checkout/payPalDetails.ts index 5193429..9a1b6cb 100644 --- a/src/typings/checkout/payPalDetails.ts +++ b/src/typings/checkout/payPalDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class PayPalDetails { /** * The unique ID associated with the order. diff --git a/src/typings/checkout/payUUpiDetails.ts b/src/typings/checkout/payUUpiDetails.ts index fa0bb5e..0088465 100644 --- a/src/typings/checkout/payUUpiDetails.ts +++ b/src/typings/checkout/payUUpiDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class PayUUpiDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. diff --git a/src/typings/checkout/payWithGoogleDetails.ts b/src/typings/checkout/payWithGoogleDetails.ts index 71ed9d2..eb12183 100644 --- a/src/typings/checkout/payWithGoogleDetails.ts +++ b/src/typings/checkout/payWithGoogleDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class PayWithGoogleDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/paymentAmountUpdateResource.ts b/src/typings/checkout/paymentAmountUpdateResource.ts index 8bd4840..46c7eff 100644 --- a/src/typings/checkout/paymentAmountUpdateResource.ts +++ b/src/typings/checkout/paymentAmountUpdateResource.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { Split } from './split'; diff --git a/src/typings/checkout/paymentCancelResource.ts b/src/typings/checkout/paymentCancelResource.ts index f4d76b6..01ebb3a 100644 --- a/src/typings/checkout/paymentCancelResource.ts +++ b/src/typings/checkout/paymentCancelResource.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class PaymentCancelResource { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/paymentCaptureResource.ts b/src/typings/checkout/paymentCaptureResource.ts index ea5c893..0ca3959 100644 --- a/src/typings/checkout/paymentCaptureResource.ts +++ b/src/typings/checkout/paymentCaptureResource.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { Split } from './split'; diff --git a/src/typings/checkout/paymentCompletionDetails.ts b/src/typings/checkout/paymentCompletionDetails.ts index ee012d5..b9b011c 100644 --- a/src/typings/checkout/paymentCompletionDetails.ts +++ b/src/typings/checkout/paymentCompletionDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class PaymentCompletionDetails { /** * A payment session identifier returned by the card issuer. diff --git a/src/typings/checkout/paymentDetails.ts b/src/typings/checkout/paymentDetails.ts index dea21f1..ae94a3b 100644 --- a/src/typings/checkout/paymentDetails.ts +++ b/src/typings/checkout/paymentDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class PaymentDetails { /** * The payment method type. diff --git a/src/typings/checkout/paymentDetailsResponse.ts b/src/typings/checkout/paymentDetailsResponse.ts index b3e5fd7..4cae47d 100644 --- a/src/typings/checkout/paymentDetailsResponse.ts +++ b/src/typings/checkout/paymentDetailsResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { CheckoutOrderResponse } from './checkoutOrderResponse'; import { FraudResult } from './fraudResult'; diff --git a/src/typings/checkout/paymentDonationRequest.ts b/src/typings/checkout/paymentDonationRequest.ts new file mode 100644 index 0000000..b2c269a --- /dev/null +++ b/src/typings/checkout/paymentDonationRequest.ts @@ -0,0 +1,632 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * + * The version of the OpenAPI document: 68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { AccountInfo } from './accountInfo'; +import { AchDetails } from './achDetails'; +import { Address } from './address'; +import { AfterpayDetails } from './afterpayDetails'; +import { AmazonPayDetails } from './amazonPayDetails'; +import { Amount } from './amount'; +import { AndroidPayDetails } from './androidPayDetails'; +import { ApplePayDetails } from './applePayDetails'; +import { ApplicationInfo } from './applicationInfo'; +import { BacsDirectDebitDetails } from './bacsDirectDebitDetails'; +import { BillDeskDetails } from './billDeskDetails'; +import { BlikDetails } from './blikDetails'; +import { BrowserInfo } from './browserInfo'; +import { CardDetails } from './cardDetails'; +import { CellulantDetails } from './cellulantDetails'; +import { CheckoutOrder } from './checkoutOrder'; +import { Company } from './company'; +import { DokuDetails } from './dokuDetails'; +import { DotpayDetails } from './dotpayDetails'; +import { DragonpayDetails } from './dragonpayDetails'; +import { EcontextVoucherDetails } from './econtextVoucherDetails'; +import { ForexQuote } from './forexQuote'; +import { GenericIssuerPaymentMethodDetails } from './genericIssuerPaymentMethodDetails'; +import { GiropayDetails } from './giropayDetails'; +import { GooglePayDetails } from './googlePayDetails'; +import { IdealDetails } from './idealDetails'; +import { Installments } from './installments'; +import { KlarnaDetails } from './klarnaDetails'; +import { LianLianPayDetails } from './lianLianPayDetails'; +import { LineItem } from './lineItem'; +import { Mandate } from './mandate'; +import { MasterpassDetails } from './masterpassDetails'; +import { MbwayDetails } from './mbwayDetails'; +import { MerchantRiskIndicator } from './merchantRiskIndicator'; +import { MobilePayDetails } from './mobilePayDetails'; +import { MolPayDetails } from './molPayDetails'; +import { Name } from './name'; +import { OpenInvoiceDetails } from './openInvoiceDetails'; +import { PayPalDetails } from './payPalDetails'; +import { PayUUpiDetails } from './payUUpiDetails'; +import { PayWithGoogleDetails } from './payWithGoogleDetails'; +import { PaymentDetails } from './paymentDetails'; +import { RatepayDetails } from './ratepayDetails'; +import { RiskData } from './riskData'; +import { SamsungPayDetails } from './samsungPayDetails'; +import { SepaDirectDebitDetails } from './sepaDirectDebitDetails'; +import { Split } from './split'; +import { StoredPaymentMethodDetails } from './storedPaymentMethodDetails'; +import { ThreeDS2RequestData } from './threeDS2RequestData'; +import { ThreeDSecureData } from './threeDSecureData'; +import { UpiDetails } from './upiDetails'; +import { VippsDetails } from './vippsDetails'; +import { VisaCheckoutDetails } from './visaCheckoutDetails'; +import { WeChatPayDetails } from './weChatPayDetails'; +import { WeChatPayMiniProgramDetails } from './weChatPayMiniProgramDetails'; +import { ZipDetails } from './zipDetails'; + +export class PaymentDonationRequest { + 'accountInfo'?: AccountInfo; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. + */ + 'additionalData'?: { [key: string]: string; }; + 'amount': Amount; + 'applicationInfo'?: ApplicationInfo; + 'billingAddress'?: Address; + 'browserInfo'?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + 'captureDelayHours'?: number; + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + */ + 'channel'?: PaymentDonationRequest.ChannelEnum; + /** + * Checkout attempt ID that corresponds to the Id generated for tracking user payment journey. + */ + 'checkoutAttemptId'?: string; + 'company'?: Company; + /** + * Conversion ID that corresponds to the Id generated for tracking user payment journey. + */ + 'conversionId'?: string; + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + */ + 'countryCode'?: string; + /** + * The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + 'dateOfBirth'?: Date; + 'dccQuote'?: ForexQuote; + 'deliveryAddress'?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + 'deliveryDate'?: Date; + /** + * A string containing the shopper\'s device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + 'deviceFingerprint'?: string; + /** + * Donation account to which the transaction is credited. + */ + 'donationAccount': string; + /** + * PSP reference of the transaction from which the donation token is generated. + */ + 'donationOriginalPspReference'?: string; + /** + * Donation token received in the `/payments` call. + */ + 'donationToken'?: string; + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + */ + 'enableOneClick'?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + */ + 'enablePayOut'?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + */ + 'enableRecurring'?: boolean; + /** + * The type of the entity the payment is processed for. + */ + 'entityType'?: PaymentDonationRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + 'fraudOffset'?: number; + 'installments'?: Installments; + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + */ + 'lineItems'?: Array; + 'mandate'?: Mandate; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + 'mcc'?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + 'merchantAccount': string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + 'merchantOrderReference'?: string; + 'merchantRiskIndicator'?: MerchantRiskIndicator; + /** + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. + */ + 'metadata'?: { [key: string]: string; }; + 'mpiData'?: ThreeDSecureData; + 'order'?: CheckoutOrder; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + 'orderReference'?: string; + /** + * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + */ + 'origin'?: string; + /** + * The type and required details of a payment method to use. + */ + 'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails; + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + */ + 'recurringExpiry'?: string; + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + */ + 'recurringFrequency'?: string; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder\'s balance drops below a certain amount. + */ + 'recurringProcessingModel'?: PaymentDonationRequest.RecurringProcessingModelEnum; + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + */ + 'redirectFromIssuerMethod'?: string; + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + */ + 'redirectToIssuerMethod'?: string; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + 'reference': string; + /** + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` + */ + 'returnUrl': string; + 'riskData'?: RiskData; + /** + * The date and time until when the session remains valid, in [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format. For example: 2020-07-18T15:42:40.428+01:00 + */ + 'sessionValidity'?: string; + /** + * The shopper\'s email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + */ + 'shopperEmail'?: string; + /** + * The shopper\'s IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + 'shopperIP'?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + 'shopperInteraction'?: PaymentDonationRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + 'shopperLocale'?: string; + 'shopperName'?: Name; + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + */ + 'shopperReference'?: string; + /** + * The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. + */ + 'shopperStatement'?: string; + /** + * The shopper\'s social security number. + */ + 'socialSecurityNumber'?: string; + /** + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + */ + 'splits'?: Array; + /** + * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. + */ + 'store'?: string; + /** + * When true and `shopperReference` is provided, the payment details will be stored. + */ + 'storePaymentMethod'?: boolean; + /** + * The shopper\'s telephone number. + */ + 'telephoneNumber'?: string; + 'threeDS2RequestData'?: ThreeDS2RequestData; + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + */ + 'threeDSAuthenticationOnly'?: boolean; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + 'trustedShopper'?: boolean; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "accountInfo", + "baseName": "accountInfo", + "type": "AccountInfo" + }, + { + "name": "additionalData", + "baseName": "additionalData", + "type": "{ [key: string]: string; }" + }, + { + "name": "amount", + "baseName": "amount", + "type": "Amount" + }, + { + "name": "applicationInfo", + "baseName": "applicationInfo", + "type": "ApplicationInfo" + }, + { + "name": "billingAddress", + "baseName": "billingAddress", + "type": "Address" + }, + { + "name": "browserInfo", + "baseName": "browserInfo", + "type": "BrowserInfo" + }, + { + "name": "captureDelayHours", + "baseName": "captureDelayHours", + "type": "number" + }, + { + "name": "channel", + "baseName": "channel", + "type": "PaymentDonationRequest.ChannelEnum" + }, + { + "name": "checkoutAttemptId", + "baseName": "checkoutAttemptId", + "type": "string" + }, + { + "name": "company", + "baseName": "company", + "type": "Company" + }, + { + "name": "conversionId", + "baseName": "conversionId", + "type": "string" + }, + { + "name": "countryCode", + "baseName": "countryCode", + "type": "string" + }, + { + "name": "dateOfBirth", + "baseName": "dateOfBirth", + "type": "Date" + }, + { + "name": "dccQuote", + "baseName": "dccQuote", + "type": "ForexQuote" + }, + { + "name": "deliveryAddress", + "baseName": "deliveryAddress", + "type": "Address" + }, + { + "name": "deliveryDate", + "baseName": "deliveryDate", + "type": "Date" + }, + { + "name": "deviceFingerprint", + "baseName": "deviceFingerprint", + "type": "string" + }, + { + "name": "donationAccount", + "baseName": "donationAccount", + "type": "string" + }, + { + "name": "donationOriginalPspReference", + "baseName": "donationOriginalPspReference", + "type": "string" + }, + { + "name": "donationToken", + "baseName": "donationToken", + "type": "string" + }, + { + "name": "enableOneClick", + "baseName": "enableOneClick", + "type": "boolean" + }, + { + "name": "enablePayOut", + "baseName": "enablePayOut", + "type": "boolean" + }, + { + "name": "enableRecurring", + "baseName": "enableRecurring", + "type": "boolean" + }, + { + "name": "entityType", + "baseName": "entityType", + "type": "PaymentDonationRequest.EntityTypeEnum" + }, + { + "name": "fraudOffset", + "baseName": "fraudOffset", + "type": "number" + }, + { + "name": "installments", + "baseName": "installments", + "type": "Installments" + }, + { + "name": "lineItems", + "baseName": "lineItems", + "type": "Array" + }, + { + "name": "mandate", + "baseName": "mandate", + "type": "Mandate" + }, + { + "name": "mcc", + "baseName": "mcc", + "type": "string" + }, + { + "name": "merchantAccount", + "baseName": "merchantAccount", + "type": "string" + }, + { + "name": "merchantOrderReference", + "baseName": "merchantOrderReference", + "type": "string" + }, + { + "name": "merchantRiskIndicator", + "baseName": "merchantRiskIndicator", + "type": "MerchantRiskIndicator" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }" + }, + { + "name": "mpiData", + "baseName": "mpiData", + "type": "ThreeDSecureData" + }, + { + "name": "order", + "baseName": "order", + "type": "CheckoutOrder" + }, + { + "name": "orderReference", + "baseName": "orderReference", + "type": "string" + }, + { + "name": "origin", + "baseName": "origin", + "type": "string" + }, + { + "name": "paymentMethod", + "baseName": "paymentMethod", + "type": "AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails" + }, + { + "name": "recurringExpiry", + "baseName": "recurringExpiry", + "type": "string" + }, + { + "name": "recurringFrequency", + "baseName": "recurringFrequency", + "type": "string" + }, + { + "name": "recurringProcessingModel", + "baseName": "recurringProcessingModel", + "type": "PaymentDonationRequest.RecurringProcessingModelEnum" + }, + { + "name": "redirectFromIssuerMethod", + "baseName": "redirectFromIssuerMethod", + "type": "string" + }, + { + "name": "redirectToIssuerMethod", + "baseName": "redirectToIssuerMethod", + "type": "string" + }, + { + "name": "reference", + "baseName": "reference", + "type": "string" + }, + { + "name": "returnUrl", + "baseName": "returnUrl", + "type": "string" + }, + { + "name": "riskData", + "baseName": "riskData", + "type": "RiskData" + }, + { + "name": "sessionValidity", + "baseName": "sessionValidity", + "type": "string" + }, + { + "name": "shopperEmail", + "baseName": "shopperEmail", + "type": "string" + }, + { + "name": "shopperIP", + "baseName": "shopperIP", + "type": "string" + }, + { + "name": "shopperInteraction", + "baseName": "shopperInteraction", + "type": "PaymentDonationRequest.ShopperInteractionEnum" + }, + { + "name": "shopperLocale", + "baseName": "shopperLocale", + "type": "string" + }, + { + "name": "shopperName", + "baseName": "shopperName", + "type": "Name" + }, + { + "name": "shopperReference", + "baseName": "shopperReference", + "type": "string" + }, + { + "name": "shopperStatement", + "baseName": "shopperStatement", + "type": "string" + }, + { + "name": "socialSecurityNumber", + "baseName": "socialSecurityNumber", + "type": "string" + }, + { + "name": "splits", + "baseName": "splits", + "type": "Array" + }, + { + "name": "store", + "baseName": "store", + "type": "string" + }, + { + "name": "storePaymentMethod", + "baseName": "storePaymentMethod", + "type": "boolean" + }, + { + "name": "telephoneNumber", + "baseName": "telephoneNumber", + "type": "string" + }, + { + "name": "threeDS2RequestData", + "baseName": "threeDS2RequestData", + "type": "ThreeDS2RequestData" + }, + { + "name": "threeDSAuthenticationOnly", + "baseName": "threeDSAuthenticationOnly", + "type": "boolean" + }, + { + "name": "trustedShopper", + "baseName": "trustedShopper", + "type": "boolean" + } ]; + + static getAttributeTypeMap() { + return PaymentDonationRequest.attributeTypeMap; + } +} + +export namespace PaymentDonationRequest { + export enum ChannelEnum { + IOs = 'iOS', + Android = 'Android', + Web = 'Web' + } + export enum EntityTypeEnum { + NaturalPerson = 'NaturalPerson', + CompanyName = 'CompanyName' + } + export enum RecurringProcessingModelEnum { + CardOnFile = 'CardOnFile', + Subscription = 'Subscription', + UnscheduledCardOnFile = 'UnscheduledCardOnFile' + } + export enum ShopperInteractionEnum { + Ecommerce = 'Ecommerce', + ContAuth = 'ContAuth', + Moto = 'Moto', + Pos = 'POS' + } +} diff --git a/src/typings/checkout/paymentLinkResource.ts b/src/typings/checkout/paymentLinkResource.ts index cce7bdd..5fcb7f5 100644 --- a/src/typings/checkout/paymentLinkResource.ts +++ b/src/typings/checkout/paymentLinkResource.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; @@ -71,7 +72,7 @@ export class PaymentLinkResource { */ 'id': string; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such AfterPay, Klarna, RatePay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip. */ 'lineItems'?: Array; /** @@ -83,6 +84,10 @@ export class PaymentLinkResource { */ 'merchantOrderReference'?: string; /** + * Metadata settings to apply to the payment. + */ + 'metadata'?: { [key: string]: string; }; + /** * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder\'s balance drops below a certain amount. */ 'recurringProcessingModel'?: PaymentLinkResource.RecurringProcessingModelEnum; @@ -117,7 +122,7 @@ export class PaymentLinkResource { */ 'splits'?: Array; /** - * Status of the payment link. Possible values: * **active** * **expired** * **completed** (v66 and above) * **paid** (v65 and below) + * Status of the payment link. Possible values: * **active** * **expired** * **paymentPending** (v68 and above) * **completed** (v66 and above) * **paid** (v65 and below) */ 'status': PaymentLinkResource.StatusEnum; /** @@ -125,9 +130,17 @@ export class PaymentLinkResource { */ 'store'?: string; /** - * When this is set to **true** and the `shopperReference` is provided, the payment details will be stored. + * Indicates if the details of the payment method will be stored for the shopper. Possible values:* **disabled** – No details will be stored.* **askForConsent** – If the `shopperReference` is provided the shopper can decide whether or not the details will be stored.* **enabled** – If the `shopperReference` is provided the details will be stored without asking consent to the shopper. */ - 'storePaymentMethod'?: boolean; + 'storePaymentMethodMode'?: PaymentLinkResource.StorePaymentMethodModeEnum; + /** + * The shopper\'s telephone number. + */ + 'telephoneNumber'?: string; + /** + * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/api#themes) to customize the appearance of the payment page.If not specified, the payment page is rendered according to the theme set as default in your Customer Area. + */ + 'themeId'?: string; /** * The URL at which the shopper can complete the payment. */ @@ -206,6 +219,11 @@ export class PaymentLinkResource { "baseName": "merchantOrderReference", "type": "string" }, + { + "name": "metadata", + "baseName": "metadata", + "type": "{ [key: string]: string; }" + }, { "name": "recurringProcessingModel", "baseName": "recurringProcessingModel", @@ -267,9 +285,19 @@ export class PaymentLinkResource { "type": "string" }, { - "name": "storePaymentMethod", - "baseName": "storePaymentMethod", - "type": "boolean" + "name": "storePaymentMethodMode", + "baseName": "storePaymentMethodMode", + "type": "PaymentLinkResource.StorePaymentMethodModeEnum" + }, + { + "name": "telephoneNumber", + "baseName": "telephoneNumber", + "type": "string" + }, + { + "name": "themeId", + "baseName": "themeId", + "type": "string" }, { "name": "url", @@ -294,4 +322,9 @@ export namespace PaymentLinkResource { Expired = 'expired', PaymentPending = 'paymentPending' } + export enum StorePaymentMethodModeEnum { + AskForConsent = 'askForConsent', + Disabled = 'disabled', + Enabled = 'enabled' + } } diff --git a/src/typings/checkout/paymentMethod.ts b/src/typings/checkout/paymentMethod.ts index 134b6f9..1542e85 100644 --- a/src/typings/checkout/paymentMethod.ts +++ b/src/typings/checkout/paymentMethod.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,8 +29,10 @@ * Do not edit the class manually. */ + import { InputDetail } from './inputDetail'; import { PaymentMethodGroup } from './paymentMethodGroup'; +import { PaymentMethodIssuer } from './paymentMethodIssuer'; export class PaymentMethod { /** @@ -46,10 +48,6 @@ export class PaymentMethod { */ 'configuration'?: { [key: string]: string; }; /** - * All input details to be provided to complete the payment with this payment method. - */ - 'details'?: Array; - /** * The funding source of the payment method. */ 'fundingSource'?: PaymentMethod.FundingSourceEnum; @@ -59,6 +57,10 @@ export class PaymentMethod { */ 'inputDetails'?: Array; /** + * A list of issuers for this payment method. + */ + 'issuers'?: Array; + /** * The displayable name of this payment method. */ 'name'?: string; @@ -85,11 +87,6 @@ export class PaymentMethod { "baseName": "configuration", "type": "{ [key: string]: string; }" }, - { - "name": "details", - "baseName": "details", - "type": "Array" - }, { "name": "fundingSource", "baseName": "fundingSource", @@ -105,6 +102,11 @@ export class PaymentMethod { "baseName": "inputDetails", "type": "Array" }, + { + "name": "issuers", + "baseName": "issuers", + "type": "Array" + }, { "name": "name", "baseName": "name", diff --git a/src/typings/checkout/paymentMethodGroup.ts b/src/typings/checkout/paymentMethodGroup.ts index fc3a072..c8ecc93 100644 --- a/src/typings/checkout/paymentMethodGroup.ts +++ b/src/typings/checkout/paymentMethodGroup.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class PaymentMethodGroup { /** * The name of the group. diff --git a/src/typings/checkout/paymentMethodIssuer.ts b/src/typings/checkout/paymentMethodIssuer.ts new file mode 100644 index 0000000..8fd67bf --- /dev/null +++ b/src/typings/checkout/paymentMethodIssuer.ts @@ -0,0 +1,71 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * + * The version of the OpenAPI document: 68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +export class PaymentMethodIssuer { + /** + * A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline. + */ + 'disabled'?: boolean; + /** + * The unique identifier of this issuer, to submit in requests to /payments. + */ + 'id': string; + /** + * A localized name of the issuer. + */ + 'name': string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "disabled", + "baseName": "disabled", + "type": "boolean" + }, + { + "name": "id", + "baseName": "id", + "type": "string" + }, + { + "name": "name", + "baseName": "name", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return PaymentMethodIssuer.attributeTypeMap; + } +} + diff --git a/src/typings/checkout/paymentMethodsRequest.ts b/src/typings/checkout/paymentMethodsRequest.ts index 786f1d4..5b0ee95 100644 --- a/src/typings/checkout/paymentMethodsRequest.ts +++ b/src/typings/checkout/paymentMethodsRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { CheckoutOrder } from './checkoutOrder'; @@ -64,7 +65,7 @@ export class PaymentMethodsRequest { */ 'shopperLocale'?: string; /** - * Your reference to uniquely identify this shopper (for example, user ID or account ID). Minimum length: 3 characters. > This field is required for recurring payments. + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. */ 'shopperReference'?: string; /** diff --git a/src/typings/checkout/paymentMethodsResponse.ts b/src/typings/checkout/paymentMethodsResponse.ts index 2bca833..fadc602 100644 --- a/src/typings/checkout/paymentMethodsResponse.ts +++ b/src/typings/checkout/paymentMethodsResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { PaymentMethod } from './paymentMethod'; import { StoredPaymentMethod } from './storedPaymentMethod'; diff --git a/src/typings/checkout/paymentRefundResource.ts b/src/typings/checkout/paymentRefundResource.ts index f814646..3f3a719 100644 --- a/src/typings/checkout/paymentRefundResource.ts +++ b/src/typings/checkout/paymentRefundResource.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { Split } from './split'; diff --git a/src/typings/checkout/paymentRequest.ts b/src/typings/checkout/paymentRequest.ts index e0cab61..79952ac 100644 --- a/src/typings/checkout/paymentRequest.ts +++ b/src/typings/checkout/paymentRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { AccountInfo } from './accountInfo'; import { AchDetails } from './achDetails'; import { Address } from './address'; @@ -50,7 +51,6 @@ import { DokuDetails } from './dokuDetails'; import { DotpayDetails } from './dotpayDetails'; import { DragonpayDetails } from './dragonpayDetails'; import { EcontextVoucherDetails } from './econtextVoucherDetails'; -import { EntercashDetails } from './entercashDetails'; import { ForexQuote } from './forexQuote'; import { GenericIssuerPaymentMethodDetails } from './genericIssuerPaymentMethodDetails'; import { GiropayDetails } from './giropayDetails'; @@ -72,7 +72,6 @@ import { PayPalDetails } from './payPalDetails'; import { PayUUpiDetails } from './payUUpiDetails'; import { PayWithGoogleDetails } from './payWithGoogleDetails'; import { PaymentDetails } from './paymentDetails'; -import { QiwiWalletDetails } from './qiwiWalletDetails'; import { RatepayDetails } from './ratepayDetails'; import { RiskData } from './riskData'; import { SamsungPayDetails } from './samsungPayDetails'; @@ -106,6 +105,10 @@ export class PaymentRequest { * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web */ 'channel'?: PaymentRequest.ChannelEnum; + /** + * Checkout attempt ID that corresponds to the Id generated for tracking user payment journey. + */ + 'checkoutAttemptId'?: string; 'company'?: Company; /** * Conversion ID that corresponds to the Id generated for tracking user payment journey. @@ -151,7 +154,7 @@ export class PaymentRequest { 'fraudOffset'?: number; 'installments'?: Installments; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, AfterPay, Klarna, RatePay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. */ 'lineItems'?: Array; 'mandate'?: Mandate; @@ -185,7 +188,7 @@ export class PaymentRequest { /** * The type and required details of a payment method to use. */ - 'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | EntercashDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | QiwiWalletDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails; + 'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails; /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. */ @@ -237,7 +240,7 @@ export class PaymentRequest { 'shopperLocale'?: string; 'shopperName'?: Name; /** - * Your reference to uniquely identify this shopper (for example, user ID or account ID). Minimum length: 3 characters. > This field is required for recurring payments. + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. */ 'shopperReference'?: string; /** @@ -317,6 +320,11 @@ export class PaymentRequest { "baseName": "channel", "type": "PaymentRequest.ChannelEnum" }, + { + "name": "checkoutAttemptId", + "baseName": "checkoutAttemptId", + "type": "string" + }, { "name": "company", "baseName": "company", @@ -445,7 +453,7 @@ export class PaymentRequest { { "name": "paymentMethod", "baseName": "paymentMethod", - "type": "AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | EntercashDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | QiwiWalletDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails" + "type": "AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails" }, { "name": "recurringExpiry", diff --git a/src/typings/checkout/paymentResponse.ts b/src/typings/checkout/paymentResponse.ts index 7eca9a2..e10f2a9 100644 --- a/src/typings/checkout/paymentResponse.ts +++ b/src/typings/checkout/paymentResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Amount } from './amount'; import { CheckoutAwaitAction } from './checkoutAwaitAction'; import { CheckoutBankTransferAction } from './checkoutBankTransferAction'; diff --git a/src/typings/checkout/paymentReversalResource.ts b/src/typings/checkout/paymentReversalResource.ts index aad50af..8ca2be9 100644 --- a/src/typings/checkout/paymentReversalResource.ts +++ b/src/typings/checkout/paymentReversalResource.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class PaymentReversalResource { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/paymentSetupRequest.ts b/src/typings/checkout/paymentSetupRequest.ts index 09ec251..236d27c 100644 --- a/src/typings/checkout/paymentSetupRequest.ts +++ b/src/typings/checkout/paymentSetupRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; @@ -66,6 +67,10 @@ export class PaymentSetupRequest { * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web */ 'channel'?: PaymentSetupRequest.ChannelEnum; + /** + * Checkout attempt ID that corresponds to the Id generated for tracking user payment journey. + */ + 'checkoutAttemptId'?: string; 'company'?: Company; 'configuration'?: Configuration; /** @@ -108,7 +113,7 @@ export class PaymentSetupRequest { 'fraudOffset'?: number; 'installments'?: Installments; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, AfterPay, Klarna, RatePay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. */ 'lineItems'?: Array; 'mandate'?: Mandate; @@ -179,7 +184,7 @@ export class PaymentSetupRequest { 'shopperLocale'?: string; 'shopperName'?: Name; /** - * Your reference to uniquely identify this shopper (for example, user ID or account ID). Minimum length: 3 characters. > This field is required for recurring payments. + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. */ 'shopperReference'?: string; /** @@ -262,6 +267,11 @@ export class PaymentSetupRequest { "baseName": "channel", "type": "PaymentSetupRequest.ChannelEnum" }, + { + "name": "checkoutAttemptId", + "baseName": "checkoutAttemptId", + "type": "string" + }, { "name": "company", "baseName": "company", diff --git a/src/typings/checkout/paymentSetupResponse.ts b/src/typings/checkout/paymentSetupResponse.ts index 6e3b14b..4323e3b 100644 --- a/src/typings/checkout/paymentSetupResponse.ts +++ b/src/typings/checkout/paymentSetupResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { RecurringDetail } from './recurringDetail'; export class PaymentSetupResponse { diff --git a/src/typings/checkout/paymentVerificationRequest.ts b/src/typings/checkout/paymentVerificationRequest.ts index f002170..fb38722 100644 --- a/src/typings/checkout/paymentVerificationRequest.ts +++ b/src/typings/checkout/paymentVerificationRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class PaymentVerificationRequest { /** * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. diff --git a/src/typings/checkout/paymentVerificationResponse.ts b/src/typings/checkout/paymentVerificationResponse.ts index 7e74ac5..5a392b0 100644 --- a/src/typings/checkout/paymentVerificationResponse.ts +++ b/src/typings/checkout/paymentVerificationResponse.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { CheckoutOrderResponse } from './checkoutOrderResponse'; import { FraudResult } from './fraudResult'; import { ServiceError2 } from './serviceError2'; diff --git a/src/typings/checkout/phone.ts b/src/typings/checkout/phone.ts new file mode 100644 index 0000000..36ab29d --- /dev/null +++ b/src/typings/checkout/phone.ts @@ -0,0 +1,56 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * + * The version of the OpenAPI document: 68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +export class Phone { + 'cc'?: string; + 'subscriber'?: string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "cc", + "baseName": "cc", + "type": "string" + }, + { + "name": "subscriber", + "baseName": "subscriber", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return Phone.attributeTypeMap; + } +} + diff --git a/src/typings/checkout/ratepayDetails.ts b/src/typings/checkout/ratepayDetails.ts index c16bef8..ae94c67 100644 --- a/src/typings/checkout/ratepayDetails.ts +++ b/src/typings/checkout/ratepayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class RatepayDetails { /** * The address where to send the invoice. diff --git a/src/typings/checkout/recurring.ts b/src/typings/checkout/recurring.ts index 8e8913d..b3bce05 100644 --- a/src/typings/checkout/recurring.ts +++ b/src/typings/checkout/recurring.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Recurring { /** * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). diff --git a/src/typings/checkout/recurringDetail.ts b/src/typings/checkout/recurringDetail.ts index f82aa86..d989b8c 100644 --- a/src/typings/checkout/recurringDetail.ts +++ b/src/typings/checkout/recurringDetail.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,8 +29,10 @@ * Do not edit the class manually. */ + import { InputDetail } from './inputDetail'; import { PaymentMethodGroup } from './paymentMethodGroup'; +import { PaymentMethodIssuer } from './paymentMethodIssuer'; import { StoredDetails } from './storedDetails'; export class RecurringDetail { @@ -47,10 +49,6 @@ export class RecurringDetail { */ 'configuration'?: { [key: string]: string; }; /** - * All input details to be provided to complete the payment with this payment method. - */ - 'details'?: Array; - /** * The funding source of the payment method. */ 'fundingSource'?: RecurringDetail.FundingSourceEnum; @@ -60,6 +58,10 @@ export class RecurringDetail { */ 'inputDetails'?: Array; /** + * A list of issuers for this payment method. + */ + 'issuers'?: Array; + /** * The displayable name of this payment method. */ 'name'?: string; @@ -91,11 +93,6 @@ export class RecurringDetail { "baseName": "configuration", "type": "{ [key: string]: string; }" }, - { - "name": "details", - "baseName": "details", - "type": "Array" - }, { "name": "fundingSource", "baseName": "fundingSource", @@ -111,6 +108,11 @@ export class RecurringDetail { "baseName": "inputDetails", "type": "Array" }, + { + "name": "issuers", + "baseName": "issuers", + "type": "Array" + }, { "name": "name", "baseName": "name", diff --git a/src/typings/checkout/redirect.ts b/src/typings/checkout/redirect.ts index ee2de13..abac106 100644 --- a/src/typings/checkout/redirect.ts +++ b/src/typings/checkout/redirect.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class Redirect { /** * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. diff --git a/src/typings/checkout/responseAdditionalData3DSecure.ts b/src/typings/checkout/responseAdditionalData3DSecure.ts index 678ff94..4b08d1c 100644 --- a/src/typings/checkout/responseAdditionalData3DSecure.ts +++ b/src/typings/checkout/responseAdditionalData3DSecure.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ResponseAdditionalData3DSecure { /** * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. @@ -46,6 +48,10 @@ export class ResponseAdditionalData3DSecure { * Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis** */ 'scaExemptionRequested'?: string; + /** + * Indicates whether a card is enrolled for 3D Secure 2. + */ + 'threeds2_cardEnrolled'?: boolean; static discriminator: string | undefined = undefined; @@ -69,6 +75,11 @@ export class ResponseAdditionalData3DSecure { "name": "scaExemptionRequested", "baseName": "scaExemptionRequested", "type": "string" + }, + { + "name": "threeds2_cardEnrolled", + "baseName": "threeds2.cardEnrolled", + "type": "boolean" } ]; static getAttributeTypeMap() { diff --git a/src/typings/checkout/responseAdditionalDataBillingAddress.ts b/src/typings/checkout/responseAdditionalDataBillingAddress.ts index f37151d..ffd0b27 100644 --- a/src/typings/checkout/responseAdditionalDataBillingAddress.ts +++ b/src/typings/checkout/responseAdditionalDataBillingAddress.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ResponseAdditionalDataBillingAddress { /** * The billing address city passed in the payment request. diff --git a/src/typings/checkout/responseAdditionalDataCard.ts b/src/typings/checkout/responseAdditionalDataCard.ts index 7c42fdb..0655335 100644 --- a/src/typings/checkout/responseAdditionalDataCard.ts +++ b/src/typings/checkout/responseAdditionalDataCard.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ResponseAdditionalDataCard { /** * The Bank Identification Number of a credit card, which is the first six digits of a card number. Example: 521234 diff --git a/src/typings/checkout/responseAdditionalDataCommon.ts b/src/typings/checkout/responseAdditionalDataCommon.ts index 6e3ead6..c03b5b4 100644 --- a/src/typings/checkout/responseAdditionalDataCommon.ts +++ b/src/typings/checkout/responseAdditionalDataCommon.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ResponseAdditionalDataCommon { /** * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. @@ -219,6 +221,14 @@ export class ResponseAdditionalDataCommon { */ 'refusalReasonRaw'?: string; /** + * The amount of the payment request. + */ + 'requestAmount'?: string; + /** + * The currency of the payment request. + */ + 'requestCurrencyCode'?: string; + /** * The shopper interaction type of the payment request. Example: Ecommerce */ 'shopperInteraction'?: string; @@ -497,6 +507,16 @@ export class ResponseAdditionalDataCommon { "baseName": "refusalReasonRaw", "type": "string" }, + { + "name": "requestAmount", + "baseName": "requestAmount", + "type": "string" + }, + { + "name": "requestCurrencyCode", + "baseName": "requestCurrencyCode", + "type": "string" + }, { "name": "shopperInteraction", "baseName": "shopperInteraction", diff --git a/src/typings/checkout/responseAdditionalDataDeliveryAddress.ts b/src/typings/checkout/responseAdditionalDataDeliveryAddress.ts index 8ac7302..785ada1 100644 --- a/src/typings/checkout/responseAdditionalDataDeliveryAddress.ts +++ b/src/typings/checkout/responseAdditionalDataDeliveryAddress.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ResponseAdditionalDataDeliveryAddress { /** * The delivery address city passed in the payment request. diff --git a/src/typings/checkout/responseAdditionalDataInstallments.ts b/src/typings/checkout/responseAdditionalDataInstallments.ts index e48ccbc..6b60b34 100644 --- a/src/typings/checkout/responseAdditionalDataInstallments.ts +++ b/src/typings/checkout/responseAdditionalDataInstallments.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ResponseAdditionalDataInstallments { /** * Type of installment. The value of `installmentType` should be **IssuerFinanced**. diff --git a/src/typings/checkout/responseAdditionalDataNetworkTokens.ts b/src/typings/checkout/responseAdditionalDataNetworkTokens.ts index 2c3426c..d1513df 100644 --- a/src/typings/checkout/responseAdditionalDataNetworkTokens.ts +++ b/src/typings/checkout/responseAdditionalDataNetworkTokens.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ResponseAdditionalDataNetworkTokens { /** * Indicates whether a network token is available for the specified card. diff --git a/src/typings/checkout/responseAdditionalDataOpi.ts b/src/typings/checkout/responseAdditionalDataOpi.ts index 5f56a19..5f8a170 100644 --- a/src/typings/checkout/responseAdditionalDataOpi.ts +++ b/src/typings/checkout/responseAdditionalDataOpi.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ResponseAdditionalDataOpi { /** * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). diff --git a/src/typings/checkout/responseAdditionalDataSepa.ts b/src/typings/checkout/responseAdditionalDataSepa.ts index 229d16f..dce2f26 100644 --- a/src/typings/checkout/responseAdditionalDataSepa.ts +++ b/src/typings/checkout/responseAdditionalDataSepa.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ResponseAdditionalDataSepa { /** * The transaction signature date. Format: yyyy-MM-dd diff --git a/src/typings/checkout/riskData.ts b/src/typings/checkout/riskData.ts index c3e4414..bccbf07 100644 --- a/src/typings/checkout/riskData.ts +++ b/src/typings/checkout/riskData.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class RiskData { /** * Contains client-side data, like the device fingerprint, cookies, and specific browser settings. diff --git a/src/typings/checkout/sDKEphemPubKey.ts b/src/typings/checkout/sDKEphemPubKey.ts index 9eb9d0e..54c1f3d 100644 --- a/src/typings/checkout/sDKEphemPubKey.ts +++ b/src/typings/checkout/sDKEphemPubKey.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class SDKEphemPubKey { /** * The `crv` value as received from the 3D Secure 2 SDK. diff --git a/src/typings/checkout/samsungPayDetails.ts b/src/typings/checkout/samsungPayDetails.ts index bd4582d..e071f22 100644 --- a/src/typings/checkout/samsungPayDetails.ts +++ b/src/typings/checkout/samsungPayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class SamsungPayDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/sepaDirectDebitDetails.ts b/src/typings/checkout/sepaDirectDebitDetails.ts index 722c890..a72233d 100644 --- a/src/typings/checkout/sepaDirectDebitDetails.ts +++ b/src/typings/checkout/sepaDirectDebitDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class SepaDirectDebitDetails { /** * The International Bank Account Number (IBAN). diff --git a/src/typings/checkout/serviceError.ts b/src/typings/checkout/serviceError.ts index a4f5038..fbdfda8 100644 --- a/src/typings/checkout/serviceError.ts +++ b/src/typings/checkout/serviceError.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ServiceError { /** * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs**. diff --git a/src/typings/checkout/serviceError2.ts b/src/typings/checkout/serviceError2.ts index a96b1b6..db4114b 100644 --- a/src/typings/checkout/serviceError2.ts +++ b/src/typings/checkout/serviceError2.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ServiceError2 { 'errorCode'?: string; 'errorType'?: string; diff --git a/src/typings/checkout/shopperInput.ts b/src/typings/checkout/shopperInput.ts index d947047..6d36b03 100644 --- a/src/typings/checkout/shopperInput.ts +++ b/src/typings/checkout/shopperInput.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ShopperInput { /** * Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly diff --git a/src/typings/checkout/shopperInteractionDevice.ts b/src/typings/checkout/shopperInteractionDevice.ts index dc1c40c..d3abde7 100644 --- a/src/typings/checkout/shopperInteractionDevice.ts +++ b/src/typings/checkout/shopperInteractionDevice.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ShopperInteractionDevice { /** * Locale on the shopper interaction device. diff --git a/src/typings/checkout/signaturescript.sh b/src/typings/checkout/signaturescript.sh new file mode 100755 index 0000000..90d0a5d --- /dev/null +++ b/src/typings/checkout/signaturescript.sh @@ -0,0 +1,24 @@ + #!/usr/bin/env bash + +shopt -s nullglob +for file in *.ts*; do + ex -sc '1i|/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + ' -cx "$file" +done \ No newline at end of file diff --git a/src/typings/checkout/split.ts b/src/typings/checkout/split.ts index 1042d76..cbe7adc 100644 --- a/src/typings/checkout/split.ts +++ b/src/typings/checkout/split.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { SplitAmount } from './splitAmount'; export class Split { diff --git a/src/typings/checkout/splitAmount.ts b/src/typings/checkout/splitAmount.ts index 9caccb3..dc5da1a 100644 --- a/src/typings/checkout/splitAmount.ts +++ b/src/typings/checkout/splitAmount.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class SplitAmount { /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). If this value is not provided, the currency in which the payment is made will be used. diff --git a/src/typings/checkout/standalonePaymentCancelResource.ts b/src/typings/checkout/standalonePaymentCancelResource.ts index 7975f8d..6d02db1 100644 --- a/src/typings/checkout/standalonePaymentCancelResource.ts +++ b/src/typings/checkout/standalonePaymentCancelResource.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class StandalonePaymentCancelResource { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/storedDetails.ts b/src/typings/checkout/storedDetails.ts index 505a38f..7253f73 100644 --- a/src/typings/checkout/storedDetails.ts +++ b/src/typings/checkout/storedDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { BankAccount } from './bankAccount'; import { Card } from './card'; diff --git a/src/typings/checkout/storedPaymentMethod.ts b/src/typings/checkout/storedPaymentMethod.ts index 9201ad0..a7b1227 100644 --- a/src/typings/checkout/storedPaymentMethod.ts +++ b/src/typings/checkout/storedPaymentMethod.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class StoredPaymentMethod { /** * The brand of the card. @@ -63,6 +65,10 @@ export class StoredPaymentMethod { */ 'name'?: string; /** + * Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID. + */ + 'networkTxReference'?: string; + /** * The name of the bank account holder. */ 'ownerName'?: string; @@ -122,6 +128,11 @@ export class StoredPaymentMethod { "baseName": "name", "type": "string" }, + { + "name": "networkTxReference", + "baseName": "networkTxReference", + "type": "string" + }, { "name": "ownerName", "baseName": "ownerName", diff --git a/src/typings/checkout/storedPaymentMethodDetails.ts b/src/typings/checkout/storedPaymentMethodDetails.ts index ff12c18..c45e1bd 100644 --- a/src/typings/checkout/storedPaymentMethodDetails.ts +++ b/src/typings/checkout/storedPaymentMethodDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class StoredPaymentMethodDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. diff --git a/src/typings/checkout/subInputDetail.ts b/src/typings/checkout/subInputDetail.ts index 7c7a575..dec4921 100644 --- a/src/typings/checkout/subInputDetail.ts +++ b/src/typings/checkout/subInputDetail.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,7 @@ * Do not edit the class manually. */ + import { Item } from './item'; export class SubInputDetail { diff --git a/src/typings/checkout/threeDS2RequestData.ts b/src/typings/checkout/threeDS2RequestData.ts index e4d1aee..bfd38a5 100644 --- a/src/typings/checkout/threeDS2RequestData.ts +++ b/src/typings/checkout/threeDS2RequestData.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,10 +29,20 @@ * Do not edit the class manually. */ + +import { AcctInfo } from './acctInfo'; import { DeviceRenderOptions } from './deviceRenderOptions'; +import { Phone } from './phone'; import { SDKEphemPubKey } from './sDKEphemPubKey'; +import { ThreeDSRequestorAuthenticationInfo } from './threeDSRequestorAuthenticationInfo'; +import { ThreeDSRequestorPriorAuthenticationInfo } from './threeDSRequestorPriorAuthenticationInfo'; export class ThreeDS2RequestData { + 'acctInfo'?: AcctInfo; + /** + * Indicates the type of account. For example, for a multi-account card product. + */ + 'acctType'?: string; /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. */ @@ -42,6 +52,10 @@ export class ThreeDS2RequestData { */ 'acquirerMerchantID'?: string; /** + * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. + */ + 'addrMatch'?: string; + /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. */ 'authenticationOnly'?: boolean; @@ -54,6 +68,7 @@ export class ThreeDS2RequestData { */ 'deviceChannel': string; 'deviceRenderOptions'?: DeviceRenderOptions; + 'homePhone'?: Phone; /** * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme. */ @@ -66,11 +81,32 @@ export class ThreeDS2RequestData { * The `messageVersion` value indicating the 3D Secure 2 protocol version. */ 'messageVersion'?: string; + 'mobilePhone'?: Phone; /** * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. */ 'notificationURL'?: string; /** + * A value of True indicates that the transaction was de-tokenised prior to being received by the ACS. + */ + 'payTokenInd'?: boolean; + /** + * Indicates the type of payment for which an authentication is requested (message extension) + */ + 'paymentAuthenticationUseCase'?: string; + /** + * Indicates the maximum number of authorisations permitted for instalment payments. + */ + 'purchaseInstalData'?: string; + /** + * Date after which no further authorisations shall be performed. + */ + 'recurringExpiry'?: string; + /** + * Indicates the minimum number of days between authorisations. + */ + 'recurringFrequency'?: string; + /** * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. */ 'sdkAppID'?: string; @@ -100,6 +136,15 @@ export class ThreeDS2RequestData { */ 'threeDSCompInd'?: string; /** + * Indicates the type of Authentication request. + */ + 'threeDSRequestorAuthenticationInd'?: string; + 'threeDSRequestorAuthenticationInfo'?: ThreeDSRequestorAuthenticationInfo; + /** + * Indicates whether a challenge is requested for this transaction. + */ + 'threeDSRequestorChallengeInd'?: string; + /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. */ 'threeDSRequestorID'?: string; @@ -107,11 +152,16 @@ export class ThreeDS2RequestData { * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. */ 'threeDSRequestorName'?: string; + 'threeDSRequestorPriorAuthenticationInfo'?: ThreeDSRequestorPriorAuthenticationInfo; /** * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. */ 'threeDSRequestorURL'?: string; /** + * Identifies the type of transaction being authenticated. + */ + 'transType'?: string; + /** * Identify the type of the transaction being authenticated. */ 'transactionType'?: ThreeDS2RequestData.TransactionTypeEnum; @@ -119,10 +169,21 @@ export class ThreeDS2RequestData { * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0. */ 'whiteListStatus'?: string; + 'workPhone'?: Phone; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "acctInfo", + "baseName": "acctInfo", + "type": "AcctInfo" + }, + { + "name": "acctType", + "baseName": "acctType", + "type": "string" + }, { "name": "acquirerBIN", "baseName": "acquirerBIN", @@ -133,6 +194,11 @@ export class ThreeDS2RequestData { "baseName": "acquirerMerchantID", "type": "string" }, + { + "name": "addrMatch", + "baseName": "addrMatch", + "type": "string" + }, { "name": "authenticationOnly", "baseName": "authenticationOnly", @@ -153,6 +219,11 @@ export class ThreeDS2RequestData { "baseName": "deviceRenderOptions", "type": "DeviceRenderOptions" }, + { + "name": "homePhone", + "baseName": "homePhone", + "type": "Phone" + }, { "name": "mcc", "baseName": "mcc", @@ -168,11 +239,41 @@ export class ThreeDS2RequestData { "baseName": "messageVersion", "type": "string" }, + { + "name": "mobilePhone", + "baseName": "mobilePhone", + "type": "Phone" + }, { "name": "notificationURL", "baseName": "notificationURL", "type": "string" }, + { + "name": "payTokenInd", + "baseName": "payTokenInd", + "type": "boolean" + }, + { + "name": "paymentAuthenticationUseCase", + "baseName": "paymentAuthenticationUseCase", + "type": "string" + }, + { + "name": "purchaseInstalData", + "baseName": "purchaseInstalData", + "type": "string" + }, + { + "name": "recurringExpiry", + "baseName": "recurringExpiry", + "type": "string" + }, + { + "name": "recurringFrequency", + "baseName": "recurringFrequency", + "type": "string" + }, { "name": "sdkAppID", "baseName": "sdkAppID", @@ -213,6 +314,21 @@ export class ThreeDS2RequestData { "baseName": "threeDSCompInd", "type": "string" }, + { + "name": "threeDSRequestorAuthenticationInd", + "baseName": "threeDSRequestorAuthenticationInd", + "type": "string" + }, + { + "name": "threeDSRequestorAuthenticationInfo", + "baseName": "threeDSRequestorAuthenticationInfo", + "type": "ThreeDSRequestorAuthenticationInfo" + }, + { + "name": "threeDSRequestorChallengeInd", + "baseName": "threeDSRequestorChallengeInd", + "type": "string" + }, { "name": "threeDSRequestorID", "baseName": "threeDSRequestorID", @@ -223,11 +339,21 @@ export class ThreeDS2RequestData { "baseName": "threeDSRequestorName", "type": "string" }, + { + "name": "threeDSRequestorPriorAuthenticationInfo", + "baseName": "threeDSRequestorPriorAuthenticationInfo", + "type": "ThreeDSRequestorPriorAuthenticationInfo" + }, { "name": "threeDSRequestorURL", "baseName": "threeDSRequestorURL", "type": "string" }, + { + "name": "transType", + "baseName": "transType", + "type": "string" + }, { "name": "transactionType", "baseName": "transactionType", @@ -237,6 +363,11 @@ export class ThreeDS2RequestData { "name": "whiteListStatus", "baseName": "whiteListStatus", "type": "string" + }, + { + "name": "workPhone", + "baseName": "workPhone", + "type": "Phone" } ]; static getAttributeTypeMap() { diff --git a/src/typings/checkout/threeDS2ResponseData.ts b/src/typings/checkout/threeDS2ResponseData.ts index 0dd7100..4559dae 100644 --- a/src/typings/checkout/threeDS2ResponseData.ts +++ b/src/typings/checkout/threeDS2ResponseData.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ThreeDS2ResponseData { 'acsChallengeMandated'?: string; 'acsOperatorID'?: string; diff --git a/src/typings/checkout/threeDS2Result.ts b/src/typings/checkout/threeDS2Result.ts index a7458e1..c78c7a3 100644 --- a/src/typings/checkout/threeDS2Result.ts +++ b/src/typings/checkout/threeDS2Result.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,20 +29,25 @@ * Do not edit the class manually. */ + + export class ThreeDS2Result { /** * The `authenticationValue` value as defined in the 3D Secure 2 specification. */ 'authenticationValue'?: string; /** - * The algorithm used by the ACS to calculate the authentication value, only for CartesBancaires integrations. + * The algorithm used by the ACS to calculate the authentication value, only for Cartes Bancaires integrations. */ 'cavvAlgorithm'?: string; /** - * Indicator informing the ACS and the DS that the authentication has been canceled. + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. */ 'challengeCancel'?: string; - 'challengeIndicator'?: string; + /** + * Specifies a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` + */ + 'challengeIndicator'?: ThreeDS2Result.ChallengeIndicatorEnum; /** * The `dsTransID` value as defined in the 3D Secure 2 specification. */ @@ -51,11 +56,17 @@ export class ThreeDS2Result { * The `eci` value as defined in the 3D Secure 2 specification. */ 'eci'?: string; - 'exemptionIndicator'?: string; + /** + * Indicates the exemption type that was applied by the issuer to the authentication, if exemption applied. Allowed values: * `lowValue` * `secureCorporate` * `trustedBeneficiary` * `transactionRiskAnalysis` + */ + 'exemptionIndicator'?: ThreeDS2Result.ExemptionIndicatorEnum; /** * The `messageVersion` value as defined in the 3D Secure 2 specification. */ 'messageVersion'?: string; + /** + * Risk score calculated by Cartes Bancaires Directory Server (DS). + */ 'riskScore'?: string; /** * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. @@ -70,7 +81,7 @@ export class ThreeDS2Result { */ 'transStatus'?: string; /** - * The `transStatusReason` value as defined in the 3D Secure 2 specification. + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). */ 'transStatusReason'?: string; /** @@ -99,7 +110,7 @@ export class ThreeDS2Result { { "name": "challengeIndicator", "baseName": "challengeIndicator", - "type": "string" + "type": "ThreeDS2Result.ChallengeIndicatorEnum" }, { "name": "dsTransID", @@ -114,7 +125,7 @@ export class ThreeDS2Result { { "name": "exemptionIndicator", "baseName": "exemptionIndicator", - "type": "string" + "type": "ThreeDS2Result.ExemptionIndicatorEnum" }, { "name": "messageVersion", @@ -157,3 +168,17 @@ export class ThreeDS2Result { } } +export namespace ThreeDS2Result { + export enum ChallengeIndicatorEnum { + NoPreference = 'noPreference', + RequestNoChallenge = 'requestNoChallenge', + RequestChallenge = 'requestChallenge', + RequestChallengeAsMandate = 'requestChallengeAsMandate' + } + export enum ExemptionIndicatorEnum { + LowValue = 'lowValue', + SecureCorporate = 'secureCorporate', + TrustedBeneficiary = 'trustedBeneficiary', + TransactionRiskAnalysis = 'transactionRiskAnalysis' + } +} diff --git a/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts b/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts new file mode 100644 index 0000000..edaba29 --- /dev/null +++ b/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts @@ -0,0 +1,62 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * + * The version of the OpenAPI document: 68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +export class ThreeDSRequestorAuthenticationInfo { + 'threeDSReqAuthData'?: string; + 'threeDSReqAuthMethod'?: string; + 'threeDSReqAuthTimestamp'?: string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "threeDSReqAuthData", + "baseName": "threeDSReqAuthData", + "type": "string" + }, + { + "name": "threeDSReqAuthMethod", + "baseName": "threeDSReqAuthMethod", + "type": "string" + }, + { + "name": "threeDSReqAuthTimestamp", + "baseName": "threeDSReqAuthTimestamp", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return ThreeDSRequestorAuthenticationInfo.attributeTypeMap; + } +} + diff --git a/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts b/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts new file mode 100644 index 0000000..d5c98f5 --- /dev/null +++ b/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts @@ -0,0 +1,80 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2021 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ + +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * + * The version of the OpenAPI document: 68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +export class ThreeDSRequestorPriorAuthenticationInfo { + /** + * Data that documents and supports a specific authentication process. + */ + 'threeDSReqPriorAuthData'?: string; + /** + * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. + */ + 'threeDSReqPriorAuthMethod'?: string; + /** + * String and time in UTC of the prior cardholder authentication. + */ + 'threeDSReqPriorAuthTimestamp'?: string; + /** + * This data element provides additional information to the ACS to determine the best approach for handing a request. + */ + 'threeDSReqPriorRef'?: string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "threeDSReqPriorAuthData", + "baseName": "threeDSReqPriorAuthData", + "type": "string" + }, + { + "name": "threeDSReqPriorAuthMethod", + "baseName": "threeDSReqPriorAuthMethod", + "type": "string" + }, + { + "name": "threeDSReqPriorAuthTimestamp", + "baseName": "threeDSReqPriorAuthTimestamp", + "type": "string" + }, + { + "name": "threeDSReqPriorRef", + "baseName": "threeDSReqPriorRef", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return ThreeDSRequestorPriorAuthenticationInfo.attributeTypeMap; + } +} + diff --git a/src/typings/checkout/threeDSecureData.ts b/src/typings/checkout/threeDSecureData.ts index 26e4191..cc14768 100644 --- a/src/typings/checkout/threeDSecureData.ts +++ b/src/typings/checkout/threeDSecureData.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ThreeDSecureData { /** * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. @@ -42,6 +44,9 @@ export class ThreeDSecureData { * The CAVV algorithm used. Include this only for 3D Secure 1. */ 'cavvAlgorithm'?: string; + /** + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. + */ 'challengeCancel'?: string; /** * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. @@ -55,11 +60,21 @@ export class ThreeDSecureData { * The electronic commerce indicator. */ 'eci'?: string; + /** + * Risk score calculated by Directory Server (DS). Required for Cartes Bancaires integrations. + */ 'riskScore'?: string; /** * The version of the 3D Secure protocol. */ 'threeDSVersion'?: string; + /** + * Network token authentication verification value (TAVV). The network token cryptogram. + */ + 'tokenAuthenticationVerificationValue'?: string; + /** + * Provides information on why the `transStatus` field has the specified value. For possible values, refer to [our docs](https://docs.adyen.com/online-payments/3d-secure/api-reference#possible-transstatusreason-values). + */ 'transStatusReason'?: string; /** * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). @@ -114,6 +129,11 @@ export class ThreeDSecureData { "baseName": "threeDSVersion", "type": "string" }, + { + "name": "tokenAuthenticationVerificationValue", + "baseName": "tokenAuthenticationVerificationValue", + "type": "string" + }, { "name": "transStatusReason", "baseName": "transStatusReason", diff --git a/src/typings/checkout/updatePaymentLinkRequest.ts b/src/typings/checkout/updatePaymentLinkRequest.ts index 8b45523..9561b53 100644 --- a/src/typings/checkout/updatePaymentLinkRequest.ts +++ b/src/typings/checkout/updatePaymentLinkRequest.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class UpdatePaymentLinkRequest { /** * Status of the payment link. Possible values: * **expired** diff --git a/src/typings/checkout/upiDetails.ts b/src/typings/checkout/upiDetails.ts index 10c58f8..2cae714 100644 --- a/src/typings/checkout/upiDetails.ts +++ b/src/typings/checkout/upiDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class UpiDetails { /** * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. diff --git a/src/typings/checkout/vippsDetails.ts b/src/typings/checkout/vippsDetails.ts index 9d655f0..f6dcaa7 100644 --- a/src/typings/checkout/vippsDetails.ts +++ b/src/typings/checkout/vippsDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class VippsDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. diff --git a/src/typings/checkout/visaCheckoutDetails.ts b/src/typings/checkout/visaCheckoutDetails.ts index 3f4f034..9cebaf8 100644 --- a/src/typings/checkout/visaCheckoutDetails.ts +++ b/src/typings/checkout/visaCheckoutDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class VisaCheckoutDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/weChatPayDetails.ts b/src/typings/checkout/weChatPayDetails.ts index 63e34a9..e9908fd 100644 --- a/src/typings/checkout/weChatPayDetails.ts +++ b/src/typings/checkout/weChatPayDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class WeChatPayDetails { /** * **wechatpay** diff --git a/src/typings/checkout/weChatPayMiniProgramDetails.ts b/src/typings/checkout/weChatPayMiniProgramDetails.ts index f5b6cab..223a274 100644 --- a/src/typings/checkout/weChatPayMiniProgramDetails.ts +++ b/src/typings/checkout/weChatPayMiniProgramDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class WeChatPayMiniProgramDetails { 'appId'?: string; 'openid'?: string; diff --git a/src/typings/checkout/zipDetails.ts b/src/typings/checkout/zipDetails.ts index aff8704..099f06e 100644 --- a/src/typings/checkout/zipDetails.ts +++ b/src/typings/checkout/zipDetails.ts @@ -19,9 +19,9 @@ /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` * - * The version of the OpenAPI document: 67 + * The version of the OpenAPI document: 68 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,6 +29,8 @@ * Do not edit the class manually. */ + + export class ZipDetails { /** * Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them.