Skip to main content

Register MPIN

This API allows users to set a Mobile PIN (MPIN), which can then be used for quick login, avoiding the need to enter the User ID and password every time. 

🔑Header Parameters

HeaderTypeDescriptionExample
Content-typestringSpecifies the format of the request body.application/json
AuthorizationstringThe access token used for authentication.{{access_token}}
x-api-keystringThe API key for identifying the application.{{x-api-key}}

📦Request Body Schema

FieldTypeRequiredDescriptionExample/ENUM
mpinintegerYesThe 4 to 6 digit numeric PIN the user wishes to set.1234
mobile_udidstringNoThe unique device identifier of the user's mobile. Used for mobile login<=50 charactersA1B2C3D4E5F6
  • mpin: Should be a 4 to 6 digit number (e.g., 1234, 987654).
  • mobile_udid: A string representing the device's UDID , used for identifying the user's device when using MPIN for login. This field is optional.

🟢Success Response : 200 OK

FiledTypeDescriptionExample
statusstringStatus of the request."success"
codestringResponse code indicating the result."s-101"
messagestringA message giving further details."MPIN/Fingerprint Registered Successfully."
post/authentication/v1/user/mpin