The current concept seems to be mostly BS. E.g. for failed transactions, the statuscode is a 403and the response body is the proper response as described int he documentation but with data.status == "failed" and data.response_code == 40301.
The current code checks for the http status and then tries to parse the response into an ErrorResponse object, which has no json annotiation and does not seem to match the docs at all.
The current concept seems to be mostly BS. E.g. for failed transactions, the statuscode is a
403and the response body is the proper response as described int he documentation but withdata.status == "failed"anddata.response_code == 40301.The current code checks for the http status and then tries to parse the response into an
ErrorResponseobject, which has no json annotiation and does not seem to match the docs at all.