Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing code value and type not aligned with the API #160

Open
ghostika opened this issue Dec 18, 2023 · 1 comment
Open

Routing code value and type not aligned with the API #160

ghostika opened this issue Dec 18, 2023 · 1 comment

Comments

@ghostika
Copy link

There is a problem with the implementation in the PHP SDK.

During beneficiary find method, if additional routing parameters are provided, the SDK generates the following field names:

routing_code_type_1
routing_code_value_1
routing_code_type_2
routing_code_value_2

Using the method, it generates this API error response:

Invalid extra parameters:'{:routing_code_value_1=>"071922777", :routing_code_type_1=>"aba"}

The API expects an array of items: routing_code_type[0], routing_code_type[1]

@ghostika
Copy link
Author

@jonathancouchman is there any chance that you will fix this or should we just fork your API and do the fix on our own for us?
I see that another pull request has been open for 9 months now, where we also had to do a "native" API call...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant