Releases: Adyen/adyen-php-api-library
Adyen PHP API Library v28.3.0
Legal Entity Management API v4
LEM v4 enhances the onboarding process and ensures compliance with evolving regulatory data requirements across regions and products. #829
See the Onboarding v4 documentation for details, and review the API changes from v3 to v4 to understand the impact on your integration.
⚠️ Critical changes:
BusinessLine:capabilityattribute has been removedSourceOfFunds:acquiringBusinessLineIdattribute has been removedSourceOfFunds:adyenProcessedFundsattribute is now required
Other Changes 💎
Individual: addsupportOrganization: addsupport,doingBusinessAsAbsent,registrationNumberAbsentSoleProprietorship: adddoingBusinessAsAbsent,registrationNumberAbsentTrust: adddoingBusinessAsAbsentUnincorporatedPartnership: adddoingBusinessAsAbsentServiceEnum: add new value"issuing"SourceOfFunds: add several new attributes (amount,assetMonthsHeld, etc..)SourceOfFunds: add array ofFinancierSourceOfFunds. TypeEnum: add several new values ("employment","donations", etc..)TaxInformation: addnumberAbsentDocument: addproofOfDirector
Balance Platform API
-
Add
TransferLimitsBalanceAccountLevelApito manageTransfer limits - balance account level -
Add
TransferLimitsBalancePlatformLevelApito manageTransfer limits - balance platform level -
LEM v4 by @gcatanese in #829
Other Changes 🖇️
- [PaymentsAPIs] Code generation: update services and models by @AdyenAutomationBot in #813
- [Webhooks] Code generation: update services and models by @AdyenAutomationBot in #812
- Add @Adyen/api-library-maintainers to CODEOWNERS by @gcatanese in #827
- [PlatformsAPIs] Code generation: update services and models by @AdyenAutomationBot in #811
- Handling Unknown Enum Values test by @gcatanese in #830
- docs(README): fix typo "you account" → "your account" by @alisolphp in #832
- Release v28.3.0 by @AdyenAutomationBot in #814
New Contributors
- @alisolphp made their first contribution in #832
Full Changelog: v28.2.0...v28.3.0
Adyen PHP API Library v28.2.0
Features 💎
The release brings several improvements around model robustness and backward compatibility with evolving API schemas:
- Improved enum deserialisation: when an unknown enum value is found in API responses and webhooks, an exception is no longer thrown (to avoid affecting the applications). An error is logged instead while the value is still parsed. #807
Tokenization Webhooks
Add support for Tokenization Webhooks #778:
recurring.token.alreadyExistingrecurring.token.createdrecurring.token.disabledrecurring.token.updated
Checkout API
- Added
actionattribute (PaymentDetailsResponseAction) inPaymentDetailsResponse - Added support for
PayToPaymentMethodandUPIPaymentMethod - Added support for
validateShopperIdutility to validate the shopper id - Added enum
RIVERTY_INSTALLMENTSinRivertyDetails - Added
subtypeattribute inRivertyDetails - Added
EnhancedSchemeData(supporting Airline enhanced scheme data) inPaymentRequest - Added
promotedattribute inPaymentMethod
BalancePlatform API
- Add new service
AuthorizedCardUsersApito manage (add, get, delete and update) authorized users to a given card - In
PaymentInstrumentsApiadd methodscreateNetworkTokenActivationDataandgetNetworkTokenActivationDatato create and retrieve network token activation data for a payment instrument. - In
AdditionalBankIdentificationadd new enumsauBsbCodeandcaRoutingNumber - Added support for
AdditionalbankIdentificationRequirement:auBsbCode,caRoutingNumber,gbSortCodeorusRoutingNumber. - In
Cardadd new attributethreeDSecure - Added
usagefield toCardandCardInfoto specify how many times the card can be used:singleUseormultiUse. - Added
approvalExpiredReasonEnum toCreateSweepConfigurationV2,UpdateSweepConfigurationV2andSweepConfigurationV2 - Add
NetworkTokenRequestortoNetworkToken - New
walletProviderAccountScoreandwalletProviderDeviceScoreattributes inTransactionRuleRestrictions - Added support
USInternationalAchPriorityRequirement - Add
walletProviderDeviceTypeinTransactionRuleRestrictions - Add enum
INTERESTinTransferRoute.CategoryEnum
LEM API
- In
AdditionalBankIdentificationadd new enumsauBsbCodeandcaRoutingNumber
Transfers API
- In
AdditionalBankIdentificationadd new enumsauBsbCodeandcaRoutingNumber - Add attribute
executionDateinTransfer,TransferDataandTransferInfo - In
IssuedCardadd new attributethreeDSecure - Added
emailandurltoPartyIdentificationandUltimatePartyIdentification - In
Transferadd new attributecreatedAt, deprecatecreationDate(use insteadcreatedAt) - In
TransferDataadd new attributecreatedAtandupdatedAt, deprecatecreationDate(use insteadcreatedAt)
Management API
- Add support for
SepaDirectDebitInfo - Add support for
AlipayPlusandMaestroUsapayment methods: seePaymentMethodandPaymentMethodSetupInfoclasses - In
PaymentMethodResponse,PaymentMethodSetupInfoandUpdatePaymentMethodInfoseveralTypesWithErrorsEnumenums have been added (alipay_plus,avancard,cooper, etc.. - In
Store,StoreCreationRequest,UpdateStoreRequestandStoreCreationWithMerchantCodeRequestadd attributesubMerchantData
ACS Webhooks
- Update deserialization to handle unknown enums
- Add support for
balancePlatform.authentication.relayedevent - In
RelayedAuthenticationRequestadd new attributesthreeDSRequestorAppURL,environment,timestamp,type
Report Webhooks
- Update deserialization to handle unknown enums
Transaction Webhooks
- Update deserialization to handle unknown enums
- In
IssuedCardadd new attributethreeDSecure - In
TransferViewCategoryDataadd new attributethreeDSecure
Tranfers Webhooks
- Update deserialization to handle unknown enums
- In
IssuedCardadd new attributethreeDSecure - In
TransferViewCategoryDataadd new attributethreeDSecure - In
AdditionalBankIdentificationadd new enumsauBsbCodeandcaRoutingNumber - Add attribute
executionDateinTransfer,TransferDataandTransferInfo - Added
emailandurltoPartyIdentificationandUltimatePartyIdentification - In
TransferDataadd new attributecreatedAtandupdatedAt, deprecatecreationDate(use insteadcreatedAt) - Added
approvalExpiredtoTransferDataandTransferEvent
Changes in this release:
- Add Tokenization Webhooks by @gcatanese in #778
- Generate Checkout models (EnhancedSchemeData) by @gcatanese in #779
- [PaymentsAPIs] Code generation: update services and models by @AdyenAutomationBot in #789
- [ManagementAPIs] Code generation: update services and models by @AdyenAutomationBot in #792
- Generate LEM, Transfers and BalancePlatform services and models by @gcatanese in #804
- Handling unknown enum values by @gcatanese in #807
- Generate Webhooks models by @gcatanese in #808
- [ManagementAPIs] Code generation: update services and models by @AdyenAutomationBot in #802
Other Changes 🖇️
- Add tests for unknown enums and attributes by @gcatanese in #775
- Add test for JSON serialisation by @gcatanese in #777
- Format running on multiple branches by @gcatanese in #784
- Update filter in format.yml by @gcatanese in #786
- Format: update Composer version by @gcatanese in #791
- [PaymentsAPIs] Code generation: update services and models by @AdyenAutomationBot in #796
- Remove leading backslash by @gcatanese in #797
- [PaymentsAPIs] Code generation: update services and models by @AdyenAutomationBot in #798
- [ManagementAPIs] Code generation: update services and models by @AdyenAutomationBot in #799
- [PaymentsAPIs] Code generation: update services and models by @AdyenAutomationBot in #803
- AcsWebhooks: remove custom fix by @gcatanese in #809
- Release v28.2.0 by @AdyenAutomationBot in #776
Full Changelog: v28.1.0...v28.2.0
Adyen PHP API Library v28.1.0
What's Changed
Note
PHP 8.4 Compatibility
Updated method signatures across various service models and abstract resources to explicitly declare nullable > array parameters (array $param = null changed to ?array $param = null), resolving deprecation warnings in PHP 8.4.
New Features 💎
- Checkout API
- add
capturePspReferenceandbusinessDayOnlyattributes
- add
Other Changes 🖇️
- chore(deps): update dependency phpunit/phpunit to v9.6.23 by @renovate in #676
- Fix warning: Implicitly marking parameter $params as nullable is deprecated by @gcatanese in #771
- PHP 8.4 compatibility by @gcatanese in #773
- Update to release-automation-action v1.4.0 by @gcatanese in #772
- Release v28.1.0 by @AdyenAutomationBot in #770
Full Changelog: v28.0.0...v28.1.0
Adyen PHP API Library v28.0.0
What's Changed
Breaking Changes 🛠
Checkout API
- Remove `DotpayDetails` and `GiropayDetails`
- Remove enum `PAYSAFECARD` from `PaymentDetails`
Management API
- Remove
GiroPayInfo - Remove enum
PAYSHOPfromPaymentMethodResponse
New Features 💎
Checkout API
* add support for `RakutenPay`
* Add `Surcharge` and `EnhancedSchemeData` (supporting Airline enhanced scheme data) in `PaymentRequest`
* Add `EnhancedSchemeData` (supporting Airline enhanced scheme data) in `PaymentCaptureRequest`
* Add `fraudRiskLevel` in `ResponseAdditionalDataCommon`
* Add enum `PAYSAFECARD` from `StoredPaymentMethodDetails`
* New Donation `type` field supporting the following values: `roundup`, `fixedAmounts`
(Documentation)
* Added sub-merchant info:
- subMerchantPhoneNumber, subMerchantEmail
- Nested: subMerchant.subSeller[n].email, subMerchant.subSeller[n].phoneNumber
* Added bonus enum to CheckoutSessionInstallmentOption * add RequestedTestAcquirerResponseCodeinAdditionalDataCommon`
Payment Classic API
* Add `fraudRiskLevel` in `ResponseAdditionalDataCommon`
Payout API
* Add `fraudRiskLevel` in `ResponseAdditionalDataCommon`
Management API
- Add
supportEmailfield to theAfterpayTouchInfo - Add enum
PAYMENTDESIGNATORCONTRACTin JCBInfo - Add PayByBankPlaidInfo
- Add enum
PAYBYBANK_PLAIDin PaymentMethodResponse - Add
domainSuffixfield to Profile - In
SplitConfigurationRuleadd enumsCHARGED,DEFERRED_DEBITandPREPAID(#1457) - Add
enableGratuitiesto the Standalone model
LEM API
* Add attribute `allowDebugUi` in `OnboardingLinkSettings`to debug user interface (UI) when applicable.
Transfers API
- Added `IssuingTransactionData` with `captureCycleId` that provides the captureCycleId associated with transfer event
* Add enum `DCCPLATFORMCOMMISSION` in `PlatformPayment`
* Add enum `PENDING`in `TransferData`
* Add attribute `externalReason` in `TransferData`
* Add `scaOnApproval` attribute in `TransferReview`
Fixes ⛑️
- Remove invalid PHPDoc tag @description by @gcatanese in #764
- Correct PosSdk (PosMobileService) LIVE url by @gcatanese in #760
- Add a new configuration for HTTP client to set
CURLOPT_CONNECTTIMEOUTand defines default values by @candemiralp in #756
Other Changes 🖇️
- Introduced a new HMAC troubleshooting utility for signature validation debugging (#754). The tool calculates the HMAC signature given the HMAC key and the payload:
cd tools/hmac
php tools/hmac/HMACValidatorPayments.php 1122334455AABBCCDDEEDFDFFSDS payload.json
Check the README
- Add close-issue-label flag to correctly label closed issues by @DjoykeAbyah in #750
- Add bug and feature GitHub issue form by @ayodejidev in #744
- Add nullable return types to API mustache templates by @ayodejidev in #748
- Improve PHP CI workflow by @ayodejidev in #753
- Import Guzzle utils by @szepeviktor in #720
- Vulnerability fix: set workflow permissions by @gcatanese in #765
- Generate Checkout models by @gcatanese in #761
- Generate models for LEM/Transfers/BalanceControl/BalancePlatform by @gcatanese in #763
- Generate models for Payment Classic/Payout/Management/Recurring APIs by @gcatanese in #762
Full Changelog: v27.0.0...v28.0.0
Adyen PHP API Library v27.0.0
What's Changed
Breaking Changes 🛠
- Management API:
- In
MeApiCredentialtheassociatedMerchantAccountsstring has been removed.
- In
- Management webhooks:
- In
PaymentMethodRequestRemovedNotificationRequestthe event type has been renamed topaymentMethodRequest.removed - In
PaymentMethodScheduledForRemovalNotificationRequestthe event type has been renamed topaymentMethodRequest.scheduledForRemoval.
- In
New Features 💎
- Checkout:
- New payment methods
PixDetailsandPixRecurring. - In
PaymentRefundResponseadd attributecapturePspReference(only available for PayPal refunds). - In
ResponseAdditionalDataCommon:⚠️ therecurringRecurringDetailReferenceandrecurringShopperReferenceare deprecated, use instead the new attributetokenization.storedPaymentMethodIdandtokenization.shopperReference.- add
tokenizationStoreOperationTypeandtokenizationStoredPaymentMethodIdattributes, addtokenizationStoreOperationTypeenum.
- New payment methods
- Management API:
- In
AndroidAppaddSTATUS_ARCHIVED,STATUS_ERROR,STATUS_INVALID,STATUS_PROCESSING,STATUS_READYtoStatusAllowableValuesenum. - Support
AffirmInfoandPayToInfopayment methods. - in
Surchargeclass add attribugeexcludeGratuityFromSurcharge.
- In
- Payout:
- In
ResponseAdditionalDataCommon:⚠️ therecurringRecurringDetailReferenceandrecurringShopperReferenceare deprecated, use instead the new attributetokenization.storedPaymentMethodIdandtokenization.shopperReference.- add
tokenizationStoreOperationTypeandtokenizationStoredPaymentMethodIdattributes, addtokenizationStoreOperationTypeenum.
- In
- Classic Payments:
- In
ResponseAdditionalDataCommon:⚠️ therecurringRecurringDetailReferenceandrecurringShopperReferenceare deprecated, use instead the new attributetokenization.storedPaymentMethodIdandtokenization.shopperReference.- add
tokenizationStoreOperationTypeandtokenizationStoredPaymentMethodIdattributes, addtokenizationStoreOperationTypeenum.
- In
Important
The Recurring API is deprecated. Use the Checkout API recurring endpoints instead.
Full Changelog: v26.0.0...v27.0.0
Other Changes 🖇️
- Release v27.0.0 by @AdyenAutomationBot in #746
Full Changelog: v26.0.0...v27.0.0
Adyen PHP API Library v26.0.0
What's Changed
Breaking ⚒️
- BalancePlatform:
- Removed
PriorityRestrictionclass. - In
TransactionRuleRestrictionremovedpriority.
- Removed
- BinLookup:
- In
CostEstimateResponseremovedsurchargeType.
- In
-
- TransferWebhook:
- In
TransferReviewremovednumberOfApprovalsCompletedandscaOnApproval.
- In
- TransferWebhook:
- Transfers:
- In
TransferReviewremovednumberOfApprovalsCompletedandscaOnApproval.
- In
Features 💎
-
AcsWebhooks:
- In ChallengeInfo broadening the range of
CHALLENGE_CANCELenums.
- In ChallengeInfo broadening the range of
-
BalancePlatform:
- Added
AssociationDelegatedAuthenticationData,AssociationFinaliseRequest,AssociationFinaliseResponse,AssociationInitiateRequest,AssociationInitiateResponseandTokenRequestorsRestrictionclass. - In
TransactionRuleRestrictionaddedtokenRequestors.
- Added
-
Checkout:
- In
CardDetails,CardDonations,CheckoutPaymentMethodandDonationPaymentMethodaddedfastlaneData. - Added
FastlaneDetailsclass.
- In
-
LegalEntityManagement:
- Added
FinancialReportclass. - In
LegalEntityAssociationaddednominee. - In
OrganizationandSoleProprietorshipaddedfinancialReports.
- Added
-
Code generation: update services and models by @AdyenAutomationBot in #741
-
Services:
- BalancePlatform:
- Deprecated
GrantAccountsApiandGrantOffersApi. - In
ManageSCADevicesApiaddedcompleteAssociationBetweenScaDeviceAndResourceandinitiateAssociationBetweenScaDeviceAndResource.
- Deprecated
- Transfers:
- Deprecated
CapitalApi.
- Deprecated
- BalancePlatform:
Other Changes 🖇️
- updated readme by @DjoykeAbyah in #739
- Release v26.0.0 by @AdyenAutomationBot in #740
Full Changelog: v25.0.0...v26.0.0
Adyen PHP API Library v25.0.0
What's Changed
Breaking Changes ⚒️
- Payments:
- In
AdditionalDataAirlinechangedairlinePassengerTelephoneNumbertoairlinePassengerPhoneNumber
- In
New Features 💎
- Checkout:
- In
SplitaddedTopUp.
- In
- NegativeBalanceWarningWebhooks:
- Added
Amountclass. - Added
ModelInterfaceclass. - Added
NegativeBalanceCompensationWarningNotificationDataclass. - Added
NegativeBalanceCompensationWarningNotificationRequestclass. - Added
ObjectSerializerclass. - Added
Resourceclass. - Added
ResourceReferenceclass.
- Added
- Payments:
- In
SplitaddedTopUp.
- In
- Code generation: update services and models by @AdyenAutomationBot in #734
Other Changes 🖇️
- Add deprecation info - models by @ayodejidev in #735
- Add deprecation info for services by @ayodejidev in #737
- Fix deprecation info - remove extra new line by @ayodejidev in #738
- Release v25.0.0 by @AdyenAutomationBot in #736
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: v24.0.0...v25.0.0
Adyen PHP API Library v24.0.0
What's Changed
Breaking Changes 🛠
- Checkout API:
airlinePassengerTelephoneNumberchanged toairlinePassengerPhoneNumberinAdditionalDataAirline
New Features 💎
- Checkout API:
- Added
AffirmDetailspayment method - Added
PayPayDetailspayment method - Added
autoRescueinAdditionalDataCommon- Set to true to enable Auto Rescue - Added
maxDaysToRescueinAdditionalDataCommon- Specify the rescue window for a transaction, in days, whenautoRescueis set to true. You can specify a value between 1 and 48.
- Added
Other Changes 🖇️
- Code generation: update services and models by @AdyenAutomationBot in #733
- Release v24.0.0 by @AdyenAutomationBot in #729
- Enhanced Client and Region with support for Terminal Cloud LIVE regional endpoints by @DjoykeAbyah in #724
- fix assert for testGetCloudEndpointForTestEnvironment by @DjoykeAbyah in #727
Full Changelog: v23.2.1...v24.0.0
Adyen PHP API Library v23.2.0
What's Changed
New Features 💎
- BalancePlatform:
- Added
PriorityRestrictionclass. - In
TransactionRuleRestrictionsaddedpriority. - In
VerificationDeadline,VerificationErrorandVerificationErrorRecursiveaddedissueChargeCard,issueChargeCardCommercial,useChargeCardanduseChargeCardCommercialenum.
- Added
- ConfigurationWebhooks:
- In
VerificationDeadline,VerificationErrorandVerificationErrorRecursiveaddedissueChargeCard,issueChargeCardCommercial,useChargeCardanduseChargeCardCommercialenum.
- In
- LegalEntityManagement:
- In
VerificationDeadline,VerificationErrorandVerificationErrorRecursiveaddedissueChargeCard,issueChargeCardCommercial,useChargeCardanduseChargeCardCommercialenum.
- In
- ReportWebhooks:
- In
ReportNotificationDataaddedid
- In
- Update all services by @AdyenAutomationBot in #722
Other Changes 🖇️
- Release v23.2.0 by @AdyenAutomationBot in #723
Full Changelog: v23.1.0...v23.2.0
Adyen PHP API Library v23.1.0
What's Changed
New Features 💎
- BalancePlatform:
- Added
CounterpartyTypesRestrictionandSourceAccountTypesRestrictionclass - In
TransactionRuleRestrictionsaddedcounterpartyTypesandsourceAccountTypes
- Added
- ConfigurationWebhooks:
- In
AccountHolderNotificationRequest,BalanceAccountNotificationRequest,CardOrderNotificationRequest,PaymentNotificationRequestandSweepConfigurationNotificationRequestaddedtimestamp
- In
- Management:
- In
TerminalConnectivityCellularaddediccid2 - In
UpdatePaymentMethodInfoaddedstoreId
- In
- ManagementWebhooks:
- Added
TerminalAssignmentNotificationRequestandTerminalAssignmentNotificationResponseclass
- Added
- ReportWebhooks:
- In
ReportNotificationRequestaddedtimestamp
- In
- Update all services by @AdyenAutomationBot in #719
Other Changes 🖇️
- Release v23.1.0 by @AdyenAutomationBot in #721
Full Changelog: v23.0.0...v23.1.0