Test if an access token can be used for authentication with Ripple APIs and how much time remains on it.
Security
Bearer
- Mock serverhttps://docs.ripple.com/_mock/products/payments-direct-2/api-docs/payments-direct-api/payments-direct-2-api/v2/oauth/token/test
- UAT environment with simulated currencyhttps://api.test.ripple.com/v2/oauth/token/test
- Production environmenthttps://api.ripple.com/v2/oauth/token/test
curl -i -X GET \
https://docs.ripple.com/_mock/products/payments-direct-2/api-docs/payments-direct-api/payments-direct-2-api/v2/oauth/token/test \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
[ { "message": "token_ok", "seconds_to_expiry": 3600 } ]