November 29, 20206 yr 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"
November 30, 20206 yr Hello dear user, please use content type: Content-Type: application/x-www-form-urlencoded instead Headers. Edited November 30, 20206 yr by Jay Rock
November 30, 20206 yr 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?