Returns information about an OAuth access token or an application’s personal access token.
POST
/oauth2/token/status
Returns information about an OAuth access token or an application’s personal access token.
Add the access token to the Authorization header of the request.
Important: The Authorization
header you provide to this endpoint must have the following format:
Authorization: Bearer ACCESS_TOKEN
where ACCESS_TOKEN
is a valid production authorization credential.
If the access token is expired or not a valid access token, the endpoint returns an UNAUTHORIZED
error.
Guide
The date and time when the access_token
expires, in RFC 3339 format. Empty if the token never expires.
The Square-issued application ID associated with the access token. This is the same application ID used to obtain the token.