Set MPIN
This API allows the user to set a new MPIN.
Prerequisite: The user must have validated the OTP through the " Verify OTP " API before calling this.
🔑Header Parameters
| Header | Type | Required | Description | Example/ENUM |
|---|---|---|---|---|
| Content-type | string | Yes | Content Type of the request | application/json |
| x-api-key | string | Yes | API provided for access | x-api-key |
📦Request Body Schema
| Field | Type | Required | Description | Example/ENUM |
|---|---|---|---|---|
| user_id | string | Yes | Unique client code (UCC) assinged to the user | "UCC123456" |
| mpin | string | Yes | New MPIN to be set by the user | "12345" |
| mobile_udid | string | Yes | Unique device identifier of the mobile device | A1B23456 |
| otp | string | Yes | OTP sent to user for verification | 987654 |
| api_key | string | Yes | API provided by Snapsewave | abcde123456 |
| source | string | Yes | Application source from which the user is logged in | "WEBAPI" , "MOBILEAPI" |
🟢Success Response- 200 Ok
| Field | Type | Description | Example |
|---|---|---|---|
| status | string | Indicates the status of the API request | "success" |
| code | string | A Response code indicating the result of the call | "s-101" |
| message | string | Message confirming the MPIN was set successfully | "MPIN& Fingerprint Set Successfully" |
post
/authentication/v1/user/mpin/reset/verify-otp