Skip to content

Releases: Adyen/adyen-node-api-library

Adyen Node API Library v27.0.0

14 May 17:21
78f079d
Compare
Choose a tag to compare

Breaking Changes 🛠

  • Checkout API

    • Dotpay: Removed the DotpayDetails class and all related references in CheckoutPaymentMethod and test files. Direct support for Dotpay is deprecated
    • Giropay: Removed the GiropayDetails class and all related references in CheckoutPaymentMethod and test files. Direct support for Giropay is deprecated
    • Paysafecard (from PaymentDetails TypeEnum): Removed Paysafecard from the TypeEnum in the PaymentDetails model
  • Classic Payments API

    • In ResponseAdditionalDataCommon the TokenizationStoreOperationTypeEnum.AlreadyStored has been removed, and replaced by TokenizationStoreOperationTypeEnum.AlreadyExisting
  • Management API

    • Remove GiroPayInfo
    • Remove enum PAYSHOP from PaymentMethodResponse

Features 💎

  • Checkout API

    • Rakuten Pay: Add support for Rakuten Pay payment method - RakutenPayDetails
    • Add support for Surcharge in paymentRequest
    • Add Donation type field supporting the following values: roundup, fixedAmounts
    • Add email and phone number fields to AdditionalDataCommon and AdditionalDataSubMerchant
    • Add SubMerchantEmail and SubMerchantPhoneNumber fields to AdditionalDataCommon
    • Add SubMerchantSubSellerSubSellerNrEmail and SubMerchantSubSellerSubSellerNrPhoneNumber fields to AdditionalDataSubMerchant
    • Add RequestedTestAcquirerResponseCode to AdditionalDataCommon to facilitate testing scenarios for specific acquirer responses
    • Add EnhancedSchemeData property to PaymentRequest and PaymentCaptureRequest
    • Add EncryptedCard property to PaymentMethodToStore to allow storing encrypted card details.
    • Add the FraudRiskLevel enum and property to ResponseAdditionalDataCommon to indicate the risk level of a payment (e.g. VeryLow, Low, Medium, High, and VeryHigh)
    • Add Bonus enum member to the PlansEnum in CheckoutSessionInstallmentOption and Installments
  • BalancePlatform API

    • Add Bic enum in BankIdentification
    • Add 'Pendingenum inCreateSweepConfigurationV2`
    • Add 'message' field in InvalidField
    • Add replacedById and replacementOfId attributes in PaymentInstrument and UpdatePaymentInstrument
    • Add walletProviderAccountScore and walletProviderDeviceScore attributes in TransactionRuleRestrictions
    • Add class USInstantPayoutAddressRequirement
  • Transfer API

    • Added IssuingTransactionData with captureCycleId that provides the captureCycleId associated with transfer event
    • Add enumChargebackRemainder in PlatformPayment.platformPaymentType
    • Add attribute externalReason in TransferData
    • Add enum Pending in TransferData.reason
    • Add attribute scaOnApproval in TransferReview
  • Management API

    • Add supportEmail field in AfterpayTouchInfo
    • Add enum PAYMENTDESIGNATORCONTRACT in JCBInfo
    • Add PayByBankPlaidInfo
    • Add enum PAYBYBANK_PLAID in PaymentMethodResponse
    • Add domainSuffix field in Profile model
    • In SplitConfigurationRule add enums CHARGED, DEFERRED_DEBIT and PREPAID (#1457)
    • Add enableGratuities in Standalone model

Add support for Balance Webhooks

  • Webhooks

  • Configuration Webhooks

    • Add replacedById to PaymentInstrument
  • AcsWebhooks

    • Enum value has changed:

      • Before: OTP_SMS
      • After: PWD_OTP_PHONE_FL - OTP flow via SMS
    • Enum value has changed:

      • Before: OOB
      • After: OOB_TRIGGER_FL - Out-of-band trigger flow
    • New:

    • Add PWD_OTP_EMAIL_FL - OTP flow via Email

Fixes ⛑️

Other Changes 🖇️

  • NotificationRequestItem enums: Remove legacy by @gcatanese in #1497
  • Set default timeout on the HTTP client by @gcatanese in #1490
  • Introduced a new HMAC troubleshooting utility for signature validation debugging (#1487). The tool calculates the HMAC signature given the HMAC key and the payaload:
cd tools/hmac
npm install 

node calculateHmacPayments.js 11223344D785FBAE710E7F943F307971BB61B21281C98C9129B3D4018A57B2EB payload.json

Check the README

New Contributors

Full Changelog: v26.1.0...v27.0.0

Adyen Node API Library v26.1.0

14 Mar 17:28
17b47e8
Compare
Choose a tag to compare

What's Changed

Fixes ⛑️

library/pull/1482

Other Changes 🖇️

New Contributors

Full Changelog: v26.0.0...v26.1.0

Adyen Node API Library v26.0.0

04 Mar 09:45
4d51744
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • Management API:
    • In AndroidApp the field status has changed from String to StatusEnum (Archived, Error, Invalid, Processing, Ready)
  • Management webhooks:
    • In PaymentMethodRequestRemovedNotificationRequest the event type has been renamed to paymentMethodRequest.removed
    • In PaymentMethodScheduledForRemovalNotificationRequest the event type has been renamed to paymentMethodRequest.scheduledForRemoval

New Features 💎

  • Checkout:
    • New payment methods PixDetails and PixRecurring
    • In PaymentRefundResponse add attribute capturePspReference (only available for PayPal refunds)
    • In ResponseAdditionalDataCommon:
      • ⚠️ the recurring_recurringDetailReference and recurring_shopperReference are deprecated, use instead the new attribute tokenization_shopperReference
      • add tokenization_store_operationType and tokenization_storedPaymentMethodId attributes, add TokenizationStoreOperationTypeEnum enum
  • Checkout webhooks:
    • Add TechnicalCancel enum in NotificationRequestItem
  • Management API:
    • Support AffirmInfo and PayToInfo payment methods
    • in Surcharge class add attribuge excludeGratuityFromSurcharge
  • Payout:
    • In ResponseAdditionalDataCommon:
      • ⚠️ the recurring_recurringDetailReference and recurring_shopperReference are deprecated, use instead the new attribute tokenization_shopperReference
      • add tokenization_store_operationType and tokenization_storedPaymentMethodId attributes, add TokenizationStoreOperationTypeEnum enum
  • Classic Payments:
    • In ResponseAdditionalDataCommon:
      • ⚠️ the recurring_recurringDetailReference and recurring_shopperReference are deprecated, use instead the new attribute tokenization_shopperReference
      • add tokenization_store_operationType and tokenization_storedPaymentMethodId attributes, add TokenizationStoreOperationTypeEnum enum

Other Changes 🖇️

New Contributors

Full Changelog: v25.0.0...v26.0.0

Adyen Node API Library v25.0.0

18 Feb 13:35
07f268b
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • BalancePlatform:
    • Removed PriorityRestriction class.
    • In TransactionRuleRestriction removed priority.
    • In models removed priorityRestriction
  • BinLookup:
    • In CostEstimateResponse removed surchargeType.
  • Transfers:
    • In TransferReview removed numberOfApprovalsCompleted and ScaOnApprovalEnum.
    • In models removed ScaOnApprovalEnum
  • TransferWebhooks:
    • In TransferReview removed numberOfApprovalsCompleted and ScaOnApprovalEnum.
    • In models removed ScaOnApprovalEnum

Features 💎

  • AcsWebhooks:

    • In ChallengeInfo broadening the range of ChallengeCancelEnum.
  • BalancePlatform:

    • Added AssociationDelegatedAuthenticationData, AssociationFinaliseRequest, AssociationFinaliseResponse, AssociationInitiateRequest, AssociationInitiateResponse and TokenRequestorsRestriction class.
    • In TransactionRuleRestriction added tokenRequestors.
    • In models added associationFinaliseRequest, associationFinaliseResponse, associationInitiateRequest and `associationInitiateResponse
  • Checkout:

    • In CardDetails, CardDonations and paymentRequest added fastlaneData.
    • Added FastlaneDetails class.
    • In models added fastlaneDetails
  • LegalEntityManagement:

    • Added FinancialReport class.
    • In LegalEntityAssociation added nominee.
    • In Organization and SoleProprietorship added financialReports
    • In models added financialReport
  • Service:

    • BalancePlatform:
      • Deprecated GrantAccountsApi and GrantOffersApi.
      • In ManageSCADevicesApi added completeAssociationBetweenScaDeviceAndResource and initiateAssociationBetweenScaDeviceAndResource.
    • Transfers:
      • Deprecated CapitalApi.
  • Code generation: update services and models by @AdyenAutomationBot in #1461

Other Changes 🖇️

Full Changelog: v24.0.0...v25.0.0

Adyen Node API Library v24.0.0

04 Feb 08:40
29a7290
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • Checkout:
    • In additionalDataAirline changed airline_passenger_telephone_number to airline_passenger_phone_number
  • Payment:
    • In additionalDataAirline changed airline_passenger_telephone_number to airline_passenger_phone_number
  • Code generation: update services and models by @AdyenAutomationBot in #1458

Features 💎

  • NegativeBalanceWarningWebhooks:
    • Added Amount class.
    • Added NegativeBalanceCompensationWarningNotificationData class.
    • Added NegativeBalanceCompensationWarningNotificationRequest class.
    • Added ObjectSerializer class.
    • Added Resource class.
    • Added ResourceReference class.
    • Added amount, negativeBalanceCompensationWarningNotificationData, negativeBalanceCompensationWarningNotificationRequest, resource and resourceReference to models
  • Payments:
    • In Split added TopUp.

Other Changes 🖇️

Important

From January 1, 2025 POS Terminal Management API is deprecated and support stops on April 1, 2025. To automate the management of your terminal fleet, use our Management API.

Full Changelog: v23.3.0...v24.0.0

Adyen Node API Library v23.3.0

21 Jan 19:31
75d39f0
Compare
Choose a tag to compare

What's Changed

New Features 💎

  • Checkout:
    • Add AffirmPay payment method
    • Add PayPay payment method
    • Add new enum value TopUp in Split class

Other Changes 🖇️

Full Changelog: v23.2.0...v23.3.0

Adyen Node API Library v23.2.0

20 Jan 11:12
11701ad
Compare
Choose a tag to compare

What's Changed

New Features 💎

  • Checkout API (auto-rescue):
    • Added autoRescue in AdditionalDataCommon - Set to true to enable Auto Rescue
    • Added maxDaysToRescue in AdditionalDataCommon - Specify the rescue window for a transaction, in days, when autoRescue is set to true. You can specify a value between 1 and 48.
  • Update all services by @AdyenAutomationBot in #1443

Other Changes 🖇️

Full Changelog: v23.1.0...v23.2.0

Adyen Node API Library v23.1.0

06 Jan 13:22
b270fea
Compare
Choose a tag to compare

What's Changed

New Features 💎

  • BalancePlatform:
    • In models added PriorityRestriction
    • Added PriorityRestriction class.
    • In TransactionRuleRestrictions added priority of type PriorityRestriction.
    • In VerificationDeadline, VerificationError and VerificationErrorRecursive added issueChargeCard, issueChargeCardCommercial , useChargeCard and useChargeCardCommercial enum.
  • ConfigurationWebhooks:
    • In VerificationDeadline, VerificationError and VerificationErrorRecursive added issueChargeCard, issueChargeCardCommercial , useChargeCard and useChargeCardCommercial enum.
  • LegalEntityManagement:
    • In VerificationDeadline, VerificationError and VerificationErrorRecursive added issueChargeCard, issueChargeCardCommercial , useChargeCard and useChargeCardCommercial enum.
  • ReportWebhooks:
    • In ReportNotificationData added id
  • Update all services by @AdyenAutomationBot in #1441

Other Changes 🖇️

Important

From January 1, 2025 POS Terminal Management API is deprecated and support stops on April 1, 2025. To automate the management of your terminal fleet, use our Management API.

Full Changelog: v23.0.0...v23.1.0

Adyen Node API Library v23.0.0

23 Dec 12:33
5c158b4
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

New Features 💎

This version of the library introduces 2 significant improvements:

  • optional attributes can be set as null: in the previous version it was only possible to omit the attribute.
    For example, an optional attribute is defined as such:
   'contactDetails'?: ContactDetails | null;
  • mandatory polymorphic attributes cannot be set as null: in the previous version it was possible to do so.
    For example, a mandatory attribute can be any of the allowed classes, while null is no longer an option:
  'paymentMethod': ApplePayDonations | CardDonations | GooglePayDonations | IdealDonations;
  • AcsWebhooks:
    • In AuthenticationNotificationData added timestamp attribute
  • BalancePlatform:
    • Added CounterpartyTypesRestriction and SourceAccountTypesRestriction class and import in models
    • Added CounterpartyTypesRestriction and SourceAccountTypesRestriction in transactionRuleRestricton
  • Checkout:
    • In CardDetails and CardDonations added encryptedCard attribute and clicktopay enum
    • In Models and PaymentRequest added pseDetails
    • Added pseDetails’ class
  • ConfigurationWebhooks:
    • Added timestamp to AccountHolderNotificationRequest, BalanceAccountNotificationRequest, CardOrderNotificationRequest,PaymentNotificationRequest and SweepConfigurationNotificationRequest
  • DisputeWebhooks:
    • Added amount, balancePlatformNotificationResponse, disputeEventNotification and disputeNotificationRequest class
    • Added models class with amount, balancePlatformNotificationResponse, disputeEventNotification and disputeNotificationRequest
  • LegalEntityManagament:
    • In PCIQuestionnairesApi added calculatePciStatusOfLegalEntity
    • Added CalculatePciStatusRequest, CalculatePciStatusResponse and UnincorporatedPartnership class
    • In LegalEntity added unincorporatedPartnership attribute
    • In LegalEntityAssociation added secondaryPartner and unincorporatedPartnership attributes
    • In LegalEntityInfo and LegalEntityInfoRequiredType added unincorporatedPartnership attribute
    • In models added calculatePciStatusRequest, calculatePciStatusResponse and unincorporatedPartnership
    • In OnboardingLinkSettings added enforceLegalAge attribute
    • In PhoneNumber added phoneCountryCode attribute
    • In Trust added description , businessTrust, charitableTrust, discretionaryTrust and familyTrust attributes
  • Management:
    • Added DinersInfo class
    • In JCBINfo changed serviceLevel to optional
    • In models added dinersInfo
    • In PaymentMethod and PaymentMethodSetupInfo replaced import from GenericPmWithTdinfo to DinersInfo
    • In PaymentMethodResponse and PaymentMethodSetupInfo added affirm
    • In TerminalConnectivityCellular added iccid2
    • In UpdatePaymentMethodInfo added storeId
  • ManagementWebhooks
    • In models added terminalAssignmentNotificationRequest and terminalAssignmentNotificationResponse
    • Added TerminalAssignmentNotificationRequest and TerminalAssignmentNotificationResponse class
  • ReportWebhooks:
    • Added timestamp in ReportNotificationRequest
  • Payout:
    • In models added ResponseAdditionalDataCard
    • In ResponseAdditionalDataCard added cardProductId
  • TransactionWebhooks:
    • In TransactionNotificationRequestV4 added timestamp attribute
  • TransferWebhooks:
    • Added Airline, Leg and MerchantPurchaseData class
    • In models added airline, leg and MerchantPurchaseData
    • In TransferData added eventId, platformPayment and topUp attributes
    • In TransferEvent added eventsData
    • In TransferNotificationRequest added timestamp
  • Transfers:
    • Added Airline, Leg and MerchantPurchaseData class
    • In models added leg, airline and MerchantPurchaseData
    • In transfer added platformPayment
    • In transferData added eventId, platformPaymentandtopUp` attributes
    • In transferEvent added eventsData
    • In transferInfo added platformPayment and topUp

Other Changes 🖇️

Full Changelog: v22.1.0...v23.0.0

Adyen Node API Library v22.1.0

25 Nov 12:11
f7a6524
Compare
Choose a tag to compare

What's Changed

New Features 💎

  • BalancePlatform
    • In accountHoldersApi, balanceAccountsApi and platformApi using TransactionRulesResponse added getAllTransactionRulesForAccountHolder
    • Added AmountNonZeroDecimalsRequirement class
    • In CreateSweepConfigurationV2, SweepConfigurationV2 and UpdateSweepConfigurationV2 added reasonDetail, a human readable reason for disabling the sweep.
    • Added IbanAccountIdentificationRequirement class
    • In models added AmountNonZeroDecimalsRequirement, IbanAccountIdentificationRequirement and USInternationalAchAddressRequirement
    • In transferRoute added AmountNonZeroDecimalsRequirement, IbanAccountIdentificationRequirement and USInternationalAchAddressRequirement
    • Added USInternationalAchAddressRequirement class
  • Checkout
    • Added CheckoutBankAccount
    • In models and paymentRequest added CheckoutBankAccount and RivertyDetails
    • In paymentMethodsRequest added shopperConversionId
    • Added RivertyDetails class
  • ConfigurationWebhooks
    • In SweepConfigurationV2 added reasonDetail and refusedByCustomer
  • TransferWebhooks
    • In transferData and transferEvent added refusedByCustomer
  • Transfers
    • In transfer and transferData added refusedByCustomer
  • Update all services by @AdyenAutomationBot in #1428

Other Changes 🖇️

New Contributors

Full Changelog: v22.0.0...v22.1.0