diff --git a/content/Internet/wifi-nepal.md b/content/Internet/wifi-nepal.md new file mode 100644 index 00000000..5212f23b --- /dev/null +++ b/content/Internet/wifi-nepal.md @@ -0,0 +1,78 @@ +# **WiFi Nepal V4** + +**Type: Two-Step API** + +### 1. **Detail Fetch API** + +**Request URL:** `{{base_url}}/api/servicegroup/details/wifi-nepal-v4/` + +**Request Method:** POST + +**Service Params:** + +

+{
+    "token": "{{token}}",
+    "reference": "{{$guid}}",
+    "username": "33222"
+}
+
+ +**Response:** + +

+{
+    "session_id": 48250,
+    "case": "advance",
+    "package": {
+        "id": 299,
+        "name": "Festival Offer 100 Mbps/mnth"
+    },
+    "due_amount": 10000,
+    "subscriber": {
+        "name": "sajilo net",
+        "phone": "1234567890",
+        "address": "Jeebandan oil suppliers, NH09, Pyuthan-07",
+        "subscriber_id": 218300
+    },
+    "status": true
+}
+
+ +### 2. **Payment API** + +**Request URL:** `{{base_url}}/api/servicegroup/commit/wifi-nepal-v4/` + +**Request Method:** POST + +**Service Params:** + +

+{
+    "token": "{{token}}",
+    "session_id": "{{session_id}}",
+    "subscriber_id": "{{subscriber_id}}",
+    "amount": 10000,
+    "reference": "{{$guid}}"
+}
+
+ +**Response:** + +

+{
+    "status": true,
+    "state": "Success",
+    "message": "Successfully Completed Transaction",
+    "extra_data": {},
+    "detail": "Subscription paid successfully",
+    "credits_consumed": 10000,
+    "credits_available": "xx.xx",
+    "id": 190543
+}
+
+ +### **Important Notes:** + +1. **Session ID**: Obtained from the Detail Fetch API response +2. **Amount**: Should match the `due_amount` from the Detail Fetch API response diff --git a/content/Servicescodes/changelog.md b/content/Servicescodes/changelog.md index 3ab60d7b..7c2b80dd 100644 --- a/content/Servicescodes/changelog.md +++ b/content/Servicescodes/changelog.md @@ -1,8 +1,16 @@ ## **Change Log** +**Version 8.4, Feb 10th 2026** + + * Wifi nepal new Docs Updated Please Refer to [Wifi Nepal](../Internet/wifi-nepal.md). + * Waste Management New Service Added Please Refer to [Waste Management](../waste/waste-mgmt.md) + + **Version 8.3, Jan 14th 2026** * Arhant Life Insurance - Loan Repayment. + + **Version 8.2, Dec 5th 2025** * Meroshare and Demat document added. diff --git a/content/index.md b/content/index.md index 22ec8a78..613335a9 100644 --- a/content/index.md +++ b/content/index.md @@ -2,9 +2,9 @@ # **Khalti Services Documentation** -## *Version 8.3* +## *Version 8.4* -## *Last Update 14th Jan , 2026* +## *Last Update 10th Feb , 2026* **Check the [Change Log]( Servicescodes/changelog.md) here.** diff --git a/content/waste/waste-mgmt.md b/content/waste/waste-mgmt.md new file mode 100644 index 00000000..983e44c8 --- /dev/null +++ b/content/waste/waste-mgmt.md @@ -0,0 +1,220 @@ +# **{SERVICE_NUMBER}. Waste Management** + +Please find the name of the waste management services and their respective slugs. + +| Service Name | Slug | +|--------------|------| +| Clean Nepal Kathmandu | clean-nepal-kathmandu | +| Clean Nepal Surkhet | clean-nepal-surkhet | +| Action Waste Baneshwor | action-waste-baneshwor | +| Active Nepal Boudha | active-nepal-boudha | +| Creative Sarsafai | creative-sarsafai | +| Sarbakalyan Sewa Thankot | sarbakalyan-sewa-thankot | +| Nepal Batabaran Srijana | nepal-batabaran-srijana | +| Metro City Waste Management | metro-city-waste-management | +| Nepal Fulbari Waste Management | nepal-fulbari-waste-management | +| Nepal Swocha Batabaran Srijana Kendra | nepal-swocha-batabaran-srijana-kendra | +| Nepal Swocha Batabaran Samrachan Samiti | nepal-swocha-batabaran-samrachan-samiti | +| Kirtipur Fohor Bebasthapan | kirtipur-fohor-bebasthapan | +| Nepco - National Environment Pollution Control | national-environment-pollution-control | + +**Type: Multi-Step API** + +### 1. **Service List API** + +**Request URL:** `{{base_url}}/api/servicegroup/servicelist/waste-management/` + +**Request Method:** POST + +**Service Params:** + +

+{
+    "token": "{{token}}"
+}
+
+ +**Response:** + +

+{
+    "services": [
+      
+        {
+            "service_name": "Clean Nepal Kathmandu",
+            "service_slug": "clean-nepal-kathmandu"
+        },
+        {
+            "service_name": "Koteshwor Waste Management",
+            "service_slug": "koteshwor-waste-management"
+        }
+    ],
+    "status": true
+}
+
+ +### 2. **Detail Fetch API** + +**Request URL:** `{{base_url}}/api/servicegroup/details/waste-management/` + +**Request Method:** POST + +**Service Params:** + +

+{
+    "token": "{{token}}",
+    "reference": "{{$guid}}",
+    "card_no": "customer_card_number",
+    "service_slug": "clean-nepal-kathmandu",
+    "mobile_no": "customer_mobile_number"
+}
+
+ +**Response:** + +

+{
+    "customer_id": 116,
+    "customer_name": "Chiri Mai Maharjan",
+    "card_no": "1",
+    "mobile_no": "9800000000",
+    "per_month_rate": 450.0,
+    "past_payments": [
+        {
+            "year_from": 2081,
+            "year_to": 2081,
+            "month_from": 8,
+            "month_to": 9,
+            "total_paid": 900.0,
+            "order_key": "18864"
+        },
+        {
+            "year_from": 2081,
+            "year_to": 2081,
+            "month_from": 10,
+            "month_to": 12,
+            "total_paid": 1350.0,
+            "order_key": "26303"
+        },
+        {
+            "year_from": 2082,
+            "year_to": 2082,
+            "month_from": 1,
+            "month_to": 1,
+            "total_paid": 450.0,
+            "order_key": "30497"
+        }
+    ],
+    "year_list": [
+        {
+            "label": "2076",
+            "value": 2076
+        },
+        {
+            "label": "2077",
+            "value": 2077
+        },
+        {
+            "label": "2078",
+            "value": 2078
+        },
+        {
+            "label": "2079",
+            "value": 2079
+        },
+        {
+            "label": "2080",
+            "value": 2080
+        },
+        {
+            "label": "2081",
+            "value": 2081
+        },
+        {
+            "label": "2082",
+            "value": 2082
+        },
+        {
+            "label": "2083",
+            "value": 2083
+        }
+    ],
+    "session_id": 954,
+    "status": true
+}
+
+ +### 3. **Calculate API** + +**Request URL:** `{{base_url}}/api/servicegroup/calculate/waste-management/` + +**Request Method:** POST + +**Service Params:** + +

+{
+    "token": "{{token}}",
+    "session_id": 954,
+    "month_from": 4,
+    "month_to": 5,
+    "year_from": 2081,
+    "year_to": 2081
+}
+
+ +**Response:** + +

+{
+    "status": true,
+    "detail": {
+        "total_amount": 900.0,
+        "total_month": 2.0,
+        "rate": 450.0
+    }
+}
+
+ +### 4. **Payment API** + +**Request URL:** `{{base_url}}/api/servicegroup/commit/waste-management/` + +**Request Method:** POST + +**Service Params:** + +

+{
+    "token": "{{token}}",
+    "session_id": 954,
+    "amount": 900.0,
+    "reference": "{{$guid}}",
+    "service_slug": "clean-nepal-kathmandu"
+}
+
+ +**Response:** + +

+{
+    "status": true,
+    "state": "Success",
+    "message": "Successfully Completed Transaction",
+    "extra_data": {},
+    "detail": "Transaction Success",
+    "credits_consumed": 900.0,
+    "credits_available": xxxx,
+    "id": 180108
+}
+
+ +### **Important Notes:** + +1. **Session ID**: Obtained from Detail Fetch API response, required for Calculate and Payment APIs +2. **Service Slug**: Select from the Service List API response or use slugs from the table above +3. **Card No & Mobile No**: Required for Detail Fetch API to retrieve customer information +4. **Date Parameters**: Use Nepali calendar months (1-12) and years from the `year_list` in Detail Fetch API +5. **Amount**: Should match the `total_amount` from Calculate API response +6. **Per Month Rate**: Available in Detail Fetch API response for reference \ No newline at end of file diff --git a/docs/404.html b/docs/404.html index 6cc62351..f7920cf6 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1266,6 +1266,29 @@ +
  • + + + + + + Wifi Nepal + + + + + +
  • + + + + + + + + + +
  • @@ -3055,7 +3078,7 @@ - Ride + Waste Management @@ -3065,6 +3088,74 @@ + +
  • + + + + + + + + + + + + + + +
  • + + + + + + + + +