adyen-php-api-library
adyen-php-api-library copied to clipboard
[Bug]: Unable to get transfer instrument for CA
Description
getTransferInstrument return an error for CA
Steps to reproduce
- Install Adyen library
- Call getTransferInstrument method
Actual behavior
When calling $transferInstrumentsApi->getTransferInstrument($tranferInstrumentId); I am getting the following error : Invalid value 'caRoutingNumber' for 'type', must be one of 'gbSortCode', 'usRoutingNumber'
Expected behavior
getTransferInstrument should return the object \Adyen\Model\LegalEntityManagement\TransferInstrument or null
Code snippet or screenshots (if applicable)
No response
Adyen PHP API Library version
22.1
PHP version
8.1
Operating System
Linux
Additional context
No response
Apologies for the inconvenience, I see that the OpenAPI spec file doesn't support yet the enum caRoutingNumber.
I will contact the Dev Team responsible for this and get them to update it asap.
This is a similar issue as #755
Apologies for the delay, this should be addressed by #804. Can you maybe confirm? Thank you
Fixed by #804