adyen-php-api-library
adyen-php-api-library copied to clipboard
[Bug]: Invalid value 'auBsbCode' for 'type', must be one of 'gbSortCode', 'usRoutingNumber'
Description
Fetching the transfer instrument for a legal entity results in this error.
Steps to reproduce
- Fetch LegalEntity using
Adyen\Service\LegalEntityManagement\LegalEntitiesApi - Loop over
$legalEntity->getTransferInstruments() - Fetch TransferInstrument using
Adyen\Service\LegalEntityManagement\TransferInstrumentsApi - Throws error in
Adyen\Model\BalancePlatform\BankAccountAccountIdentificationin theadditionalBankIdentificationfield
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