You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

OTP Verification

URL

https://services.deepnetid.com/token/api/verify.asp

Input Parameters

This api function takes the following parameters:

  1. ClientID : Client ID of your account provided by the service provider
  2. ApiKey: API Key of your account provided by the service provider
  3. TSN: The serial number of the token to be verified
  4. OTP: The one-time password generated from the token

Output Result

The output of this api function is a JSON object containing the following key/value pairs:

  1. error: the error code of the result. 0 means success, others mean failure
  2. message: the description of the error
  3. time: the time stamp when the OTP was generated

Error Code List

Error CodeDescription
0Success
10Access Denied
11Limit Exceeded
20Missing Client ID
21Incorrect Client ID
30Missing API Key
31Incorrect API Key
40Missing Token Serial Number
41Incorrect Token Serial Number
50Missing OTP
51Incorrect OTP

Example

Call: https://services.deepnetid.com/token/api/verify.asp?clientID=10000001&ApiKey=cl99SDNZV1k=&tsn=1906234986&otp=576151

Result: {"error":0,"message":"OK","time":"2019-12-30T12:34:49000:00"}



  • No labels