Releases: Adyen/adyen-node-api-library
Adyen Node API Library v27.0.0
Breaking Changes 🛠
-
Checkout API
- Dotpay: Removed the
DotpayDetails
class and all related references inCheckoutPaymentMethod
and test files. Direct support for Dotpay is deprecated - Giropay: Removed the
GiropayDetails
class and all related references inCheckoutPaymentMethod
and test files. Direct support for Giropay is deprecated - Paysafecard (from PaymentDetails TypeEnum): Removed
Paysafecard
from theTypeEnum
in thePaymentDetails
model
- Dotpay: Removed the
-
Classic Payments API
- In
ResponseAdditionalDataCommon
theTokenizationStoreOperationTypeEnum.AlreadyStored
has been removed, and replaced byTokenizationStoreOperationTypeEnum.AlreadyExisting
- In
-
Management API
- Remove
GiroPayInfo
- Remove enum
PAYSHOP
from PaymentMethodResponse
- Remove
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
andAdditionalDataSubMerchant
- Add
SubMerchantEmail
andSubMerchantPhoneNumber
fields toAdditionalDataCommon
- Add
SubMerchantSubSellerSubSellerNrEmail
andSubMerchantSubSellerSubSellerNrPhoneNumber
fields toAdditionalDataSubMerchant
- Add
RequestedTestAcquirerResponseCode
toAdditionalDataCommon
to facilitate testing scenarios for specific acquirer responses - Add
EnhancedSchemeData
property toPaymentRequest
andPaymentCaptureRequest
- Add
EncryptedCard
property toPaymentMethodToStore
to allow storing encrypted card details. - Add the
FraudRiskLevel
enum and property toResponseAdditionalDataCommon
to indicate the risk level of a payment (e.g.VeryLow
,Low
,Medium
,High
, andVeryHigh
) - Add Bonus enum member to the PlansEnum in CheckoutSessionInstallmentOption and Installments
- Rakuten Pay: Add support for Rakuten Pay payment method -
-
BalancePlatform API
- Add
Bic
enum inBankIdentification
- Add 'Pending
enum in
CreateSweepConfigurationV2` - Add 'message' field in
InvalidField
- Add
replacedById
andreplacementOfId
attributes inPaymentInstrument
andUpdatePaymentInstrument
- Add
walletProviderAccountScore
andwalletProviderDeviceScore
attributes inTransactionRuleRestrictions
- Add class
USInstantPayoutAddressRequirement
- Add
-
Transfer API
- Added
IssuingTransactionData
withcaptureCycleId
that provides the captureCycleId associated with transfer event - Add enum
ChargebackRemainder
inPlatformPayment.platformPaymentType
- Add attribute
externalReason
inTransferData
- Add enum
Pending
inTransferData.reason
- Add attribute
scaOnApproval
inTransferReview
- Added
-
Management API
- Add
supportEmail
field inAfterpayTouchInfo
- Add enum
PAYMENTDESIGNATORCONTRACT
in JCBInfo - Add PayByBankPlaidInfo
- Add enum
PAYBYBANK_PLAID
in PaymentMethodResponse - Add
domainSuffix
field in Profile model - In
SplitConfigurationRule
add enumsCHARGED
,DEFERRED_DEBIT
andPREPAID
(#1457) - Add
enableGratuities
in Standalone model
- Add
Add support for Balance Webhooks
-
Webhooks
- Add
ISSUER_COMMENTS
webhook event code by @nickcarenza in #1488
- Add
-
Configuration Webhooks
- Add
replacedById
toPaymentInstrument
- Add
-
AcsWebhooks
-
Enum value has changed:
- Before:
OTP_SMS
- After:
PWD_OTP_PHONE_FL
- OTP flow via SMS
- Before:
-
Enum value has changed:
- Before:
OOB
- After:
OOB_TRIGGER_FL
- Out-of-band trigger flow
- Before:
-
New:
-
Add
PWD_OTP_EMAIL_FL
- OTP flow via Email
-
Fixes ⛑️
- Fix null value in
User-Agent
HTTP header by @gcatanese in #1496 - Fix union types deserialization in Transfer webhooks by @mercury2269 in #1489
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
- @nickcarenza made their first contribution in #1488
- @mercury2269 made their first contribution in #1489
Full Changelog: v26.1.0...v27.0.0
Adyen Node API Library v26.1.0
What's Changed
Fixes ⛑️
- Bug: Fixed possdk base replacement URL on LIVE - Previously, the business-logic appended "/checkout" to the LIVE url, this should not be the case when using
/possdk/v68
by @ChrisSchofieldCheckatrade in https://github.com/Adyen/adyen-node-api-
library/pull/1482
Other Changes 🖇️
- Add close-issue-label flag to correctly label closed issues by @DjoykeAbyah in #1480
- Release v26.1.0 by @AdyenAutomationBot in #1481
New Contributors
- @ChrisSchofieldCheckatrade made their first contribution in #1482
Full Changelog: v26.0.0...v26.1.0
Adyen Node API Library v26.0.0
What's Changed
Breaking Changes 🛠
- Management API:
- In
AndroidApp
the fieldstatus
has changed fromString
toStatusEnum
(Archived
,Error
,Invalid
,Processing
,Ready
)
- In
- Management webhooks:
- In
PaymentMethodRequestRemovedNotificationRequest
the event type has been renamed topaymentMethodRequest.removed
- In
PaymentMethodScheduledForRemovalNotificationRequest
the event type has been renamed topaymentMethodRequest.scheduledForRemoval
- In
New Features 💎
- Checkout:
- New payment methods
PixDetails
andPixRecurring
- In
PaymentRefundResponse
add attributecapturePspReference
(only available for PayPal refunds) - In
ResponseAdditionalDataCommon
:⚠️ therecurring_recurringDetailReference
andrecurring_shopperReference
are deprecated, use instead the new attributetokenization_shopperReference
- add
tokenization_store_operationType
andtokenization_storedPaymentMethodId
attributes, addTokenizationStoreOperationTypeEnum
enum
- New payment methods
- Checkout webhooks:
- Add
TechnicalCancel
enum inNotificationRequestItem
- Add
- Management API:
- Support
AffirmInfo
andPayToInfo
payment methods - in
Surcharge
class add attribugeexcludeGratuityFromSurcharge
- Support
- Payout:
- In
ResponseAdditionalDataCommon
:⚠️ therecurring_recurringDetailReference
andrecurring_shopperReference
are deprecated, use instead the new attributetokenization_shopperReference
- add
tokenization_store_operationType
andtokenization_storedPaymentMethodId
attributes, addTokenizationStoreOperationTypeEnum
enum
- In
- Classic Payments:
- In
ResponseAdditionalDataCommon
:⚠️ therecurring_recurringDetailReference
andrecurring_shopperReference
are deprecated, use instead the new attributetokenization_shopperReference
- add
tokenization_store_operationType
andtokenization_storedPaymentMethodId
attributes, addTokenizationStoreOperationTypeEnum
enum
- In
Important
The Recurring API is deprecated. Use the Checkout API recurring endpoints instead.
Other Changes 🖇️
- Expose PosMobileAPI by @victorcuena in #1463
- Improve issue templates by @ayodejidev in #1470
- Create config.yml by @ayodejidev in #1473
- Improve GitHub Node and release workflows by @ayodejidev in #1477
- Add TechnicalCancel Enum by @DjoykeAbyah in #1468
- Fix HMAC validation for Banking webhooks by @gcatanese in #1476
- Release v26.0.0 by @AdyenAutomationBot in #1472
New Contributors
- @victorcuena made their first contribution in #1463
Full Changelog: v25.0.0...v26.0.0
Adyen Node API Library v25.0.0
What's Changed
Breaking Changes 🛠
- BalancePlatform:
- Removed
PriorityRestriction
class. - In
TransactionRuleRestriction
removedpriority
. - In
models
removedpriorityRestriction
- Removed
- BinLookup:
- In
CostEstimateResponse
removedsurchargeType
.
- In
- Transfers:
- In
TransferReview
removednumberOfApprovalsCompleted
andScaOnApprovalEnum
. - In
models
removedScaOnApprovalEnum
- In
- TransferWebhooks:
- In
TransferReview
removednumberOfApprovalsCompleted
andScaOnApprovalEnum
. - In
models
removedScaOnApprovalEnum
- In
Features 💎
-
AcsWebhooks:
- In ChallengeInfo broadening the range of
ChallengeCancelEnum
.
- In ChallengeInfo broadening the range of
-
BalancePlatform:
- Added
AssociationDelegatedAuthenticationData
,AssociationFinaliseRequest
,AssociationFinaliseResponse
,AssociationInitiateRequest
,AssociationInitiateResponse
andTokenRequestorsRestriction
class. - In
TransactionRuleRestriction
addedtokenRequestors
. - In
models
addedassociationFinaliseRequest
,associationFinaliseResponse
,associationInitiateRequest
and `associationInitiateResponse
- Added
-
Checkout:
- In
CardDetails
,CardDonations
andpaymentRequest
addedfastlaneData
. - Added
FastlaneDetails
class. - In
models
addedfastlaneDetails
- In
-
LegalEntityManagement:
- Added
FinancialReport
class. - In
LegalEntityAssociation
addednominee
. - In
Organization
andSoleProprietorship
addedfinancialReports
- In
models
addedfinancialReport
- Added
-
Service:
- BalancePlatform:
- Deprecated
GrantAccountsApi
andGrantOffersApi
. - In
ManageSCADevicesApi
addedcompleteAssociationBetweenScaDeviceAndResource
andinitiateAssociationBetweenScaDeviceAndResource
.
- Deprecated
- Transfers:
- Deprecated
CapitalApi
.
- Deprecated
- BalancePlatform:
-
Code generation: update services and models by @AdyenAutomationBot in #1461
Other Changes 🖇️
- Release v25.0.0 by @AdyenAutomationBot in #1469
Full Changelog: v24.0.0...v25.0.0
Adyen Node API Library v24.0.0
What's Changed
Breaking Changes 🛠
- Checkout:
- In
additionalDataAirline
changedairline_passenger_telephone_number
toairline_passenger_phone_number
- In
- Payment:
- In
additionalDataAirline
changedairline_passenger_telephone_number
toairline_passenger_phone_number
- In
- 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
andresourceReference
tomodels
- Added
- Payments:
- In
Split
addedTopUp
.
- In
Other Changes 🖇️
- Add NPM publish status badge in README by @gcatanese in #1455
- updated readme with deprecation message for POS Terminal Managament API by @DjoykeAbyah in #1460
- Add negativeBalanceWarningWebhook to bankingWebhookHandler by @DjoykeAbyah in #1459
- Release v24.0.0 by @AdyenAutomationBot in #1456
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
What's Changed
New Features 💎
- Checkout:
- Add
AffirmPay
payment method - Add
PayPay
payment method - Add new enum value
TopUp
inSplit
class
- Add
Other Changes 🖇️
- Code generation: update services and models by @AdyenAutomationBot in #1450
- GitHub workflows edits by @gcatanese in #1451
- Chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in #1453
- Release v23.3.0 by @AdyenAutomationBot in #1452
Full Changelog: v23.2.0...v23.3.0
Adyen Node API Library v23.2.0
What's Changed
New Features 💎
- Checkout API (auto-rescue):
- Added
autoRescue
inAdditionalDataCommon
- Set to true to enable Auto Rescue - Added
maxDaysToRescue
inAdditionalDataCommon
- Specify the rescue window for a transaction, in days, whenautoRescue
is set to true. You can specify a value between 1 and 48.
- Added
- Update all services by @AdyenAutomationBot in #1443
Other Changes 🖇️
- Upgrade @types/node: Update to 18.19.69 by @DjoykeAbyah in #1446
- Release v23.2.0 by @AdyenAutomationBot in #1448
Full Changelog: v23.1.0...v23.2.0
Adyen Node API Library v23.1.0
What's Changed
New Features 💎
- BalancePlatform:
- In
models
addedPriorityRestriction
- Added
PriorityRestriction
class. - In
TransactionRuleRestrictions
addedpriority
of typePriorityRestriction
. - In
VerificationDeadline
,VerificationError
andVerificationErrorRecursive
addedissueChargeCard
,issueChargeCardCommercial
,useChargeCard
anduseChargeCardCommercial
enum.
- In
- ConfigurationWebhooks:
- In
VerificationDeadline
,VerificationError
andVerificationErrorRecursive
addedissueChargeCard
,issueChargeCardCommercial
,useChargeCard
anduseChargeCardCommercial
enum.
- In
- LegalEntityManagement:
- In
VerificationDeadline
,VerificationError
andVerificationErrorRecursive
addedissueChargeCard
,issueChargeCardCommercial
,useChargeCard
anduseChargeCardCommercial
enum.
- In
- ReportWebhooks:
- In
ReportNotificationData
addedid
- In
- 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.
- Release v23.1.0 by @AdyenAutomationBot in #1442
Full Changelog: v23.0.0...v23.1.0
Adyen Node API Library v23.0.0
What's Changed
Breaking Changes 🛠
- LegalEntityManagament:
- In
Trust
removedsetTaxAbsent
attribute
- In
- Update all services by @AdyenAutomationBot in #1433
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, whilenull
is no longer an option:
'paymentMethod': ApplePayDonations | CardDonations | GooglePayDonations | IdealDonations;
- AcsWebhooks:
- In
AuthenticationNotificationData
addedtimestamp
attribute
- In
- BalancePlatform:
- Added
CounterpartyTypesRestriction
andSourceAccountTypesRestriction
class and import inmodels
- Added
CounterpartyTypesRestriction
andSourceAccountTypesRestriction
intransactionRuleRestricton
- Added
- Checkout:
- In
CardDetails
andCardDonations
addedencryptedCard
attribute andclicktopay
enum - In
Models
andPaymentRequest
addedpseDetails
- Added
pseDetails’
class
- In
- ConfigurationWebhooks:
- Added
timestamp
toAccountHolderNotificationRequest
,BalanceAccountNotificationRequest
,CardOrderNotificationRequest
,PaymentNotificationRequest
andSweepConfigurationNotificationRequest
- Added
- DisputeWebhooks:
- Added
amount
,balancePlatformNotificationResponse
,disputeEventNotification
anddisputeNotificationRequest
class - Added
models
class withamount
,balancePlatformNotificationResponse
,disputeEventNotification
anddisputeNotificationRequest
- Added
- LegalEntityManagament:
- In
PCIQuestionnairesApi
addedcalculatePciStatusOfLegalEntity
- Added
CalculatePciStatusRequest
,CalculatePciStatusResponse
andUnincorporatedPartnership
class - In
LegalEntity
addedunincorporatedPartnership
attribute - In
LegalEntityAssociation
addedsecondaryPartner
andunincorporatedPartnership
attributes - In
LegalEntityInfo
andLegalEntityInfoRequiredType
addedunincorporatedPartnership
attribute - In
models
addedcalculatePciStatusRequest
,calculatePciStatusResponse
andunincorporatedPartnership
- In
OnboardingLinkSettings
addedenforceLegalAge
attribute - In
PhoneNumber
addedphoneCountryCode
attribute - In
Trust
addeddescription
,businessTrust
,charitableTrust
,discretionaryTrust
andfamilyTrust
attributes
- In
- Management:
- Added
DinersInfo
class - In
JCBINfo
changedserviceLevel
to optional - In
models
addeddinersInfo
- In
PaymentMethod
andPaymentMethodSetupInfo
replaced import fromGenericPmWithTdinfo
toDinersInfo
- In
PaymentMethodResponse
andPaymentMethodSetupInfo
addedaffirm
- In
TerminalConnectivityCellular
addediccid2
- In
UpdatePaymentMethodInfo
addedstoreId
- Added
- ManagementWebhooks
- In
models
addedterminalAssignmentNotificationRequest
andterminalAssignmentNotificationResponse
- Added
TerminalAssignmentNotificationRequest
andTerminalAssignmentNotificationResponse
class
- In
- ReportWebhooks:
- Added
timestamp
inReportNotificationRequest
- Added
- Payout:
- In
models
addedResponseAdditionalDataCard
- In
ResponseAdditionalDataCard
addedcardProductId
- In
- TransactionWebhooks:
- In
TransactionNotificationRequestV4
addedtimestamp
attribute
- In
- TransferWebhooks:
- Added
Airline
,Leg
andMerchantPurchaseData
class - In
models
addedairline
,leg
andMerchantPurchaseData
- In
TransferData
addedeventId
,platformPayment
andtopUp
attributes - In
TransferEvent
addedeventsData
- In
TransferNotificationRequest
addedtimestamp
- Added
- Transfers:
- Added
Airline
,Leg
andMerchantPurchaseData
class - In
models
addedleg
,airline
andMerchantPurchaseData
- In
transfer
addedplatformPayment
- In
transferData
added eventId,
platformPaymentand
topUp` attributes - In
transferEvent
addedeventsData
- In
transferInfo
addedplatformPayment
andtopUp
- Added
Other Changes 🖇️
- Allow nullable for TerminalSettings by @DjoykeAbyah in #1432
- chore(deps): update actions/setup-node action to v4 by @renovate in #1401
- adjust mustache templates by @DjoykeAbyah in #1438
- Update all services by @AdyenAutomationBot in #1440
- Release v23.0.0 by @AdyenAutomationBot in #1434
Full Changelog: v22.1.0...v23.0.0
Adyen Node API Library v22.1.0
What's Changed
New Features 💎
- BalancePlatform
- In
accountHoldersApi
,balanceAccountsApi
andplatformApi
usingTransactionRulesResponse
addedgetAllTransactionRulesForAccountHolder
- Added
AmountNonZeroDecimalsRequirement
class - In
CreateSweepConfigurationV2
,SweepConfigurationV2
andUpdateSweepConfigurationV2
addedreasonDetail
, a human readable reason for disabling the sweep. - Added
IbanAccountIdentificationRequirement
class - In models added
AmountNonZeroDecimalsRequirement
,IbanAccountIdentificationRequirement
andUSInternationalAchAddressRequirement
- In
transferRoute
addedAmountNonZeroDecimalsRequirement
,IbanAccountIdentificationRequirement
andUSInternationalAchAddressRequirement
- Added
USInternationalAchAddressRequirement
class
- In
- Checkout
- Added
CheckoutBankAccount
- In
models
andpaymentRequest
addedCheckoutBankAccount
andRivertyDetails
- In
paymentMethodsRequest
addedshopperConversionId
- Added
RivertyDetails
class
- Added
- ConfigurationWebhooks
- In
SweepConfigurationV2
addedreasonDetail
andrefusedByCustomer
- In
- TransferWebhooks
- In
transferData
andtransferEvent
addedrefusedByCustomer
- In
- Transfers
- In
transfer
andtransferData
addedrefusedByCustomer
- In
- Update all services by @AdyenAutomationBot in #1428
Other Changes 🖇️
- Add minimum required release age by @ayodejidev in #1429
- Release v22.1.0 by @AdyenAutomationBot in #1430
New Contributors
- @ayodejidev made their first contribution in #1429
Full Changelog: v22.0.0...v22.1.0