{"service":"verb-backend-demo","version":"1.0.0","description":"Cloudflare Workers demo backend for Verb Driver Mobile App","endpoints":{"health":{"method":"GET","path":"/health","description":"Service health check"},"auth":[{"method":"POST","path":"/api/v1/auth/send-otp","description":"Request OTP for phone login"},{"method":"POST","path":"/api/v1/auth/verify-otp","description":"Verify OTP and obtain session"},{"method":"GET","path":"/api/v1/auth/session","description":"Current driver session"}],"driver":[{"method":"GET","path":"/api/v1/driver/profile","description":"Driver profile"},{"method":"GET","path":"/api/v1/driver/documents","description":"Driver document status"},{"method":"GET","path":"/api/v1/driver/gate-status","description":"Bidding authorization status"},{"method":"POST","path":"/api/v1/driver/documents/upload","description":"Upload and verify document"}],"rateCards":[{"method":"GET","path":"/api/v1/rate-cards","description":"Kerala statutory rate cards by vehicle type"}],"trips":[{"method":"GET","path":"/api/v1/trips/available","description":"List of nearby active trip requests"},{"method":"POST","path":"/api/v1/trips/estimate","description":"Fare calculation estimate"},{"method":"GET","path":"/api/v1/trips/:id","description":"Single trip request details"},{"method":"GET","path":"/api/v1/trips/:id/bids","description":"Driver bids for a trip request"},{"method":"POST","path":"/api/v1/trips/:id/bid","description":"Submit a driver bid for a trip request"}],"wallet":[{"method":"GET","path":"/api/v1/wallet/summary","description":"Wallet balance and transaction ledger"},{"method":"GET","path":"/api/v1/wallet/earnings","description":"Daily and weekly earnings metrics"}]}}