question

biermi avatar image
biermi asked David Marginian Deactivated answered

Unable to issue a refund

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?

Refund
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

David Marginian avatar image
David Marginian Deactivated answered

The permissions required for our EComm API are documented here - https://docs.clover.com/docs/ecommerce-app-permissions.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community