npm @adyen/api-library 27.0.0
Adyen Node API Library v27.0.0

latest releases: 29.1.0, 29.0.0, 28.1.0...
3 months ago

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

Add support for Balance Webhooks

  • Management API

    • Add supportEmail field to the AfterpayTouchInfo
    • Add enum PAYMENTDESIGNATORCONTRACT in JCBInfo
    • Add PayByBankPlaidInfo
    • Add enum PAYBYBANK_PLAID in PaymentMethodResponse
    • Add domainSuffix field to Profile
    • In SplitConfigurationRule add enums CHARGED, DEFERRED_DEBIT and PREPAID (#1457)
    • Add enableGratuities to the Standalone model
  • 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:

    • Added 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

Don't miss a new api-library release

NewReleases is sending notifications on new releases.