๐Ÿ“‹ Overview

Hub dokumentasi API untuk seluruh ekosistem ikavia.com. Pilih service di sidebar atau lewat parameter ?p=<name>: - Account Service โ€” Auth, RBAC, organizations (Rust, REST) - Chat Service โ€” Realtime team chat, threaded (Go, REST + WebSocket) - Media Service โ€” Files, storage, sharing (Rust, REST) - Notification Service โ€” Email/Telegram/WhatsApp + AMQP events (Go, gRPC + RabbitMQ) - WACCA Service โ€” SaaS multi-tenant laundry platform (Go, REST)

๐Ÿ” Account Service

Authentication & RBAC source-of-truth

๐Ÿ’ฌ Chat Service

Realtime team chat โ€” REST + WebSocket

๐Ÿ“ Media Service

File upload, download, metadata

๐Ÿ”” Notification Service

Multi-channel async notifications

๐Ÿงบ WACCA Service

SaaS multi-tenant untuk bisnis laundry

๐Ÿ’ณ Payment Service

Payment gateway/adapter โ€” charge, webhook, history

Base URL

Constraints

๐Ÿ” Account Service

Login, register, JWT/session, RBAC roles, organizations, audit logs, service grants. SSO refresh-cookie scoped to .ikavia.com. REST API documented via OpenAPI 3.1.

๐Ÿ’ฌ Chat Service

Channels, DM, threaded messages dengan ScyllaDB persistence + Redis pub/sub fan-out untuk multi-instance WS scale. JWT auth delegated ke account-service. Production di chat.ikavia.com, staging di chat-dev.ikavia.com.

๐Ÿ“ Media Service

Storage abstraction (local FS default), MIME blocklist, per-user quota, folder hierarchy. Authenticates via JWT issued by account-service.

๐Ÿ”” Notification Service

Notification inbox multi-platform: ingest via RabbitMQ (store-then-send, idempotent), delivery via Telegram & Email (SMTP/Postfix), inbox REST API di notification.ikavia.com dengan JWT account-service.

๐Ÿงบ WACCA Service

Tenant โ†’ Outlet โ†’ Items (service/product/driver) โ†’ Prices per-outlet. Galeri foto via media-service, jam operasional, status buka/tutup real-time. JWT auth delegated ke account-service. Production di wacca.ikavia.com.

๐Ÿ’ณ Payment Service

Adapter ke provider pembayaran (Xendit, BCA SNAP): charge/disburse, terima webhook provider (verifikasi signature per-adapter), dan catat history in/out untuk audit. Bukan billing โ€” tanpa wallet/saldo/ledger. JWT auth delegated ke account-service. Di payment.ikavia.com (saat ini staging โ€” provider creds menyusul).

๐Ÿ”„ Service Flow Diagram

Visualisasi alur data antara services

๐Ÿ” Credentials

Konfigurasi credentials untuk testing API

๐Ÿ’ก Info: Credentials tersimpan per environment di browser Anda (localStorage) dan tidak dikirim ke server.

Cara Menggunakan

1
Isi credentials di atas
2
Klik "Endpoints" di sidebar untuk memilih API
3
Klik "Try It" pada endpoint yang ingin di-test
4
Pilih metode autentikasi dan klik Send

๐Ÿ” Authentication

Methods and permissions for API access

Permissions

PermissionDescription