Users List By Parent Api

Users List By Parent

Description :

This API endpoint is used to get the Users List By Parent id.

Endpoint URL :
Request Parameters
Request Parameter Data Type Default Value Required Description Change Date Change Description
offset integer 0 No number of records to skip before starting to return results.
limit integer 10 No determines the maximum number of records to return in the response.
Request Example
Responses (JSON)
    • status_code (integer): The status code of the response.
    • message: Records successfully fetched.
    • total_records (integer): Total records to be fetched.
    • data (this is array object):
      • id (integer): id of record.
      • user_id (string): Dealer code of the downline user.
      • user_type (string): Downline user type.
      • slab_id (integer): Slab id.
      • full_name (string): Name of the user.
      • company_name (string): Company name of the user.
      • company_type (string): Company type of the user.
      • mobile_no (string): Mobile number of the user.
      • email_id (string): Email id of the user.
      • profile_image (string): profile image of the user.
      • balance_transfer (string): does user has balance transfer right.
      • reverese_balance (string): does user has balance reverse right.
      • credit_amount (string): User current due.
      • main_wallet (string): User current balance.
  • Status Code 0: Error message
    • Description: A specific error message.
    • 'status_code' (integer): 0
    • 'message' (string): "there is no data found"
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