Verify- mobile OTP
Verify via Mobile OTP. After verifying OTP successfully mobile will be mobile number will be updated for further communication for perticular ABHA number.
<br> <br>Example of OTP Request<br> Mobile Update - Verify OTP: When the user wants to verify the Mobile Number for communication purpose.<br> <br> <br><b>Note:</b><br> 1.OTP will be valid for 10 minute only <br><br> The 200 response code indicates a successful request. In this context, it refers to the successful generation and delivery of an OTP (One-Time Password) for various services.<br><br> <strong>Types of OTP Responses:</strong> <ol> <li><strong> Mobile Update-Verify OTP-Positive flow:</strong> Indicates a successful request. The response includes a message indicating that the OTP has been verified successfully.</li> </ol> <ol start ="2"> <li><strong>Mobile Update-Verify OTP-OTP Expired:</strong> This error occurs when the OTP provided for verification has expired. The OTP must be used within the valid time frame to ensure secure authentication.</li> </ol> The 400 response code indicates a bad request. In this context, it refers to various errors encountered during the OTP (One-Time Password) verification process.<br><br> <ol> <li> <p><strong>Invalid OTP Value:</strong> This error occurs when the OTP value provided for verification is invalid. The OTP must be correctly formatted and match the one sent to the user’s registered mobile number</p> </li> </ol> <ol start="2"> <li> <p><strong>Invalid Transaction Id:</strong> This error occurs when the transaction ID provided in the request is invalid. The transaction ID is essential for tracking the OTP request and ensuring that the correct OTP is verified.</p> </li> </ol> <ol start="3"> <li> <p><strong>Invalid Scope:</strong> This error occurs when the scope provided in the OTP verification request for mobile update is invalid. The scope specifies the purpose of the OTP verification, such as abha-enrol, mobile-verify, etc.</p> </li> </ol> <ol start="4"> <li> <p><strong>Invalid AuthMethod - :</strong> This error occurs when the authentication method provided in the OTP verification request for mobile update is invalid. The authMethods field must contain valid authentication methods such as otp.</p> </li> </ol> The 401 response code indicates an unauthorized request. In this context, it refers to the lack of proper authentication during the operation of the Invalid CredentialsAuthorizations
Authorizationbearer tokenRequiredHeaders
REQUEST-IDstringRequiredTIMESTAMPstringRequiredBody
scopestring[]RequiredauthDataobjectRequiredauthData.authMethodsstring[]RequiredauthData.otpobjectRequiredauthData.otp.txnIdstringRequiredauthData.otp.otpValuestringRequiredResponses
200400401