Adyen Node API Library v27.0.0
·
350 commits
to main
since this release
Breaking Changes 🛠
-
Checkout API
- Dotpay: Removed the
DotpayDetailsclass and all related references inCheckoutPaymentMethodand test files. Direct support for Dotpay is deprecated - Giropay: Removed the
GiropayDetailsclass and all related references inCheckoutPaymentMethodand test files. Direct support for Giropay is deprecated - Paysafecard (from PaymentDetails TypeEnum): Removed
Paysafecardfrom theTypeEnumin thePaymentDetailsmodel
- Dotpay: Removed the
-
Classic Payments API
- In
ResponseAdditionalDataCommontheTokenizationStoreOperationTypeEnum.AlreadyStoredhas been removed, and replaced byTokenizationStoreOperationTypeEnum.AlreadyExisting
- In
-
Management API
- Remove
GiroPayInfo - Remove enum
PAYSHOPfrom PaymentMethodResponse
- Remove
Features 💎
-
Checkout API
- Rakuten Pay: Add support for Rakuten Pay payment method -
RakutenPayDetails - Add support for Surcharge in paymentRequest
- Add Donation
typefield supporting the following values:roundup,fixedAmounts - Add email and phone number fields to
AdditionalDataCommonandAdditionalDataSubMerchant - Add
SubMerchantEmailandSubMerchantPhoneNumberfields toAdditionalDataCommon - Add
SubMerchantSubSellerSubSellerNrEmailandSubMerchantSubSellerSubSellerNrPhoneNumberfields toAdditionalDataSubMerchant - Add
RequestedTestAcquirerResponseCodetoAdditionalDataCommonto facilitate testing scenarios for specific acquirer responses - Add
EnhancedSchemeDataproperty toPaymentRequestandPaymentCaptureRequest - Add
EncryptedCardproperty toPaymentMethodToStoreto allow storing encrypted card details. - Add the
FraudRiskLevelenum and property toResponseAdditionalDataCommonto 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
Bicenum inBankIdentification - Add
Pendingenum inCreateSweepConfigurationV2 - Add
messagefield inInvalidField - Add
replacedByIdandreplacementOfIdattributes inPaymentInstrumentandUpdatePaymentInstrument - Add
walletProviderAccountScoreandwalletProviderDeviceScoreattributes inTransactionRuleRestrictions - Add class
USInstantPayoutAddressRequirement
- Add
-
Transfer API
- Added
IssuingTransactionDatawithcaptureCycleIdthat provides the captureCycleId associated with transfer event - Add enum
ChargebackRemainderinPlatformPayment.platformPaymentType - Add attribute
externalReasoninTransferData - Add enum
PendinginTransferData.reason - Add attribute
scaOnApprovalinTransferReview
- Added
-
Management API
- Add
supportEmailfield inAfterpayTouchInfo - Add enum
PAYMENTDESIGNATORCONTRACTin JCBInfo - Add PayByBankPlaidInfo
- Add enum
PAYBYBANK_PLAIDin PaymentMethodResponse - Add
domainSuffixfield in Profile model - In
SplitConfigurationRuleadd enumsCHARGED,DEFERRED_DEBITandPREPAID(#1457) - Add
enableGratuitiesin Standalone model
- Add
Add support for Balance Webhooks
-
Webhooks
- Add
ISSUER_COMMENTSwebhook event code by @nickcarenza in #1488
- Add
-
Configuration Webhooks
- Add
replacedByIdtoPaymentInstrument
- 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-AgentHTTP header by @gcatanese in #1496 - Fix union types deserialization in Transfer webhooks by @mercury2269 in #1489
Other Changes 🖇️
NotificationRequestItemenums: 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 payload:
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