User Basic Details

Description :

This API endpoint is used to get user basic details.

Endpoint URL :
Request Parameters
Request Parameter Data Type Default Value Required Description Change Date Change Description
Request Example
Responses (JSON)
    • Description: Data fetched successfully.
    • status_code (integer): The status code of the response.
    • data (object):
      • user_id (string): The user id of the user.
      • agent_id (string): The agent id is required for bill fetch & pay.
      • user_type (string): you will get [Retailer, Distributor, Master Distributor, API_User].
      • short_name (string): The short name of the user.
      • full_name (string): The full name of the user.
      • company_name (string): The company name of the user.
      • mobile_no (integer): The registered mobile number of the user.
      • email_id (string): The registered email id of the user.
      • profile_image (string): The profile image of the user.
      • account_status (string): The account status of the user [Active, Inactive].
      • account_open_date (string): The account open date of the user.
  • Status Code 0: Error message
    • Description: A specific error message.
    • 'status_code' (integer): 0
    • 'message' (string): "Unable to fetch data"
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