question

adh avatar image
adh asked bryanvargas answered

Problem with API

We are developing an application where users can see all menus and order menus of the restaurant which are registered with clover.

We have some issues. Can you please help us ?


1, We are getting 401 Unauthorized error while fetching any API, will it work for INDIA ?

2, Can you explain how we can generate authorization token to fetch all APIs ? We have to generate a token through the backend (NodeJs) so how can I do that without generating a web app ?
REST APIOAuthAPI Token
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

·
bryanvargas avatar image
bryanvargas answered

Have you taken a look at our common 401 troubleshooting: https://docs.clover.com/docs/401-unauthorized

You need a valid OAuth token(unique for each merchant so each merchant will have to download and open your app for the call to be made). More information on how to generate this is found here: https://docs.clover.com/docs/oauth-intro

10 |2000

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

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