What's Changed
This release adds Checkout session updates and richer payment, travel, lodging, and enhanced-scheme models; introduces the Document Collector API with multipart file uploads; and exposes Session Authentication types. It also removes obsolete Checkout error models and two deprecated payment-method enum values.
New Features 💎
Checkout API
- Add
PaymentsApi.updateSession(sessionId, checkoutSessionPatchSessionRequest, requestOptions?)withCheckoutSessionPatchSessionRequest,CheckoutSessionPatchSessionResponse, andSessionAmountUpdateto update a session's amount and payable state. (#1735) - Add
AuPayDetails,DBaraiDetails, andSepaDirectDebitDonations, including theirTypeEnumvalues, and update discriminator mappings for payment methods and response actions. (#1735) - Add enhanced-scheme models
CarRental,PickupInfo,RentalSurcharges,ReturnInfo,Healthcare,Lodging,Folio,Room, andTemporaryServices; expose them throughEnhancedSchemeData.carRental,healthcare,lodging, andtemporaryServices. (#1735) - Add
ThirdPartyTokenRedundancyInfowithrequestParametersandrequestTemplateCode; expose it onCreateCheckoutSessionRequest,CreateCheckoutSessionResponse, andPaymentRequest, and addCreateCheckoutSessionRequest.shopperConversionId. (#1735) - Add
LineItem.returnShippingCompany,returnTrackingNumber,returnTrackingUri,shippingCompany,shippingMethod,trackingNumber, andtrackingUri; addPaypalUpdateOrderRequest.deliveryAddress,discountAmount, andshippingAmount. (#1735) - Add
AffirmDetails.financingProgram,CardBrandDetails.healthcare,DonationCampaignsRequest.label,KlarnaDetails.merchantData,RivertyDetails.merchantData, andStoredPaymentMethod.externalToken. (#1735) - Make
SepaDirectDebitDetails.ibanandSepaDirectDebitDetails.ownerNameoptional. (#1380) (#1735)
Document Collector API
- Add support for DocumentCollectorAPI for multipart cross-border invoice uploads.
Payment API
- Add
transactionLinkIdtoAdditionalDataCommonandResponseAdditionalDataCommon. (#1738)
Fixes ⛑️
- Export the
Types.sessionAuthenticationnamespace so request and response models used bySessionAuthenticationAPIare available from the public package entry point. (#1751) (#1760) - Update the Banking webhook HMAC README example to use
validateHMACSignature(hmacKey, hmacSignature, data)instead of the deprecated, misleading call. (#1744)
Notes
Few unused attributes have been removed:
- Remove
Types.checkout.DefaultErrorResponseEntity, itsconstructor(), and its serialized propertiesdetail,errorCode,instance,invalidFields,requestId,status,title, andtype. (#1735) - Remove
Types.checkout.InvalidField, itsconstructor(), and its serialized propertiesmessage,name, andvalue. (#1735) - Remove
Types.checkout.PaymentDetails.TypeEnum.Paybrightand move thegopay_walletvalue fromTypes.checkout.PaymentDetails.TypeEnum.GopayWallettoTypes.checkout.StoredPaymentMethodDetails.TypeEnum.GopayWallet. (#1735)
Contributor Notes 🔧
- Add
form-data4.0.6 as a runtime dependency and reusable multipart and URL-encoded request helpers; update the generated API template for file uploads. (#1761) - Patch transitive security-sensitive dependencies:
fast-uri3.1.5,brace-expansion1.1.18,ajv6.15.0,js-yaml3.15.1/4.3.1, and an override formicromatch4.0.8. (#1753) (#1754) (#1755) (#1756) (#1757) - Update contributor tooling:
eslint-plugin-unused-imports4.x,ts-loader9.6.2, andacorn8.17.0. (#1402) (#1646) (#1724) - Update release, stale, and Node setup actions, and improve the SonarCloud scanner configuration. (#1719) (#1722) (#1723) (#1752)
- Remove redundant generated
voidstatements so SDK Automation can continue removing unused imports. (#1779)
Other Changes 🖇️
- Add a
SaleToAcquirerData.additionalDatausage example, fix the classic Platforms API documentation link, and list Document Collector API v1 in the supported APIs table. (#1741) (#1743) (#1782)
PRs 📋️
- Update dependency eslint-plugin-unused-imports to v4 by @renovate[bot] in #1402
- Update dependency ts-loader to v9.6.2 by @renovate[bot] in #1646
- Update actions/setup-node action to v4.4.0 by @renovate[bot] in #1719
- Update actions/stale action to v9.1.0 by @renovate[bot] in #1722
- Update Adyen/release-automation-action action to v1.4.0 by @renovate[bot] in #1723
- Update dependency acorn to v8.17.0 by @renovate[bot] in #1724
- [storedvalue] Code generation: update services and models by @AdyenAutomationBot in #1733
- [checkout] Code generation: update services and models by @AdyenAutomationBot in #1735
- [payment] Code generation: update services and models by @AdyenAutomationBot in #1738
- SaleToAcquirerData.additionalData: Add examples in test and code by @gcatanese in #1741
- Fix Platforms APIs documentation link by @gcatanese in #1743
- docs: fix Banking webhook HMAC example in README by @mrSamDev in #1744
- Improve SonarCloud workflow configuration by @gcatanese in #1752
- Update fast-uri to 3.1.5 by @gcatanese in #1753
- Update brace-expansion to 1.1.18 by @gcatanese in #1754
- Update ajv to 6.15.0 by @gcatanese in #1755
- Update js-yaml patched versions by @gcatanese in #1756
- Override micromatch to 4.0.8 by @gcatanese in #1757
- [documentcollector] Code generation: update services and models by @AdyenAutomationBot in #1758
- Export Session Authentication types by @shin4141 in #1760
- Add multipart request support by @gcatanese in #1761
- [balancecontrol] Code generation: update services and models by @AdyenAutomationBot in #1763
- [storedvalue] Code generation: update services and models by @AdyenAutomationBot in #1764
- [capital] Code generation: update services and models by @AdyenAutomationBot in #1765
- [disputes] Code generation: update services and models by @AdyenAutomationBot in #1766
- [checkout] Code generation: update services and models by @AdyenAutomationBot in #1767
- [documentcollector] Code generation: update services and models by @AdyenAutomationBot in #1768
- [posmobile] Code generation: update services and models by @AdyenAutomationBot in #1769
- [transfers] Code generation: update services and models by @AdyenAutomationBot in #1770
- [legalentitymanagement] Code generation: update services and models by @AdyenAutomationBot in #1771
- [payout] Code generation: update services and models by @AdyenAutomationBot in #1772
- [dataprotection] Code generation: update services and models by @AdyenAutomationBot in #1773
- [sessionauthentication] Code generation: update services and models by @AdyenAutomationBot in #1774
- [recurring] Code generation: update services and models by @AdyenAutomationBot in #1775
- [paymentsapp] Code generation: update services and models by @AdyenAutomationBot in #1776
- [binlookup] Code generation: update services and models by @AdyenAutomationBot in #1777
- [payment] Code generation: update services and models by @AdyenAutomationBot in #1778
- [Bug]: Remove redundant void statements from generated APIs by @gcatanese in #1779
- [documentcollector] Code generation: update services and models by @AdyenAutomationBot in #1780
- [documentcollector] Code generation: update services and models by @AdyenAutomationBot in #1781
- Add Document Collector API to README by @gcatanese in #1782
Contributors
Full Changelog: v32.0.0...HEAD