Request Token Check
To verify the validity of an Access Token, the Request Token Check endpoint can be used. This endpoint allows retrieving information about an Access Token and checking whether it is still valid.
The Request Token Check endpoint can be used as follows:
POST REST/v1/OAuth/GetTokenInfo HTTP/1.1
Host: oauth2.hin.ch
Accept: application/json
Content-Type: application/x-www-form-urlencoded
X-HIN-ORIGIN-IP: your-ip-address
token={access_token},client_id={client_id},client_secret={client_secret}
The payload of the HTTP form post must be URL encoded.