-
Notifications
You must be signed in to change notification settings - Fork 68
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
TerminalCloudAPI async response type #1439
Comments
When calling the TerminalCloudApi (https://github.com/Adyen/adyen-node-api-library/blob/v23.3.0/src/services/terminalCloudAPI.ts#L55-L58) Could you provide a minimal example of the |
Would the following work for you: Serialize the string to a |
its fine as is, but what would be good is if the SDK just mentioned the response type could be |
That makes sense. Thank you for the feedback. |
adyen-node-api-library/src/__mocks__/terminalApi/async.ts
Line 20 in 2a4c78b
While happy path does return an "ok" string, it would appear that failed requests return a payload. Could you please confirm this and adjust the return type accordingly? Thank you!
The text was updated successfully, but these errors were encountered: