AUTH: Verify Token
This Endpoint allows a third-party system to check and verify a bearer token against the Perpetuals.com system.
The Bearer Token must be hashed as follows (in Python3):
hashed_token = hashlib.sha256(str(bearer_token).encode()).hexdigest()Example: The Bearer Token "TmdQRWtyUzZBbmRSRWw5enFqdTlxeEk4" will result in the hash "684287973aa05dc512f5fdb72cfd70809e31b11796d4139175041f75d0ff4af9"
This Endpoint allows a third-party system to check and verify a bearer token against the Perpetuals.com system.
The Bearer Token must be hashed as follows (in Python3):
hashed_token = hashlib.sha256(str(bearer_token).encode()).hexdigest()
Example: The Bearer Token "TmdQRWtyUzZBbmRSRWw5enFqdTlxeEk4" will result in the hash "684287973aa05dc512f5fdb72cfd70809e31b11796d4139175041f75d0ff4af9"
{"hashed_token":"684287973aa05dc512f5fdb72cfd70809e31b11796d4139175041f75d0ff4af9"}OK
OK
Last updated
Was this helpful?

