OAuth
RetrieveTokenStatus
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.
post/oauth2/token/status
Response
Success
Example response
{
"client_id": "CLIENT_ID",
"expires_at": "2022-10-14T14:44:00Z",
"merchant_id": "MERCHANT_ID",
"scopes": [
"PAYMENTS_READ",
"PAYMENTS_WRITE"
]
}