Skip to content

Resume lost password process

Request

This is the second and final step in updating the password of a user who forgot their password.

Security
api-key
Bodyapplication/jsonrequired
noncestring(Nonce)^[0-9]{6}$required

A randomly generated one-time use code.

emailstring, (email)(Email)required

E-mail Address of the user

newPasswordobject(SensitivePassword)required

The user's password or passcode used to log in a user. Passwords must be:

  • minimum 8 characters for end-users (Consumers and Corporates); 12 characters for others
  • maximum 30 characters
  • include a lowercase character
  • include an uppercase character
  • include a digit and a special character
  • different from any of the 5 last such passwords used.

For non-PCI compliant integrations, the password submitted must be tokenised.

curl -i -X POST \
  https://sandbox.weavr.io/multi/passwords/lost_password/resume \
  -H 'Content-Type: application/json' \
  -H 'api-key: YOUR_API_KEY_HERE' \
  -d '{
    "nonce": "string",
    "email": "user@example.com",
    "newPassword": {
      "value": "pa$$word"
    }
  }'

Responses

Success

Headers
request-refstringrequired

A request identifier. Providing this reference when contacting our support team will help us investigate your query.

Bodyapplication/json
tokenstring

An authorisation token to be used in the Authorization header for secured operations.

Response
{ "token": "string" }