https://docs.clover.com/docs/query-web-services
I tried this code but always received 401
val
client =
OkHttpClient
()
val
request =
Request
.
Builder
()
.url( "https://apisandbox.dev.clover.com/v3/merchants/Y0YYA1WQ2KX11" )
.addHeader( "Authorization" , "••••••" )
.build
() val response = client.newCall(request).execute()
.url( "https://apisandbox.dev.clover.com/v3/merchants/Y0YYA1WQ2KX11" )
.addHeader( "Authorization" , "••••••" )
.build
() val response = client.newCall(request).execute()
the AuthResult give me a token like this : aa90e097-ee0c-8877-da8e-edba456daa37