import requests
import json
cloverUrl='https://apisandbox.dev.clover.com/v3/merchants/XXXX'
apiHeader={'Authorization': 'Bearer {xxcxcxcxc}',"accept": "application/json"}
orders=requests.get(cloverUrl,apiHeader)
print(orders)
API call fails with 401 but same is successful when calling from post man.