How do I test Hosted checkout with PowerShell I keep getting Authtication errors.
Below is the response from Powershell:
Invoke-RestMethod : The remote server returned an error: (401) Unauthorized.
At line:30 char:13
+ $response = Invoke-RestMethod 'https://dev1.dev.clover.com/invoicingc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand