question

charles-plante avatar image
charles-plante asked

SDK Auth not working anymore

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()


the AuthResult give me a token like this : aa90e097-ee0c-8877-da8e-edba456daa37

REST APIClover Android SDKAuthauth tokens
10 |2000

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

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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