Validate OTP
API endpoint to validate OTP and reset the user password.
/NorenWClientAPI/ValidOTPPwdAuthorization token is required. Enter your access_token from GenAcsTok above.
"Use proxy" sends this request through this website's server, which never logs request or response bodies. Infinn sees the docs server's IP, not yours. Turn it off to send directly from your browser instead.
jData fields
Values are sent as a JSON string in the jData form field.
User Id
- Example:
YOUR_USER_ID - Where to get it: The ID you log in with at trade.infinn.in (User ID = Client ID). Also returned as uid by GenAcsTok.
New password to be sent in plain text
OTP needs to be sent in this field
Authorization Token
Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.
⚠ When "Use proxy" is on, this token is sent through this website's server on its way to Infinn. It is never logged here, but if you would rather it never leave your browser, turn off "Use proxy" above or use the ready code with your own client instead.
Request to be POSTed to url:
/NorenWClientAPI/ValidOTPPwd
Request Details
| Parameter Name | Possible Value | Description |
|---|---|---|
| jData* | Should send JSON object with fields in the below list | |
| Authorization* | Bearer <access_token> | access_token from GenAcsTok response. Required for all API calls. |
JSON Fields
| JSON Fields | Possible Value | Description |
|---|---|---|
| uid* | User Id | |
| pwd* | New password to be sent in plain text | |
| otp* | OTP needs to be sent in this field |
Response Details
Response data will be in JSON format with the below fields.
| JSON Fields | Possible Value | Description |
|---|---|---|
| ReqStatus | See list below | Request status |
| errmsg | Error message |
Possible ReqStatus values:
- Password Reset Success
- OTP expired
- Invalid OTP
- Please enter an alphanumeric password of minimum 8 characters. Refer password criteria for more details
- Password couldn't be changed as it is among the previous 3 passwords
✅ Sample Success Response
{
"ReqStatus": "Password Reset Success"
}
</details>curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/ValidOTPPwd' \
--header 'Authorization: Bearer PASTE_ACCESS_TOKEN_HERE' \
--header 'Content-Type: text/plain' \
--data 'jData={"uid":"YOUR_USER_ID","pwd":"","otp":""}'