Skip to content
View in the app

A better way to browse. Learn more.

Loyverse Town

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

O-Auth token

Featured Replies

From the documentation at https://developer.loyverse.com/docs/#section/Authorization/OAuth-2.0

Once you have the authorization code, your app can now request an access token by sending a request to the following Access Token URL:

https://api.loyverse.com/oauth/token

The payload of your request must be with Content-Type: application/x-www-form-urlencoded and include:

client_id

client_secret

redirect_uri

code

grant_type (specify ‘authorization_code’)

 

What are the client_id and client_secret and where can they be found?
I have tried the AppID and App Secret from the dashboard at developer.loyverse.com, but that doesn't seem to work. I am getting the error "UNAUTHORIZED/No client secret set"

 

image.thumb.png.510ade500ccec2609663a000e8bb1513.png

 

Hello dear user, please use content type:

Content-Type: application/x-www-form-urlencoded instead Headers.




1296672502_Screenshotfrom2020-11-3014-14-14.thumb.png.44c4781f254dd80e5e35f1d2a2d548be.png

Edited by Jay Rock

  • Author

Thanks for your rely. All appears working now.

Can you confirm the unit of measurement for the "expires_in" return value? Is it seconds?

In seconds

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.