Verification OTP Send Api

Verification OTP Send

Description :

This API endpoint is used to send a verification otp.

Endpoint URL :
Request Parameters
Request Parameter Data Type Default Value Required Description Change Date Change Description
username Integer Yes Please enter mobile no
Request Example
Responses (JSON)
  • status_code (integer): The status code of the response.
  • message: (string): Please enter otp to reset password
  • username (string): user name
  • mobile_no (string): masked mobile no of user
  • email_id (string): Masked email of user
  • Status Code 2: Validation Error
    • Description: Validation error in the input parameters.
    • 'status_code' (integer): 2
    • 'message' (string): "A specific validation error message."
  • Status Code 0: Error message
    • Description: A specific error message.
    • 'status_code' (integer): 0
    • 'message' (string): "Username is invalid"
Note
  • The API endpoint should be accessed via a POST request.
  • Ensure that the request is properly validated and sanitized to prevent security vulnerabilities.
  • Implement proper error handling on the client side to display user-friendly error messages based on the 'status_code' and 'message' fields in the response.
© Redpay.
Design & Develop by Redpay Payments Private Limited