Forgot Password - Challenge Security Questions
Once the user completes the first step Validate Username or Email or Mobile Number by providing the valid username or email or mobile number, the user is prompted to answer the security questions.
Description
The validateUserSecurityAnswers endpoint is used to validate the user's security answers with the provided questions in order to retrieve the forgotten password of the user with the VELA application.
Request
Endpoint
/ui/v1/validateUserSecurityAnwers
Method
POST
Header
Content-Type: application/json
Authorization: Digest nonce="0cada2c21ae94896", nl="16", token="480771ff499c028178f560e395bb0d21"
Header Attributes
| ELEMENT | DESCRIPTION | FORMAT |
|---|---|---|
| Content-Type | Required Specifies the media type of the request body. |
application/json |
| Authorization | Required Authentication information used to authorize the request. The Digest authorization header contains the nonce, nonce length (nl), and token. |
Digest nonce="{nonce}", nl="{nonceLength}", token="{token}" |
| • nonce | Required Unique value used as part of the request authentication. |
e.g., 0bafa2c21ae94792 |
| • nl | Required Nonce Length. Specifies the length of the nonce value. |
e.g., 19 |
| • token | Required token is the MD5 of (Merchant Code : Secret : DATE in UTC : Nonce : Nonce Length). |
MD5 hash |
Attributes
| ELEMENT | DESCRIPTION |
|---|---|
| Security Answer | Required Must be at least 2 characters |
Request Body
{
"id": 919,
"userId": 514,
"securityQuestionId": 1,
"answer": "11",
"createdDateTime": 1582315180000,
"lastUpdatedDateTime": null,
"securityQuestion": "What was your childhood nickname?",
"message": null,
"email": null,
"mobile": null
}
Response
[
{
"id": null,
"userId": 514,
"securityQuestionId": null,
"answer": null,
"createdDateTime": null,
"lastUpdatedDateTime": null,
"securityQuestion": null,
"message": {
"code": "102",
"type": {
"value": "Informational",
"name": "INFORMATIONAL"
},
"text": null,
"include_i_icon": false,
"description": "Please choose your delivery method."
},
"email": "nxxxxxxr@gxxxl.com",
"mobile": "+1 23xxxxxx44"
}
]
Updated As Of Version 7.2.1