Admin CRM — Merchant Use Cases

A. Document controlA. Kiểm soát tài liệu

Doc IDCPG-UC-CPG-CRM_UC_Merchant
VersionPhiên bản1.0
StatusTrạng tháiDraft
OwnerCPG BA / Architecture
AudienceĐối tượngBA, QA, Product, Frontend, Backend
ClassificationPhân loạiInternal
Effective dateNgày hiệu lực02/12/2026
Related docs CRM Merchant TC · CRM Merchant FSD · 02A CRM Merchant

B. Version historyB. Lịch sử phiên bản

Version Date Author ChangesThay đổi
1.0 02/12/2026 Khoa Trinh Version 1.0

C. Table of contentsC. Mục lục

D. ContentD. Nội dung

Catalog

UC ID Name Linked TC count Categories
UC-MM-05 Load merchant list default 18 Function, Security, Validation
UC-MM-01 Add Merchant button opens create flow 28 Function, Security, Validation
UC-MM-02 KYC tab loads with Manual mode 10 Function, Validation
UC-MM-04 Service Register panel shows tier limits 8 Function, Validation
UC-MM-03 Default fee fields are locked when "Use default" checked 7 Function, Validation

Use cases

UC-MM-05 — Load merchant list default

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Load merchant list default
  • Primary BR (from TC): 3.1.1

Linked test cases

  • MM-L-001 — Load merchant list default (Function)
  • MM-L-002 — Search by Name returns matching merchants (Function)
  • MM-L-003 — Search by Phone Number (Function)
  • MM-L-004 — Search by Merchant ID (Function)
  • MM-L-005 — Filter by Status = Active (Function)
  • MM-L-006 — Filter by Status = Inactive (Function)
  • MM-L-007 — Filter by Tier (Function)
  • MM-L-008 — Filter by Business Type (Function)
  • MM-L-009 — Filter by KYC Status (Function)
  • MM-L-010 — Filter by Merchant Manager (Function)
  • MM-L-011 — Filter by Merchant Support (Function)
  • MM-L-012 — Combined filters work together (Function)
  • MM-L-013 — Search with no results shows empty state (Validation)
  • MM-L-014 — Open Edit Merchant from row action (Function)
  • MM-L-016 — Toggle merchant status Active->Inactive (Function)
  • MM-L-017 — Toggle merchant status Inactive->Active (Function)
  • MM-L-018 — Cancel status change confirmation (Function)
  • MM-L-019 — Permission: status toggle hidden/disabled (Security)

Representative preconditions

User logged in with merchant:view

Representative main flow

Open Merchants list

Expected outcome

Merchant list displayed with default filters

UC-MM-01 — Add Merchant button opens create flow

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Add Merchant button opens create flow
  • Primary BR (from TC): 3.1.1

Linked test cases

  • MM-L-015 — Add Merchant button opens create flow (Function)
  • MM-E-001 — Edit Merchant page loads (Function)
  • MM-E-002 — Switch tabs without saving does not auto-save (Function)
  • MM-E-003 — Tab selection persists visually (Function)
  • MM-G-001 — Merchant ID is read-only (Security)
  • MM-G-002 — Required fields validation (Validation)
  • MM-G-003 — Email is read-only (Security)
  • MM-G-004 — Phone format validation (if enforced) (Validation)
  • MM-G-005 — Change Business Type (Function)
  • MM-G-006 — Change Tier updates tier hint text (Function)
  • MM-G-007 — KYC Status dropdown read-only (Security)
  • MM-G-008 — Manager assignment (Function)
  • MM-G-009 — Supporter assignment (Function)
  • MM-G-010 — Payment Services Registered multi-select required (Validation)
  • MM-G-011 — Start merchant onboarding (Function)
  • MM-G-012 — Suspend merchant checkbox requires confirmation (Function)
  • MM-G-013 — Cancel suspend confirmation (Function)
  • MM-G-014 — Permission: restricted fields disabled (Security)
  • MM-DOC-001 — Documents list loads (Function)
  • MM-DOC-002 — Add Document opens upload form (Function)
  • MM-DOC-003 — Upload valid document (Function)
  • MM-DOC-004 — Reject unsupported file type (Validation)
  • MM-DOC-005 — Reject oversize file (Function)
  • MM-DOC-006 — File name link downloads/opens (Function)
  • MM-DOC-007 — Edit document notes (Function)
  • MM-DOC-008 — Delete document requires confirmation (Function)
  • MM-DOC-009 — Cancel delete confirmation (Function)
  • MM-DOC-010 — Permission: delete hidden for non-admin (Security)

Representative preconditions

Merchant exists

Representative main flow

Change Tier

Expected outcome

Tier description/fee hint updates accordingly (if UI supports)

UC-MM-02 — KYC tab loads with Manual mode

  • Actor: Admin CRM user (role per RBAC)
  • Goal: KYC tab loads with Manual mode
  • Primary BR (from TC): 3.1.4

Linked test cases

  • MM-KYC-001 — KYC tab loads with Manual mode (Function)
  • MM-KYC-002 — Required KYC fields validation (Validation)
  • MM-KYC-003 — Date fields accept valid format (Function)
  • MM-KYC-004 — Save KYC Information persists (Function)
  • MM-KYC-005 — Toggle verification checklist items (Function)
  • MM-KYC-006 — KYC Approve (Function)
  • MM-KYC-007 — KYC tab loads with Provider mode (Function)
  • MM-KYC-008 — Start KYC (Function)
  • MM-KYC-009 — Sync KYC Staus (Function)
  • MM-KYC-010 — Sync KYC Staus (Function)

Representative preconditions

Merchant exists

Representative main flow

Open KYC tab

Expected outcome

Manual KYC visible; fields displayed

UC-MM-04 — Service Register panel shows tier limits

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Service Register panel shows tier limits
  • Primary BR (from TC): 3.1.8

Linked test cases

  • MM-PS-001 — Service Register panel shows tier limits (Function)
  • MM-PS-002 — Registered services list shows checkboxes and tags (Function)
  • MM-PS-003 — Enable a service (Function)
  • MM-PS-004 — Disable a service (Function)
  • MM-PS-007 — Numeric validation for % fields (Validation)
  • MM-PS-011 — Save Service Configuration persists (Function)
  • MM-PS-014 — Cancel does not save changes (Function)
  • MM-PS-015 — Tier restrictions prevent selecting disallowed services (Function)

Representative preconditions

Merchant exists

Representative main flow

Observe list

Expected outcome

Services listed; each has Crypto/Fiat tag

UC-MM-03 — Default fee fields are locked when "Use default" checked

  • Actor: Admin CRM user (role per RBAC)
  • Goal: Default fee fields are locked when "Use default" checked
  • Primary BR (from TC): 3.1.9

Linked test cases

  • MM-PS-005 — Default fee fields are locked when "Use default" checked (Function)
  • MM-PS-006 — Uncheck "Use default" enables editing (Function)
  • MM-PS-008 — Numeric validation for fixed fee fields (Validation)
  • MM-PS-009 — Settlement Period dropdown validation (Validation)
  • MM-PS-010 — Fee Summary updates when values change (Function)
  • MM-PS-012 — Approve button visible only for admin (Function)
  • MM-PS-013 — Admin approves configuration (Function)

Representative preconditions

User role non-admin

Representative main flow

Open tab

Expected outcome

Approve Service Configuration hidden/disabled

E. ReferencesE. Tham chiếu