# Test access token

Test if an access token can be used for authentication with Ripple APIs and how much time remains on it.

Endpoint: GET /oauth/token/test
Security: Bearer

## Response 200 fields (application/json):

  - `message` (string)
    Success message
    Example: "token_ok"

  - `seconds_to_expiry` (integer)
    Remaining time in seconds before the tested token expires.
    Example: 3600

## Response 400 fields (application/json):

  - `error_description` (string)
    Summary of the returned problem.
    Example: "Unauthorized"

  - `error` (string)
    Error status.
    Example: "access_denied"


