adyen-php-api-library icon indicating copy to clipboard operation
adyen-php-api-library copied to clipboard

[Bug]: Invalid value 'auBsbCode' for 'type', must be one of 'gbSortCode', 'usRoutingNumber'

Open bobbybouwmann opened this issue 7 months ago • 1 comments

Description

Fetching the transfer instrument for a legal entity results in this error.

Steps to reproduce

  1. Fetch LegalEntity using Adyen\Service\LegalEntityManagement\LegalEntitiesApi
  2. Loop over $legalEntity->getTransferInstruments()
  3. Fetch TransferInstrument using Adyen\Service\LegalEntityManagement\TransferInstrumentsApi
  4. Throws error in Adyen\Model\BalancePlatform\BankAccountAccountIdentification in the additionalBankIdentification field

Actual behavior

No response

Expected behavior

I would expect that the library would always handle any kind of data that is thrown into Adyen\Model\BalancePlatform\BankAccountAccountIdentification as how the API returns it. It looks like some new values have been introduced and are not parsing as expected.

Code snippet or screenshots (if applicable)

No response

Adyen PHP API Library version

23.2.1

PHP version

8.3

Operating System

Linux

Additional context

No response

bobbybouwmann avatar Apr 16 '25 21:04 bobbybouwmann