OTP Verification
URL
https://services.deepnetid.com/token/api/verify.asp
Input Parameters
This api function takes the following parameters:
- ClientID : Client ID of your account provided by the service provider
- ApiKey: API Key of your account provided by the service provider
- TSN: The serial number of the token to be verified
- 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:
- error: the error code of the result. 0 means success, others mean failure
- message: the description of the error
- time: the time stamp when the OTP was generated
Error Code List
Error Code | Description |
---|---|
0 | Success |
10 | Access Denied |
11 | Limit Exceeded |
20 | Missing Client ID |
21 | Incorrect Client ID |
30 | Missing API Key |
31 | Incorrect API Key |
40 | Missing Token Serial Number |
41 | Incorrect Token Serial Number |
50 | Missing OTP |
51 | Incorrect OTP |
Example
Result: {"error":0,"message":"OK","time":"2019-12-30T12:34:49000:00"}