Hello,
I'm trying to get merchant's information on my webhook callback (on my site).
I do request like this /v3/merchants/{mId}?accesstoken={generatedaccesstokenper_merchant}.
but to get this information I need to get the access_token.
I can not get access_token by this request:
'/oauth/token?clientid={appid}&code=' . $GET['code'] . '&clientsecret={secret}
cause i do not have $_GET['code'].
Dear developers and moderators, please advice me some other approach to get information from this api: /v3/merchants/{mId}?shifts, address...etc
or some way to receive merchant's token to avoid response {401: unautorised}.
Thank you in advance.