when I try to use the api :"https://scl-sandbox.dev.clover.com/v1/refunds", it came out "{"message":"401 Unauthorized","error":{"code":"processing_error","message":"401 Unauthorized"}}", What should I set?
when I try to use the api :"https://scl-sandbox.dev.clover.com/v1/refunds", it came out "{"message":"401 Unauthorized","error":{"code":"processing_error","message":"401 Unauthorized"}}", What should I set?
There could be a variety of reasons, please review: https://docs.clover.com/docs/401-unauthorized and attempt to troubleshoot.
We already check the possible reason of the link you send.
My test account is available, be able to pay successfully. just cannot refund. Im stuck here
The permissions required for the ecomm api are documented here - https://docs.clover.com/docs/ecommerce-app-permissions.
Per the link Bryan posted, you likely either don't have the correct permission OR you added it AFTER you installed your app. If that is the case you need to uninstall and re-install your app.
6 People are following this question.