Token exchange
POST
https://passport.freedompay.kz/api/v1/oauth/token
oauth2
redirect_uri
with an appended authorization_code
parameter.access_token
and refresh_token
for subsequent operations.revoke_uri
is not empty, it can be called by the FreedomID side after the end of the user's main session.This is necessary so that the user has the opportunity to recall all sessions on the partner side after logging out of the FreedomID personal account.
When calling this URL, the POST method is used, the following structure is transferred in the request body:
{
"id": "{TOKEN_ID}"
}
Request
Body Params application/json