You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When passing a SaleToPoiMessage as parameter in any of the following classes:
TerminalApiAsyncService
TerminalApiSyncService
TerminalApiLocalService
An error Adyen.HttpClient.HttpClientException : '400: BadRequest, ResponseBody: {"errors":["At toplevel: Missing"]}' will be thrown, because the backend (and the terminal itself) cannot read the JSON that starts with:
{
"SaleToPoiMessage" : {
...
}
}
The correct request object should be:
{
"SaleToPoiRequest": {
}
}
Expected behavior
The current interface allows developers to pass the SaleToPoiMessage-object, let's enforce the SaleToPoiRequest in the interface.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
When passing a
SaleToPoiMessage
as parameter in any of the following classes:TerminalApiAsyncService
TerminalApiSyncService
TerminalApiLocalService
An error
Adyen.HttpClient.HttpClientException : '400: BadRequest, ResponseBody: {"errors":["At toplevel: Missing"]}'
will be thrown, because the backend (and the terminal itself) cannot read the JSON that starts with:The correct request object should be:
{ "SaleToPoiRequest": { } }
Expected behavior
The current interface allows developers to pass the
SaleToPoiMessage
-object, let's enforce theSaleToPoiRequest
in the interface.Screenshots
Additional context
The text was updated successfully, but these errors were encountered: