đī¸ Service Provider Management Overview (Admin)
The Service Provider Management Module allows administrators to manage external service providers responsible for executing on-ground civic works such as sanitation, road maintenance, electrical repairs, and infrastructure support.
This module acts as a central registry and payment tracking system for all service providers involved in civic operations.
Service providers do not have platform access.
All actions are controlled and monitored exclusively by administrators.
đ¯ Objectives
- Maintain a verified registry of service providers
- Enable activation or deactivation of providers
- Track payments made to providers
- Ensure transparency and accountability in civic expenditures
- Support structured coordination between administration and external agencies
đĨ Roles & Access
| Role | Access |
|---|---|
| Admin | Full access |
| Super Admin | Full access |
| Citizen | â No access |
| Solver | â No access |
| Service Provider | â No direct access |
đ§Š Models Involved
service_providersservice_provider_categoriesprovider_zone_mappingprovider_payments
đ High-Level Workflow
- Admin creates a service provider
- Provider details are stored in the registry
- Provider can be activated or deactivated
- Work is executed through offline coordination
- Admin records payment settlement
- Payment history is stored for auditing
đĻ Available API Endpoints
đĸ Provider Registry
| Action | Method | Endpoint |
|---|---|---|
| Create Provider | POST |
/api/admin/service-providers/ |
| List Providers | GET |
/api/admin/service-providers/ |
âī¸ Provider Status Management
| Action | Method | Endpoint |
|---|---|---|
| Activate Provider | POST |
/api/admin/service-providers/{id}/activate/ |
| Deactivate Provider | POST |
/api/admin/service-providers/{id}/deactivate/ |
đ° Payment Management
| Action | Method | Endpoint |
|---|---|---|
| Mark Payment Paid | POST |
/api/admin/service-providers/{id}/payments/ |
| View Payment History | GET |
/api/admin/service-providers/{id}/payments/ |
đ Authentication
All endpoints require a valid Admin Bearer Token.
đ Governance & Compliance
- Service providers do not authenticate into the system
- Payments recorded are settlement records only
- No real-money transfer is processed within the platform
- All actions are audit-loggable
- Designed for municipal-level accountability
đ Future Enhancements (Not in v1)
- Provider performance scoring
- Contract and tenure tracking
- Invoice uploads
- Tender-based onboarding
- Automated provider recommendations
âšī¸ This module ensures structured provider management, controlled payments, and transparent civic operations without introducing unnecessary financial or legal complexity.