Service Plan Fetch Api

Fetch Service Plan Details

Description :

This API endpoint is used to fetch service package details.

Endpoint URL :
Request Parameters
Request Parameter Data Type Default Value Required Description Change Date Change Description
Request Example
Responses (JSON)
    • status_code (integer): The status code of the response.
    • message: Data fetched successfully.
    • data (object):
      • id (integer): Package id.
      • package_ribbon (string): Package ribbon name
      • package_title (string): Package name
      • package_sub_title (string): Package sub name
      • package_amount (string): Package amount
      • package_gst_rate (string): Package gst rate
      • service_list (string): Package service list
      • package_validity (string): Package validity it's contain days
      • note1 (string): Package note1
      • note2 (string): Package note2
      • note3 (string): Package note3
      • package_activation_date (string): Package activation date
      • package_deactivation_date (string): Package deactivation date
      • package_status (string): If package is active it show Active Plan, if not active then show blank
  • 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