aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index 169d955..5d53f6e 100644
--- a/client.go
+++ b/client.go
@@ -274,7 +274,7 @@ func (cl *Client) MerchantInquiry(req *MerchantInquiry) (resp *MerchantInquiryRe
if err != nil {
return nil, fmt.Errorf(`%s: %w`, logp, err)
}
- if httpRes.StatusCode >= 400 {
+ if httpRes.StatusCode >= 500 {
return nil, fmt.Errorf(`%s: %s: %s`, logp, httpRes.Status, resBody)
}