{"message":"Smart Finance Backend API v1","version":"0.1.0","status":"active","environment":"production","features":["Firebase Authentication","Receipt AI Parsing with Gemini","Transaction Categorization","FCM Push Notifications","Secure API Endpoints"],"endpoints":{"auth":{"verify":"POST /v1/auth/verify (public)","me":"GET /v1/auth/me (protected)","refresh":"POST /v1/auth/refresh (protected)"},"receipts":{"parse":"POST /v1/receipts (protected)","categorize":"POST /v1/receipts/categorize (protected)"},"transactions":{"create":"POST /v1/transactions (protected)","list":"GET /v1/transactions (protected)","get":"GET /v1/transactions/:id (protected)","update":"PATCH /v1/transactions/:id (protected)","delete":"DELETE /v1/transactions/:id (protected)","stats":"GET /v1/transactions/stats (protected)"},"notifications":{"sendToToken":"POST /v1/notifications/send-to-token (protected)","sendToUser":"POST /v1/notifications/send-to-user (protected)","sendToTopic":"POST /v1/notifications/send-to-topic (protected)","subscribe":"POST /v1/notifications/subscribe (protected)","unsubscribe":"POST /v1/notifications/unsubscribe (protected)","status":"GET /v1/notifications/status (protected)"},"analytics":{"dashboard":"GET /v1/analytics/dashboard (protected)","spending":"GET /v1/analytics/spending (protected)","income":"GET /v1/analytics/income (protected)","budget":"GET /v1/analytics/budget (protected)","trends":"GET /v1/analytics/trends/:metric (protected)","charts":"GET /v1/analytics/charts/:chartType (protected)","summary":"GET /v1/analytics/summary (protected)","export":"GET /v1/analytics/export (protected)"},"reports":{"create":"POST /v1/reports (protected)","list":"GET /v1/reports (protected)","get":"GET /v1/reports/:reportId (protected)","download":"GET /v1/reports/:reportId/download (protected)","delete":"DELETE /v1/reports/:reportId (protected)","retry":"POST /v1/reports/:reportId/retry (protected)"},"users":{"profile":"GET /v1/users/profile (protected)","updateProfile":"PATCH /v1/users/profile (protected)","currencies":"GET /v1/users/currencies (protected)"},"legal":{"privacy":"GET /privacy-policy.html (public)","terms":"GET /terms-of-service.html (public)","deleteAccount":"GET /delete-account.html (public)","privacyRedirect":"GET /privacy (public)","termsRedirect":"GET /terms (public)","deleteAccountRedirect":"GET /delete-account (public)"}},"authentication":{"required":true,"type":"Firebase ID Token","header":"Authorization: Bearer <firebase_id_token>","note":"All v1 routes except /v1/auth/verify require authentication"}}