Welcome to KSP Electronics Developer Documentation
The KSP Electronics REST API enables enterprise partners, mobile client applications, field engineering tablets, and 3D printer hardware scanners to interface programmatically with the KSP Electronics service and logistics platform.
Key Capabilities
* **Public Service Tracking**: Track printer repair tickets and status without requiring user account credentials.
* **Hardware Asset Tagging**: Scan 8-character QR codes and NFC chips to instantly resolve machine telemetry, warranty coverage, and repair logs.
* **Field Service Automation**: Affix physical chassis stickers and bind them directly to printer records on-site.
* **Customer Lifecycle APIs**: Manage customer 3D printer fleets, digital repair estimate approvals, AMC (Annual Maintenance Contract) quotas, and invoices.
* **Event-Driven Webhooks**: Ingest real-time SMS/WhatsApp delivery reports (Fast2SMS DLR), payment settlement events (Cashfree), and field appointments (Cal.com).
Base Environments
| Environment | Base URL | Gateway Type |
| :--- | :--- | :--- |
| **Production** | `https://service.kspelectronics.in` | Anycast Edge CDN, SSL Termination, Multi-Region Failover |
| **Sandbox / Staging** | `https://staging.service.kspelectronics.in` | Isolated Staging Environment |
| **Local Development** | `http://localhost:3000` | Local developer instance |
Protocol & Serialization
* All endpoints use **HTTPS** on port 443 with TLS 1.3 encryption.
* Request bodies and responses default to **`application/json; charset=utf-8`** unless explicitly documented (e.g. multipart fault evidence uploads).
* Timestamps are returned in ISO 8601 UTC format: `YYYY-MM-DDTHH:mm:ss.sssZ`.
* Monetary values are represented in Indian Rupees (INR `₹`) with paise precision or whole rupee integers.