Skip to main content

Change MPIN

This API allows the user to change their MPIN (Mobile Personal Identification Number). It is useful when the MPIN has expired or the user decides to change it. This API cannot be used if the user has forgotten their existing MPIN.

🔑Header Parameters

HeaderTypeDescriptionExample
Content-typestringSpecifies the format of the request body.application/json
x-api-keystringThe API key provided by SynapseWave for authentication.x-api-key

📦Request Body Schema

FieldTypeRequiredDescriptionExample/ENUM
user_idstringYesUnique client code(UCC) assigned to the user.user123
old_mpinintegerYesThe existing MPIN (between 4 and 6 digits) that the user wants to change1234
new_mpinintegerYesThe new MPIN (between 4 and 6 digits) that the user wants to set.5678
api_keystringYesThe API key provided by SynapseWave for authentication.api-key
sourcestringYesThe application from which the user has logged in. Can be WEBAPI or MOBILEAPI.WEBAPI, MOBILEAPI

🟢Success Response - 200 Ok

If the MPIN Change is successful, the response will contain the following.

FieldTypeDescriptionExample
statusstringStatus of the request, typically "success"."success"
codestringResponse code indicating the result of the request."s-101"
messagestringA message confirming the MPIN change."MPIN changed successfully."
put/authentication/v1/user/mpin