Not a login method
This endpoint only manages the password of an INFINN account. It does not log you in and does not return a token. API login is OAuth only: see Authentication.
Endpoint
Text
POST https://api.infinn.in/NorenWClientAPI/ChangepwdSend one form field, jData, holding a JSON string with the fields below.
Request fields
| Field | Required | Meaning |
|---|---|---|
| uid | required | Your INFINN user ID. |
| oldpwd | required | SHA-256 hash of the current password. |
| pwd | required | The new password (plain text; sent over HTTPS only). |
Response fields
| Field | Meaning |
|---|---|
| stat | Ok or Not_Ok. |
| dmsg | On success: a message that may say when the new password expires. |
| emsg | Why it failed, e.g. the new password was one of the last 3, or it is not at least 8 letters and numbers. |
Example (dummy values)
Text
curl -X POST https://api.infinn.in/NorenWClientAPI/Changepwd \
-d 'jData={"uid":"IN001","oldpwd":"<sha256 of current password>","pwd":"NewDemoPass9"}'Success looks like:
Text
{"stat":"Ok","dmsg":"Password Change Success"}Never put real PAN, date of birth or passwords in code, logs or tickets. Help: [email protected].