Customers are unable to issue refunds through the ecommerce API. We've verified that this is indeed the case in the sandbox environment. Our bearer token results in other successful API requests.
{ "name": "StatusError", "message": "Unauthorized", "statusCode": 401, "headers": { "cache-control": "no-cache, no-store, must-revalidate", "pragma": "no-cache", "expires": "Tue, 17 Sep 1991 10:00:00 PST", "x-clover-request-id": "f0a29abc-7735-5098-2847-3aee465a6257", "x-frame-options": "deny", "referrer-policy": "no-referrer", "strict-transport-security": "31536000", "x-content-type-options": "nosniff", "x-robots-tag": "none", "content-length": "95", "content-type": "application/json; charset=utf-8", "date": "Fri, 14 May 2021 13:41:25 GMT", "via": "1.1 google", "alt-svc": "clear", "connection": "close" } }
Is the Payments Write Permission required to issue a refund?