Skip to content

API Reference

The Moria API is a versioned HTTP/JSON API serving the mobile and web frontends. Every endpoint is prefixed with /v1. Authenticated endpoints accept a bearer JWT in the Authorization header or a access_token cookie.

  • Base URL{HOST}/v1 (global prefix in main.ts).
  • Auth — Bearer JWT (Authorization: Bearer <jwt>) or cookie access_token (httpOnly).
  • Content-Typeapplication/json for everything except file uploads (multipart/form-data on /v1/file-manager/*).
  • Success envelope — global ResponseInterceptor wraps the controller return as { status, statusCode, message, data }.
  • Error envelope{ message: string | string[], statusCode: number, error: string }.
  • Validation — global ValidationPipe with whitelist: true, forbidNonWhitelisted: true, transform: true. Unknown fields are rejected with 400.
#ModuleEndpointsScope
01Authentication2Basic login / logout
02Onboarding7Organization registration + OTP invite flow
03Organizations5Organization CRUD
04Users8User profile + demographic queries
05Accounts6E-wallet accounts + transfers
06ACL10Role & permission management (admin web)
07Activity Log2User activity audit trail
08File Manager8Presigned read/delete + storage utilities
09Document13User documents + organization official documents
10Saving Goals8Scheduled savings with targets
11Saving Circles8Arisan / rotating savings
12Charitable Cause10Campaign donations (wakaf, sedekah)
13Commodity Financing9Murabahah commodity financing
14Investments14Investment products (sukuk, mutual funds)
15Takaful9Sharia insurance
16Withdrawal1Withdraw to bank account
17Payments2Pay bills from balance
18Payment Gateway3Top-up via Bisabiller/Amdigipay
19Transactions5Cross-product transaction history
20Cards10Issued cards + linked cards
21Category5Master category data
22Location4Address CRUD
23Settings5Global app settings
24Customization4Per-organization theme/branding
25Search3Cross-product search
26Security6Change password, 2FA
27Pools6Internal liquidity pools
28Partner API4API keys for B2B integrators
29Health7Uptime probe + maintenance

Total: 29 modules · 184 endpoints.