Skip to content

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

@bobbybouwmann

Description

@bobbybouwmann

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions