{"name":"Cointy - TrueLayer Integration Server","version":"1.1.0","endpoints":{"auth":{"GET /auth":"Start OAuth flow - redirects to TrueLayer","GET /callback":"OAuth callback handler","POST /refresh":"Refresh access token"},"session":{"GET /session/validate":"Check if session is valid (no API call)","DELETE /session":"Logout / delete session"},"data":{"GET /accounts":"List all accounts","GET /accounts/:id":"Get account details","GET /accounts/:id/balance":"Get account balance","GET /accounts/:id/transactions":"Get account transactions","GET /accounts/:id/pending":"Get pending transactions"},"cards":{"GET /cards":"List all cards","GET /cards/:id/balance":"Get card balance","GET /cards/:id/transactions":"Get card transactions"},"info":{"GET /info":"Get user identity info","GET /health":"Health check"},"ai":{"POST /ai/chat":"Generic finance Q&A via OpenRouter (blocks personal/transaction data)"}},"authentication":"Include X-Session-Id header with your session ID after OAuth","note":"Sessions are persisted to disk and survive server restarts. Expired tokens are automatically refreshed."}