{"message":"API Optik Livina - Node.js Version","version":"1.0.0","authentication":{"POST /api/auth/login":"Login endpoint - supports both email/tipe and username/user_type formats"},"marketing":{"GET /api/marketing/dashboard":"Marketing dashboard with omset, setoran, customers, transactions stats (requires auth)","GET /api/marketing/omset":"Get marketing omset/revenue data (requires auth)","GET /api/marketing/setoran":"Get marketing setoran/deposits data (requires auth)","GET /api/marketing/customers":"Get marketing customer list with pagination (requires auth)","GET /api/marketing/transactions":"Get marketing transaction list with pagination (requires auth)","GET /api/marketing/stats":"Get marketing statistics summary (requires auth)","GET /api/marketing/profile":"Get marketing profile information (requires auth)"},"debug":{"GET /api/debug/db/info":"Database connection info (development only)","GET /api/debug/db/tables":"List all tables (development only)","GET /api/debug/db/table/:tableName":"Get table structure (development only)","GET /api/debug/db/validate/:tableName":"Validate table columns (development only)","GET /api/debug/logs":"Get recent application logs (development only)"},"endpoints":{"GET /api/product/list":"Daftar semua produk (cached)","GET /api/product/detail/:id":"Detail produk (deprecated)","GET /api/product/detail-pusat/:id":"Detail produk pusat (cached)","GET /api/product/detail-cabang/:id":"Detail produk cabang (cached)","POST /api/product/detail-new":"Detail produk dengan autentikasi","PUT /api/product/update":"Update produk"},"cache_management":{"GET /api/product/cache/stats":"Statistik cache (auth required)","POST /api/product/cache/clear":"Hapus cache berdasarkan pattern (auth required)","POST /api/product/cache/clear-all":"Hapus semua cache (auth required)"},"wilayah":{"GET /api/wilayah/provinces":"Daftar semua provinsi di Indonesia (cached)","GET /api/wilayah/province/:id":"Detail provinsi berdasarkan ID","GET /api/wilayah/regencies/:province_id":"Daftar kabupaten/kota berdasarkan ID provinsi (cached)","GET /api/wilayah/districts/:regency_id":"Daftar kecamatan berdasarkan ID kabupaten/kota (cached)","GET /api/wilayah/villages/:district_id":"Daftar desa/kelurahan berdasarkan ID kecamatan (cached)"},"qr_point":{"POST /api/qr-point/check":"Check QR code and get customer transactions (requires auth)","PUT /api/qr-point/assign":"Assign QR code to customer (requires auth)","GET /api/qr-point/customer/:qrCode":"Get customer information by QR code (requires auth)"},"tripay":{"GET /api/tripay/test-connection":"Test Tripay API connection (requires auth)","GET /api/tripay/payment-channels":"Get available payment channels (requires auth)","POST /api/tripay/create-payment":"Create new payment transaction (requires auth)","GET /api/tripay/status/:reference":"Check payment status (requires auth)","GET /api/tripay/details/:reference":"Get payment details (requires auth)","GET /api/tripay/pending/:kode_transaksi":"Check pending payment for transaction (requires auth)","POST /api/tripay/cancel":"Cancel payment transaction (requires auth)","GET /api/tripay/redirect/:id/:payment_method":"Redirect to payment page (requires auth)","POST /api/tripay/callback":"Handle Tripay payment callback (webhook)"},"bank_accounts":{"GET /api/bank-accounts":"Get all bank accounts for transfer payments (optional query: bank)","GET /api/bank-accounts/banks":"Get list of available bank names","GET /api/bank-accounts/:id":"Get specific bank account by ID"}}