I followed the remote cloud pay tutorial here: https://docs.clover.com/docs/cloud-sdk-v3
For some reason, I am getting a 401 unauthorized when trying to establish a connection with the clover device. The when I sent the same post request from postman with the access token in the Authorization header, the request goes through. Since the clover connector library takes care of this connection and asks to pass the access token in the url as a query parameter, how can I fix this error? The error I am getting is:
POST https://sandbox.dev.clover.com/v2/merchant/9ZQTAJSQKZ391/remote_pay?access_token=26521063-b696-6059-6975-8a885a13ff8 401 (Unauthorized)