Pictorial vector schematic detailing traffic ingress, microservices coordination, and lender partner gateways.
Step-by-step chronological message exchange from Lead Intake to Commission Payout Settlement.
| Cloud Provider & VM | Google Cloud Platform (GCP Compute Engine) |
| Instance / Hostname | digital-haryana-rupeeq (Debian GNU/Linux 12) |
| Public Static IP | 34.63.201.248 |
| Domain & SSL | fincrm.digitalharyana.online (Let's Encrypt TLS 1.3) |
| Service Daemon | rupeeq-ms-fincrm.service (Systemd Managed) |
| Runtime Environment | Python 3.11 ThreadingHTTPServer (Port 4008) |
| Storage & Journal | SQLite 3 with Write-Ahead Logging (WAL mode) |
| Web Document Root | /home/sadahaqtrustrohtak3/rupeeq_platform/web |
[Unit]
Description=RupeeQ PAN-India Microservice (fincrm) - Port 4008
After=network.target
[Service]
Type=simple
User=sadahaqtrustrohtak3
WorkingDirectory=/home/sadahaqtrustrohtak3/rupeeq_platform
ExecStart=/usr/bin/python3 /home/sadahaqtrustrohtak3/rupeeq_platform/microservices/ms_fincrm.py
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
| Method | Endpoint | Description | Payload / Params | Response |
|---|---|---|---|---|
| GET | /api/fincrm/health |
Service health check and database connection status | None | {"status": "healthy", "service": "ms_fincrm"} |
| GET | /api/fincrm/dashboard |
Aggregated metrics: leads, active apps, disbursals, brokerage | None | KPI summary & lender partner status list |
| GET | /api/fincrm/leads |
Retrieve all ingested leads with CIBIL score & loan product | None | Array of FinCRM lead records |
| POST | /api/fincrm/leads |
Intake new borrower lead and trigger LMS auto-sync | {full_name, mobile, pan, loan_product, amount} |
{"success": true, "lead_id": "L-..."} |
| GET | /api/fincrm/applications |
List multi-lender loan applications with sanction details | None | Array of application stages and ROIs |
| GET | /api/fincrm/disbursals |
List executed loan disbursals with UTR & account numbers | None | Array of disbursal records |
| GET | /api/fincrm/payouts |
List calculated brokerage payouts and settlement vouchers | None | Payout ledger: Gross, TDS, Net Payable |
| POST | /api/fincrm/sync/trigger |
Manually trigger partner portal scraping / API sync cycle | {"lender_code": "BAJAJ_FINSERV"} |
{"success": true, "records_fetched": 4} |