Skip to content

Adyen Java API Library v43.2.0

Latest

Choose a tag to compare

@AdyenAutomationBot AdyenAutomationBot released this 03 Nov 14:44

New Features ๐Ÿ’Ž

ACS Webhooks

  • Add OTP_PHONE_FL and PASSKEY_TRIGGER_FL to ChallengeInfo.FlowEnum (#2093)

Checkout API (#2073, (#2090))

  • Add the PayByBankCADirectDebitDetails model (type paybybank_ca) as a CheckoutPaymentMethod variant.
  • Add the OpiRequest and OpiResponse models, and add opi to PaymentRequest, StoredPaymentMethodRequest, PaymentResponse, PaymentDetailsResponse, and StoredPaymentMethodResource.
  • Add the CheckoutForwardAccountUpdateResult model (with ResultEnum) and the CheckoutForwardNetworkTokenResult model, and add accountUpdate and networkToken to CheckoutForwardResponse.
  • Add payable to CreateCheckoutSessionRequest and CreateCheckoutSessionResponse.
  • Add klarnaNetworkPaymentAccountId to KlarnaNetworkDetails.
  • Add riskCategory to LineItem.
  • Add SATISPAY to PaymentDetails.TypeEnum.
  • Add UtilityApi.calculateTax(CalculateTaxRequest) and UtilityApi.verifyShopperTaxIdentification(VerifyShopperTaxIdentificationRequest), each with a RequestOptions overload.
  • Add the CalculateTaxRequest, CalculateTaxResponse, TaxCalculation, TaxCalculationComponent, TaxCalculationContext, TaxAmount, TaxableAmount, and LrsContext models, and the CalculationType, RemittancePurpose, and SublimitStatus enums.
  • Add the VerifyShopperTaxIdentificationRequest, VerifyShopperTaxIdentificationResponse, ShopperTaxIdentification, and VerifiedShopperTaxIdentification models, and the TaxIdentificationType enum.
  • Add enhancedSchemeData to CreateCheckoutSessionRequest and CreateCheckoutSessionResponse.
  • Add subtype and KlarnaNetworkDetails.SubtypeEnum (REDIRECT, SDK) to KlarnaNetworkDetails.
  • Add previousMandateId and purposeCode to TokenMandate.
  • Add AFTERPAYTOUCH_US to AfterpayDetails.TypeEnum and REVOLUTPAY to StoredPaymentMethodDetails.TypeEnum.

Configuration Webhooks

  • Add the balance account sweep execution webhook events (#2094)
  • Add the balancePlatform.balanceAccountSweepExecution.succeeded event (SweepExecutionNotificationRequest.TypeEnum.BALANCEPLATFORM_BALANCEACCOUNTSWEEPEXECUTION_SUCCEEDED).
  • Add the balancePlatform.balanceAccountSweepExecution.skipped event (SweepExecutionNotificationRequest.TypeEnum.BALANCEPLATFORM_BALANCEACCOUNTSWEEPEXECUTION_SKIPPED).
  • Add the balancePlatform.balanceAccountSweepExecution.failed event (SweepExecutionNotificationRequest.TypeEnum.BALANCEPLATFORM_BALANCEACCOUNTSWEEPEXECUTION_FAILED).
  • Add the SweepExecutionNotificationRequest, SweepExecutionNotificationData, and SweepResultDetails models, and ConfigurationWebhooksHandler.getSweepExecutionNotificationRequest() to parse these events.

Dispute Webhooks

  • Add NOTASDESCRIBED and CANCELLED to DisputeEventNotification.TypeEnum (#2096)

Legal Entity Management API

  • Add new Legal Entity Management fields, enum values, and deserialization support (#2089)
  • Add residentialAddressIndicator to Organization, SoleProprietorship, Trust, and UnincorporatedPartnership.
  • Add ADYENCAPITALCASHADVANCE and DIRECTDEBIT to AcceptTermsOfServiceResponse.TypeEnum, CalculateTermsOfServiceStatusResponse.TermsOfServiceTypesEnum, GetTermsOfServiceDocumentRequest.TypeEnum,
    GetTermsOfServiceDocumentResponse.TypeEnum, and TermsOfServiceAcceptanceInfo.TypeEnum.
  • Register type discriminator mappings for BankAccountInfoAccountIdentification, so account identification payloads deserialize to the matching variant class.

Notification Webhooks

  • Add the REVERSAL standard webhook event code as NotificationRequestItem.EVENT_CODE_REVERSAL (#2095)

Payments App API

  • Add subMerchantData (new SubMerchantData model) to BoardingTokenRequest (#2063)

Transaction Webhooks

  • Add networkVariant and IssuedCard.NetworkVariantEnum (MAESTRO_US, MASTERCARD, VISA) to IssuedCard (#2071)

Transfer Webhooks

  • Add new Transfer Webhooks fields and enum values (#2069)

  • Add networkVariant and IssuedCard.NetworkVariantEnum (MAESTRO_US, MASTERCARD, VISA) to IssuedCard.

  • Add REVERSALRECEIVED to Modification.StatusEnum, TransferData.StatusEnum, and TransferEvent.StatusEnum.

  • Add FXBUY and FXSELL to TransferData.TypeEnum.

  • Add USACHCORRECTIONREASONCODE to NetworkReason.NamespaceEnum.

  • Add INTEREST to TransferData.CategoryEnum and INTERESTPAYOUT to TransferData.TypeEnum (#2102)

    Transfers API

  • Add new Transfers fields and enum values (#2070)

  • Add networkVariant and IssuedCard.NetworkVariantEnum (MAESTRO_US, MASTERCARD, VISA) to IssuedCard.

  • Add REVERSALRECEIVED to Modification.StatusEnum, Transfer.StatusEnum, TransferData.StatusEnum, and TransferEvent.StatusEnum.

  • Add FXBUY and FXSELL to Transfer.TypeEnum and TransferData.TypeEnum.

  • Add USACHCORRECTIONREASONCODE to NetworkReason.NamespaceEnum.

  • Add INTEREST to Transfer.CategoryEnum and TransferData.CategoryEnum, and INTERESTPAYOUT to Transfer.TypeEnum and TransferData.TypeEnum (#2101)

Fixes โ›‘๏ธ

  • Update Client.retrieveCloudEndpoint to return the Terminal API test endpoint when environment is null, instead of throwing a NullPointerException (#2085, #2086)
  • Update DateUtil.parseDateToFormat to parse strictly and return null for invalid or partially valid date strings (#2087, #2088)
  • Update AdyenCustomRedirectStrategy to validate every redirect location, not only 308 redirects, and to follow only HTTPS redirects to *.adyen.com and *.adyenpayments.com hosts (#2097, #2098, #2099)
  • Remove the HMAC key from the IllegalArgumentException message that HMACValidator.calculateHMAC throws for an invalid hex key (#2100)

Other Changes ๐Ÿ–‡๏ธ

  • Update com.fasterxml.jackson-version from 2.22.1 to 2.22.3 (security update) (#2075)
  • Update org.apache.httpcomponents.client5:httpclient5 from 5.6.3 to 5.6.4 (#2056)
  • Update io.swagger.core.v3:swagger-annotations from 2.2.52 to 2.2.53 (#2050)

New Contributors

Full Changelog: v43.1.0...v43.2.0