CPG-CRM FSD Report
FSD — Admin CRM
A. Document controlA. Kiểm soát tài liệu
| Doc ID | CPG-FSD-CPG-CRM_FSD_Report |
|---|---|
| VersionPhiên bản | 1.0 |
| StatusTrạng thái | Draft |
| Owner | CPG BA / Architecture |
| AudienceĐối tượng | Frontend, Backend, FlyPay Support, QA, Product |
| ClassificationPhân loại | Internal |
| Effective dateNgày hiệu lực | 01/12/2026 |
| Related docs | Admin CRM Index · BR/NFR Catalog |
B. Version historyB. Lịch sử phiên bản
| Version | Date | Author | ChangesThay đổi |
|---|---|---|---|
| 1.0 | 01/12/2026 | Khoa Trinh | Version 1.0 |
C. Table of contentsC. Mục lục
- 1. Module Scope
- 2. User Roles
- 3. Functional Requirements
- 3.1 Features
- 3.1.2 Account Report
- 3.1.3 Compliance Report
- 3.1.4 Merchant Report
- 3.1.5 Revenue Report
- 3.1.6 Settlement Report
- 3.1.7 Transaction Report
- 3.1.8 Export Functionality
- 3.2 Use Cases (User Stories)
- 4. User Interface
- 4.1 Common Layout
- 4.2 Report Screens
- 4.3 UX Rules
- 5. API Routes
D. ContentD. Nội dung
1. Module Scope
The Report Management module provides configurable, exportable, and filterable reporting capabilities across core business domains of the crypto payment gateway.
It enables internal users to view, analyze, and export operational and compliance data for crypto and fiat activities.
Covered report types:
- Account Report
- Compliance Report
- Merchant Report
- Revenue Report
- Settlement Report
- Transaction Report
Key objectives:
- Unified reporting interface
- Advanced multi-criteria filtering
- Export in CSV, Excel, and PDF formats
- Support both Crypto and Fiat domains
- Read-only, audit-friendly data access
2. User Roles
Role | Description |
|---|---|
Admin User | Full access to all reports and exports |
Finance Manager | Access to revenue, settlement, transaction reports |
Compliance Officer | Access to compliance and transaction reports |
Merchant Support | View merchant and account reports |
Read-only Auditor | View-only access, export allowed |
3. Functional Requirements
3.1 Features
3.1.1 Report Navigation & Structure
- Reports are grouped under Reports menu
- Each report has:
- Title
- Domain tabs (Crypto / Fiat)
- Advanced filter section
- Data table
- Export actions
3.1.2 Account Report
- Domains: Crypto Accounts / Fiat Accounts
- Filters:
- Merchant
- Blockchain
- Tier
- Status
- Total Balance (From / To)
- Created Date (From / To)
- Data Columns:
- Account ID
- Account Name
- Merchant
- Blockchain
- Balance
- Status
- Created Date
- Last Activity
3.1.3 Compliance Report
- Domains: Crypto Compliance / Fiat Compliance
- Filters:
- Merchant
- Compliance Type (AML, KYC)
- Risk Level
- Status
- Reviewed By
- Filing Date (From / To)
- Data Columns:
- Report ID
- Merchant
- Type
- Risk Level
- Status
- Filing Date
- Reviewed By
- Findings
- Action Required
- Due Date
3.1.4 Merchant Report
- Domains: Crypto Merchants / Fiat Merchants
- Filters:
- Merchant
- Business Type
- Status
- KYC Status
- Revenue Range
- Join Date (From / To)
- Data Columns:
- Merchant ID
- Merchant Name
- Business Type
- Status
- Total Revenue
- Transactions
- Accounts
- KYC Status
- Join Date
- Last Activity
3.1.5 Revenue Report
- Domains: Crypto Revenue / Fiat Revenue
- Filters:
- Merchant
- Revenue Range
- Date Range
- Data Columns:
- Merchant
- Total Revenue
- Transactions
- Avg Transaction
- Tax
- Net Revenue
3.1.6 Settlement Report
- Domains: Crypto Settlements / Fiat Settlements
- Filters:
- Merchant
- Batch ID
- Status
- Currency
- Transaction Date (From / To)
- Settlement Date (From / To)
- Data Columns:
- Batch ID
- Merchant
- Transaction Date
- Settlement Date
- Total Amount
- Transactions
- Fee
- Net Amount
- Currency
- Status
3.1.7 Transaction Report
- Domains: Crypto Transactions / Fiat Transactions
- Filters:
- Merchant Name
- Transaction Type
- Status
- Payment Method
- Currency
- Amount Range
- Date Range
- Data Columns:
- Transaction ID
- Merchant
- Amount
- Currency
- Type (Payment / Refund)
- Status
- Payment Method
- Date
- Time
3.1.8 Export Functionality
- Supported formats:
- CSV
- Excel
- Export respects:
- Active filters
- Current domain (Crypto / Fiat)
- Export actions available at report header level
3.2 Use Cases (User Stories)
Detailed use-case catalog for this module is maintained under 08_UC:Catalog use case chi tiết của module này được quản lý tại 08_UC:
4. User Interface
4.1 Common Layout
- Page Header:
- Breadcrumb
- Report title
- Export buttons (CSV / Excel / PDF)
- Domain Tabs:
- Crypto / Fiat
- Advanced Filters Panel:
- Multi-row filter layout
- Dropdowns, text inputs, date pickers
- “Apply Filters” CTA
- Data Table:
- Paginated
- Total records indicator
- Fixed column headers
- Pagination Controls:
- Page number
- Items per page selector
4.2 Report Screens
- Account Report

- Compliance Report

- Merchant Report

- Revenue Report

- Settlement Report

- Transaction Report

4.3 UX Rules
- Filters persist until reset or navigation
- Empty state shown when no records match
- Monetary values formatted by currency
- Status displayed as color-coded badges
- IDs clickable where applicable
5. API Routes
Base path: /api/v1
Method | Route | Purpose | Notes |
|---|---|---|---|
GET | /api/reports/accounts | Retrieve account report data | Supports crypto/fiat via query param |
GET | /api/reports/compliance | Retrieve compliance reports | Filter by risk, status, type |
GET | /api/reports/merchants | Retrieve merchant reports | Revenue & activity metrics |
GET | /api/reports/revenue | Retrieve revenue reports | Aggregated by merchant |
GET | /api/reports/settlements | Retrieve settlement reports | Batch-based data |
GET | /api/reports/transactions | Retrieve transaction reports | Payment & refund |
POST | /api/reports/export | Export report data | Format: csv/xlsx/pdf |
GET | /api/reports/filters/meta | Retrieve filter metadata | Dropdown values |