Forgot Password

The following are the steps related to Forgot Password functionality.

  1. Validate Username or Email or Mobile Number

  2. Challenge Security Questions

  3. Pick Your Delivery Method

Step 1: Validate Username or Email or Mobile Number

Description

The validateUsernameOrEmailOrMobileNumber endpoint is used to retrieve the forgotten password of the user with the VELA application by providing the username or email or mobile number.

Request

Endpoint

/ui/v1/validateUsernameOrEmailOrMobileNumber  

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

JSON Body Attributes

ELEMENT DESCRIPTION
Username or Email or Mobile Number Required

Either Username or Email or Mobile Number is required
firstName Required

First Name of the user
lastName Required

Last Name of the user

Request Body

{
    "id":"",
    "userName":"merchant.user1",
    "currentPassword":"",
    "password":"",
    "reEnterPassword":"",
    "firstName":"Vela",
    "lastName":"User",
    "mobile":"",
    "email":"",
    "reEnterEmail":"",
    "user_name":"**************",
    "mobile_number":"",
    "merchantCode":"VELA"

}

Response

[
    {
        "id": 301,
        "userId": 213,
        "securityQuestionId": 1,
        "answer": "",
        "createdDateTime": 1571353292000,
        "lastUpdatedDateTime": null,
        "securityQuestion": "What was your childhood nickname?",
        "message": null,
        "email": null,
        "mobile": null
    }
]

Updated As Of Version 7.2.1