Skip to content

Adyen Java API Library v21.0.0

Compare
Choose a tag to compare
@AdyenAutomationBot AdyenAutomationBot released this 28 Jul 15:11
· 174 commits to main since this release
b647fae

Description

This release contains a major library overhaul. Several API's have had their models updated to match the latest version of every API. Check The Readme for more information on the supported APIs. The corresponding models can also be found in the Adyen API Explorer

Checkout migration guide

Many requests/responses classes in the Checkout service have been renamed,
please use the new names as shown in the sections below:

service/checkout/UtilityApi.java

Old name(v20.1.2) New name(v21.0.0)
CreateApplePaySessionRequest ApplePaySessionRequest
CheckoutUtilityRequest UtilityRequest
CheckoutUtilityResponse UtilityResponse

service/checkout/PaymentsApi.java

Old name(v20.1.2) New name(v21.0.0)
PaymentDonationRequest DonationPaymentRequest
DonationResponse DonationPaymentResponse
DetailsRequest PaymentDetailsRequest

service/checkout/PaymentLinksApi.java

Old name(v20.1.2) New name(v21.0.0)
CreatePaymentLinkRequest PaymentLinkRequest

service/checkout/OrdersApi.java

Old name(v20.1.2) New name(v21.0.0)
CheckoutCreateOrderRequest CreateOrderRequest
CheckoutCreateOrderResponse CreateOrderResponse
CheckoutCancelOrderRequest CancelOrderRequest
CheckoutCancelOrderResponse CancelOrderResponse
CheckoutBalanceCheckRequest BalanceCheckRequest
CheckoutBalanceCheckResponse BalanceCheckResponse

service/checkout/ModificationsApi.java

Old name(v20.1.2) New name(v21.0.0)
CreateStandalonePaymentCancelRequest StandalonePaymentCancelRequest
StandalonePaymentCancelResource StandalonePaymentCancelResponse
CreatePaymentAmountUpdateRequest PaymentAmountUpdateRequest
PaymentAmountUpdateResource PaymentAmountUpdateResponse
CreatePaymentCancelRequest PaymentCancelRequest
PaymentCancelResource PaymentCancelResponse
CreatePaymentCaptureRequest PaymentCaptureRequest
PaymentCaptureResource PaymentCaptureResponse
CreatePaymentRefundRequest PaymentRefundRequest
PaymentRefundResource PaymentRefundResponse
CreatePaymentReversalRequest PaymentReversalRequest
PaymentReversalResource PaymentReversalResponse

Deprecated services removal

  • Account, Fund, Hop, Notification and Notification Configuration APIs for the classic Marketplace integration that were previously marked as @Deprecated, have been removed, please refer to https://docs.adyen.com/marketplaces-and-platforms on how to use the new integration.

Other relevant service changes

  • Balance Platform CapitalApi has moved from /service/CapitalApi.java to /service/transfers/CapitalApi.java
  • Added SplitConfigurationMerchantLevelApi to /service/management
  • Management API TerminalActionsCompanyLevelApi:
    • listAndroidApps now accepts packageName and versionCode as optional parameters
    • listAndroidCertificates now accepts certificateName as optional parameter
  • Management API TerminalsTerminalLevelApi
    • listTerminals now accepts otpQuery as optional parameter

Changes for TerminalLocalApi

Thanks to the changes regarding performance improvements for TerminalAPI the securityKey needs to be passed when instantiating TerminalLocalAPI:
TerminalLocalAPI terminalLocalApi = new TerminalLocalAPI(client, securityKey);
Please see TerminalLocalAPITest.java as an example.

What's Changed

Breaking Changes 🛠

Other Changes 🖇️

New Contributors

Full Changelog: v20.1.2...v21.0.0