Skip to content

Adyen Node API Library v31.0.0

Latest

Choose a tag to compare

@AdyenAutomationBot AdyenAutomationBot released this 23 Jun 11:39
· 2 commits to main since this release

Breaking Changes 🛠

Balance Platform API

  • Move sweep-related methods from BalanceAccountApi to CustomPayoutSchedulesSweepsApi (#1637)

Capital API

  • Make accountHolderId parameter required in grantOffersApi.getAllGrantOffers (#1641)
  • Change AdditionalBankIdentification.type attribute type from AdditionalBankIdentificationTypes to AdditionalBankIdentification.TypeEnum (#1641)

Checkout API

  • Remove alma enum value from PaymentDetails.TypeEnum in favour of the new AlmaDetails model (#1644)

Management API

  • Change getApplePayDomains return type from ApplePayInfo to ApplePayResponseInfo (#1629)
  • Introduce dedicated read-only *ResponseInfo and update-only *UpdateInfo types for 40+ payment methods; operations using UpdatePaymentMethodInfo now require different types (#1629)

New Features 💎

Configuration Webhooks

  • Add support for Payout Schedule webhook events (balancePlatform.balanceAccountPayoutSchedule.created, balancePlatform.balanceAccountPayoutScheduleExecution.succeeded, etc.) (#1643)
    • Add AccountPayoutAutoApplicationNotificationRequest and AccountPayoutAutoApplicationWebhookData models
    • Add PayoutStateWebhookData, AccountPayoutConfigWebhookData, and PlatformPayoutConfigWebhookData models
    • Add UKLocalMandateAccountIdentification model

Legal Entity Management API

  • Add optional industryCodeDescription property to BusinessLine, BusinessLineInfo, and BusinessLineInfoUpdate models (#1650)
  • Add optional bic property to IbanAccountIdentification for BIC/SWIFT code support (#1650)
  • Update LegalEntityAssociation to support immediateParentCompany relation for organizations (#1650)

Payment API

  • Add enum values Refused and Error to ModificationResult (#1636)
  • Add cardAltID attribute to ResponseAdditionalDataCard (#1636)
  • Change cardProductId type to string in ResponseAdditionalDataCard (#1636)
  • Add networkProcessingMode attribute to ResponseAdditionalDataCommon (#1636)
  • Add enum values AMBER and RED to ResponseAdditionalDataCommon.FraudResultType (#1636)

Payout API

  • Add cardAltID attribute to ResponseAdditionalDataCard (#1639)
  • Change cardProductId type to string in ResponseAdditionalDataCard (#1639)
  • Add networkProcessingMode attribute to ResponseAdditionalDataCommon (#1639)
  • Add enum values AMBER and RED to ResponseAdditionalDataCommon.FraudResultType (#1639)

Recurring API

  • Add transactionLinkId attribute to RecurringDetail (#1628)

Transaction Webhooks

  • Add oneOf discriminator mapping to TransferViewCategoryDataClass for correct deserialization of categoryData in TransferView (#1655)
  • Update processingType field description in IssuedCard to enumerate all possible values (#1655)

Transfer Webhooks

  • Add enum values AdviceAuthorised, AdviceRefused, and InterchangeAdjusted to StatusEnum across TransferData, TransferEvent, and Modification (#1630)
  • Add ultimateParty field to TransferData referencing the new UltimatePartyIdentification model (#1630)
  • Add discriminator mappings to BankAccountV3AccountIdentificationClass for polymorphic deserialization (#1630)
  • Add InterchangeData model and interchangeData field to IssuedCard (#1630)

Fixes ⛑️

  • Fix serialization and deserialization of Set<T> types in ObjectSerializer; Set<Resource> and Set<string> fields previously fell through to an unmatched typeMap lookup and returned raw Set objects (#1660)
  • Fix standalone enum registration in ObjectSerializer.enumsMap to use type name strings (e.g. "Result") instead of runtime values (e.g. 'VALID'), ensuring correct serialization of top-level export enum types (#1664)
  • Export NexoCrypto from package index #1701

PRs

New Contributors

Full Changelog: v30.1.0...v31.0.0