Merchant Portal — Account Use Cases
A. Document controlA. Kiểm soát tài liệu
| Doc ID | CPG-UC-MP-ACC |
|---|---|
| VersionPhiên bản | 1.0 |
| StatusTrạng thái | Draft |
| Owner | CPG BA / Architecture |
| AudienceĐối tượng | BA, QA, Product, Frontend, Backend |
| ClassificationPhân loại | Internal |
| Effective dateNgày hiệu lực | 01/12/2026 |
| Related docs | 02A Account SPECs · MP Account FSD · CRM Account FSD · MP Account TC · Account RTM |
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. Introduction & Scope1. Giới thiệu & phạm vi
- 2. Agents & rights (operations)2. Tác nhân & quyền (nghiệp vụ)
- 3. Catalog Use Case theo actor
- 3.1 Group A — Merchant Admin3.1 Nhóm A — Merchant Admin
- UC-ACC-A01 — View / filter Hot WalletsUC-ACC-A01 — Xem / lọc Hot Wallets
- UC-ACC-A02 — Create Hot Wallet (+ 2FA)UC-ACC-A02 — Tạo Hot Wallet (+ 2FA)
- UC-ACC-A03 — Request HW activation (+ 2FA)UC-ACC-A03 — Yêu cầu kích hoạt HW (+ 2FA)
- UC-ACC-A04 — View / filter Beneficiary WalletsUC-ACC-A04 — Xem / lọc Beneficiary Wallets
- UC-ACC-A05 — Create BW — BYOW (+ 2FA)UC-ACC-A05 — Tạo BW — BYOW (+ 2FA)
- UC-ACC-A06 — Create BW — Web3Auth (+ 2FA)UC-ACC-A06 — Tạo BW — Web3Auth (+ 2FA)
- UC-ACC-A07 — Create BW inline when creating HWUC-ACC-A07 — Tạo BW inline khi tạo HW
- UC-ACC-A08 — View / filter Virtual AccountsUC-ACC-A08 — Xem / lọc Virtual Accounts
- UC-ACC-A09 — Create Virtual Account (+ 2FA)UC-ACC-A09 — Tạo Virtual Account (+ 2FA)
- UC-ACC-A10 — Enable / disable Virtual Account (+ 2FA)UC-ACC-A10 — Bật / tắt Virtual Account (+ 2FA)
- UC-ACC-A11 — Copy address / open explorerUC-ACC-A11 — Copy địa chỉ / mở explorer
- UC-ACC-A12 — View Payout AccountsUC-ACC-A12 — Xem Payout Accounts
- UC-ACC-A13 — Create Payout Account (+ 2FA)UC-ACC-A13 — Tạo Payout Account (+ 2FA)
- UC-ACC-A14 — Request Payout cap change (+ 2FA)UC-ACC-A14 — Yêu cầu đổi trần Payout (+ 2FA)
- UC-ACC-A15 — Activate / deactivate Payout Account (+ 2FA)UC-ACC-A15 — Bật / tắt Payout Account (+ 2FA)
- UC-ACC-A16 — View Refund AccountsUC-ACC-A16 — Xem Refund Accounts
- UC-ACC-A17 — Create Refund Account (+ 2FA)UC-ACC-A17 — Tạo Refund Account (+ 2FA)
- UC-ACC-A18 — Request Refund cap change (+ 2FA)UC-ACC-A18 — Yêu cầu đổi trần Refund (+ 2FA)
- UC-ACC-A19 — Activate / deactivate Refund Account (+ 2FA)UC-ACC-A19 — Bật / tắt Refund Account (+ 2FA)
- 3.2 Group F — Merchant Finance3.2 Nhóm F — Merchant Finance
- UC-ACC-F01 — View / filter HW, BW, VAUC-ACC-F01 — Xem / lọc HW, BW, VA
- UC-ACC-F02 — Create BW (+ 2FA)UC-ACC-F02 — Tạo BW (+ 2FA)
- UC-ACC-F03 — Create VA (+ 2FA)UC-ACC-F03 — Tạo VA (+ 2FA)
- UC-ACC-F04 — Copy / explorer
- UC-ACC-F05 — View Payout / Refund AccountsUC-ACC-F05 — Xem Payout / Refund Accounts
- UC-ACC-F06 — Approve PA/RA activation or cap (≠ maker)UC-ACC-F06 — Duyệt kích hoạt / trần PA/RA (≠ maker)
- 3.3 Group O — Merchant Operator3.3 Nhóm O — Merchant Operator
- UC-ACC-O01 — View / filter AccountsUC-ACC-O01 — Xem / lọc Accounts
- UC-ACC-O02 — Create VA (+ 2FA)UC-ACC-O02 — Tạo VA (+ 2FA)
- UC-ACC-O03 — Copy / explorer
- 3.4 Group P — Merchant Approver3.4 Nhóm P — Merchant Approver
- UC-ACC-P01 — Approve BW (+ 2FA)UC-ACC-P01 — Duyệt BW (+ 2FA)
- UC-ACC-P02 — Reject BW (+ 2FA)UC-ACC-P02 — Từ chối BW (+ 2FA)
- UC-ACC-P03 — View BW approval queueUC-ACC-P03 — Xem hàng đợi BW chờ duyệt
- UC-ACC-P04 — Approve / reject PA/RA activation (+ 2FA)UC-ACC-P04 — Duyệt / từ chối kích hoạt PA/RA (+ 2FA)
- UC-ACC-P05 — Approve / reject PA/RA cap change (+ 2FA)UC-ACC-P05 — Duyệt / từ chối đổi trần PA/RA (+ 2FA)
- 3.5 Group R — Read-only3.5 Nhóm R — Read-only
- UC-ACC-R01 — Xem Accounts (read-only)
- UC-ACC-R02 — Copy / explorer (Support)
- 3.6 Group S — FlyPay Support3.6 Nhóm S — FlyPay Support
- UC-ACC-S01 — Handle HW activation ticket — ApproveUC-ACC-S01 — Xử lý ticket kích hoạt HW — Approve
- UC-ACC-S02 — Reject HW activation ticketUC-ACC-S02 — Từ chối ticket kích hoạt HW
- UC-ACC-S03 — List / filter merchant accounts (HW/BW/PA/RA)UC-ACC-S03 — Liệt kê / lọc account merchant (HW/BW/PA/RA)
- UC-ACC-S04 — View account detailUC-ACC-S04 — Xem chi tiết account
- UC-ACC-S05 — Force-deactivate HW/BW/PA/RAUC-ACC-S05 — Buộc tắt HW/BW/PA/RA
- UC-ACC-S06 — Activate BW/PA/RA from CRM (override); HW via ticketUC-ACC-S06 — Kích hoạt BW/PA/RA từ CRM (override); HW qua ticket
- 3.7 Group Y — System3.7 Nhóm Y — System
- UC-ACC-Y01 — Assign Inactive after creating BW/HWUC-ACC-Y01 — Gán Inactive sau create BW/HW
- UC-ACC-Y02 — Block bind / VA when not yet ActiveUC-ACC-Y02 — Chặn bind / VA khi chưa Active
- UC-ACC-Y03 — Enforce 2FAUC-ACC-Y03 — Ép buộc 2FA
- UC-ACC-Y04 — Assign Inactive after PA/RA createUC-ACC-Y04 — Gán Inactive sau khi tạo PA/RA
- UC-ACC-Y05 — Enforce one PA and one RA per Active HWUC-ACC-Y05 — Ép một PA và một RA cho mỗi HW Active
- 4. Group E — UC linked-actor (full stream)4. Nhóm E — UC liên-actor (full luồng)
- UC-ACC-E01 — Provide sufficient collection infrastructure (happy path)UC-ACC-E01 — Cấp hạ tầng thu hộ đủ dùng (happy path)
- UC-ACC-E02 — Create BW immediately in Create HW and then completeUC-ACC-E02 — Tạo BW ngay trong Create HW rồi hoàn tất
- UC-ACC-E03 — Finance creates BW/VA, Admin takes care of HWUC-ACC-E03 — Finance tạo BW/VA, Admin lo HW
- UC-ACC-E04 — Exception: BW rejected then restoredUC-ACC-E04 — Ngoại lệ: từ chối BW rồi phục hồi
- UC-ACC-E05 — Exception: FlyPay refuses to activate HWUC-ACC-E05 — Ngoại lệ: FlyPay từ chối kích hoạt HW
- UC-ACC-E06 — Permission / Midway 2FA ExceptionUC-ACC-E06 — Ngoại lệ quyền / 2FA giữa chừng
- 5. APPENDIX5. Phụ lục
D. ContentD. Nội dung
Round A details → 02A_SPEC · Merchant Portal · Account (Feature Specs). Role-based UC catalog stays here; Inactive / maker-checker / ticket / 2FA / Payout & Refund Account behavior follows MP Account FSD v2.3, CRM Account FSD v1.2, and the matching SPECs.
Round A chi tiết → 02A_SPEC · Merchant Portal · Account (Feature Specs). Catalog UC theo vai giữ tại đây; nghiệp vụ Inactive / maker-checker / ticket / 2FA / Payout & Refund Account bám FSD MP Account v2.3, CRM Account v1.2 và SPEC tương ứng.
- Shared UI (2FA)
- Create BW · Approve BW
- Create HW · Activate HW (MP) · Activate HW (CRM)
- Payout / Refund Account UCs are merged into the actor catalog (groups A/F/P/S/Y) for FSD v2.3 / CRM v1.2.
Use Case Handbook — Accounts ModuleCẩm nang Use Case — Module Accounts
Merchant Portal · CPG-MP/FSD_Account (to-be UI) · DHC · 12/11/2026
Target: customers / merchant operations · Language: VietnameseĐối tượng: khách hàng / vận hành merchant · Ngôn ngữ: Tiếng Việt
1. Introduction & Scope1. Giới thiệu & phạm vi
The Accounts Module helps merchants manage crypto wallet infrastructure: Beneficiary Wallet (settlement destination), Hot Wallet (operating wallet), Virtual Account (collection address per customer). The document describes behavior according to the Merchant Portal UI (updated first), the API will synchronize afterward.Module Accounts giúp merchant quản lý hạ tầng ví crypto: Beneficiary Wallet (đích settlement), Hot Wallet (ví vận hành), Virtual Account (địa chỉ thu hộ theo khách). Tài liệu mô tả hành vi theo UI Merchant Portal (cập nhật trước), API sẽ đồng bộ sau.
Finalized status ruleQuy tắc trạng thái đã chốt
- Create BW or HW → default Inactive.Tạo BW hoặc HW → mặc định Inactive.
- BW Active only when the Merchant Approver (different from the creator) approves + 2FA.BW Active chỉ khi Merchant Approver (khác người tạo) duyệt + 2FA.
- HW is active only when a FlyPay Support ticket is opened and Support activates it.HW Active chỉ khi mở ticket FlyPay Support và Support kích hoạt.
- VA is only created on Active HW; all sensitive operations require 2FA.VA chỉ tạo trên HW Active; mọi thao tác nhạy cảm bắt buộc 2FA.
- Out of scope: Fiat accounts, Account Report mock, internal FlyPay CRM screen.Ngoài phạm vi: Fiat accounts, Account Report mock, màn CRM nội bộ FlyPay.
Figure 0. Logging into the Merchant Portal (real photo)Hình 0. Đăng nhập Merchant Portal (ảnh thật)
2. Agents & rights (operations)2. Tác nhân & quyền (nghiệp vụ)
ActorsTác nhân | MadeĐược làm | No performanceKhông làm |
Merchant Admin | Create BW/HW/VA, open a ticket to activate HW, copy/explore, change VA statusTạo BW/HW/VA, mở ticket kích hoạt HW, copy/explorer, đổi status VA | Self-activate HW; self-approve BW created by myselfTự Active HW; tự duyệt BW do mình tạo |
Merchant Finance | View; create BW/VA; copy/explorerXem; tạo BW/VA; copy/explorer | Create HW; ticket to activate HW; approve BW (unless assigned as Approver)Tạo HW; ticket kích hoạt HW; duyệt BW (trừ khi được gán Approver) |
Merchant Operator | View; create VA; copy/explorerXem; tạo VA; copy/explorer | Create HW/BW; approve; HW ticketTạo HW/BW; duyệt; ticket HW |
Merchant Approver | Approve/Reject other's BW + 2FADuyệt/Từ chối BW của người khác + 2FA | Approve BW created by oneselfDuyệt BW do chính mình tạo |
Support / Viewer / Developer | View (Support can copy/explore)Xem (Support có thể copy/explorer) | Create / approve / ticket |
FlyPay Support | Approve/reject HW activation ticket (CRM)Duyệt/từ chối ticket kích hoạt HW (CRM) | No create operation on the merchant portalKhông thao tác create trên portal merchant |
System | Set to Inactive after creation; block bind/VA when not Active; enforce 2FAGán Inactive sau create; chặn bind/VA khi chưa Active; ép 2FA | — |
3. Catalog Use Case theo actor
Code: UC-ACC-<Group><nn> · A Admin · F Finance · O Operator · P Approver · R Read-only · S FlyPay · Y System · E Linked-actor.Mã: UC-ACC-<Nhóm><nn> · A Admin · F Finance · O Operator · P Approver · R Read-only · S FlyPay · Y System · E Liên-actor.
Catalog summary table (by actor group)Bảng tóm tắt catalog (theo nhóm actor)
Group A — Merchant Admin (primary)Nhóm A — Merchant Admin (primary)
ID | NAMETên | Target sectionMục tiêu |
UC-ACC-A01 | View / Filter Hot WalletsXem / lọc Hot Wallets | Go to Accounts → Hot Wallets tab, search & paginateVào Accounts → tab Hot Wallets, tìm & phân trang |
UC-ACC-A02 | Create Hot Wallet (+ 2FA)Tạo Hot Wallet (+ 2FA) | Create HW linked to BW Active → HW InactiveTạo HW gắn BW Active → HW Inactive |
UC-ACC-A03 | Request to activate HW (+ 2FA)Yêu cầu kích hoạt HW (+ 2FA) | Open a FlyPay Support ticket; track the ticket statusMở ticket FlyPay Support; theo dõi trạng thái ticket |
UC-ACC-A04 | View / filter Beneficiary WalletsXem / lọc Beneficiary Wallets | Tab Beneficiary |
UC-ACC-A05 | Create BW — BYOW (+ 2FA)Tạo BW — BYOW (+ 2FA) | → BW Inactive |
UC-ACC-A06 | Create BW — Web3Auth (+ 2FA)Tạo BW — Web3Auth (+ 2FA) | → BW Inactive |
UC-ACC-A07 | Create inline BW when creating HWTạo BW inline khi tạo HW | From the dialog Create HW → Create New BW (then go back to A02)Từ dialog Create HW → Create New BW (rồi quay lại A02) |
UC-ACC-A08 | View / filter Virtual AccountsXem / lọc Virtual Accounts | Tab Virtual Account |
UC-ACC-A09 | Create Virtual Account (+ 2FA)Tạo Virtual Account (+ 2FA) | Only on HW ActiveChỉ trên HW Active |
UC-ACC-A10 | Enable / disable Virtual Account (+ 2FA)Bật / tắt Virtual Account (+ 2FA) | Activate / deactivate VA |
UC-ACC-A11 | Copy address / open explorerCopy địa chỉ / mở explorer | HW, BW, VA |
Group F — Merchant FinanceNhóm F — Merchant Finance
ID | NAMETên | Target sectionMục tiêu |
UC-ACC-F01 | View / Filter HW, BW, VAXem / lọc HW, BW, VA | Read balances & listĐọc balances & danh sách |
UC-ACC-F02 | Create BW (+ 2FA)Tạo BW (+ 2FA) | BYOW/Web3Auth → Inactive (like A05/A06, Finance permissions)BYOW/Web3Auth → Inactive (giống A05/A06, quyền Finance) |
UC-ACC-F03 | Create VA (+ 2FA)Tạo VA (+ 2FA) | On HW ActiveTrên HW Active |
UC-ACC-F04 | Copy / explorer | Billing address / settlementĐịa chỉ thanh toán / settlement |
— | No performanceKhông làm | Create HW; self-activate HW; review BW (unless assigned as Approver); change HW statusTạo HW; tự Active HW; duyệt BW (trừ khi được gán Approver); đổi status HW |
Group O — Merchant OperatorNhóm O — Merchant Operator
ID | NAMETên | Target sectionMục tiêu |
UC-ACC-O01 | View / filter Accounts (3 tabs)Xem / lọc Accounts (3 tab) | Operation monitoringTheo dõi vận hành |
UC-ACC-O02 | Create VA (+ 2FA)Tạo VA (+ 2FA) | Collect customer addresses on HW ActiveThu thập địa chỉ khách trên HW Active |
UC-ACC-O03 | Copy / explorer | Copy address / open explorerCopy địa chỉ / mở explorer |
— | No performanceKhông làm | Create HW/BW; approve BW; HW activation ticket; change status (unless policy is open)Tạo HW/BW; duyệt BW; ticket kích hoạt HW; đổi status (trừ khi policy mở) |
Group P — Merchant Approver (actor different from creator)Nhóm P — Merchant Approver (actor khác creator)
ID | NAMETên | Target sectionMục tiêu |
UC-ACC-P01 | Browse BW (+ 2FA)Duyệt BW (+ 2FA) | Inactive → Active; user must not be the creatorInactive → Active; bắt buộc user ≠ creator |
UC-ACC-P02 | BW Decline (+ 2FA)Từ chối BW (+ 2FA) | Keep Inactive / mark as rejected; creator recreates or adjusts according to policyGiữ Inactive / đánh dấu rejected; creator tạo lại hoặc chỉnh theo policy |
UC-ACC-P03 | View BW queue waiting for approvalXem hàng đợi BW chờ duyệt | Filter Inactive / pending approvalLọc Inactive / pending approval |
Group R — Read-only (Support / Viewer / Developer)Nhóm R — Read-only (Support / Viewer / Developer)
ID | NAMETên | Target sectionMục tiêu |
UC-ACC-R01 | Xem Accounts (read-only) | No CTA create / approve / ticketKhông CTA create / approve / ticket |
UC-ACC-R02 | Copy / explorer (Support only) | Viewer/Developer: do not copy/explore according to RBAC FSDViewer/Developer: không copy/explorer theo RBAC FSD |
Group S — FlyPay Support (outside merchant portal)Nhóm S — FlyPay Support (ngoài portal merchant)
ID | NAMETên | Target sectionMục tiêu |
UC-ACC-S01 | Handle HW activation ticketXử lý ticket kích hoạt HW | Approve → HW Active |
UC-ACC-S02 | Decline HW activation ticketTừ chối ticket kích hoạt HW | HW still Inactive; merchant opens a new ticket / fixesHW vẫn Inactive; merchant mở ticket mới / sửa |
MarkGhi chú | Do not capture internal CRMKhông chụp CRM nội bộ | Describe the results on the merchant side (Active badge / ticket closed)Mô tả kết quả phía merchant (badge Active / ticket closed) |
Group Y — SystemNhóm Y — System
ID | NAMETên | Target sectionMục tiêu |
UC-ACC-Y01 | Assign Inactive after creating BW/HWGán Inactive sau create BW/HW | Systemic consequences of A02/A05/A06Hậu quả hệ thống của A02/A05/A06 |
UC-ACC-Y02 | Block bind / VA when not yet ActiveChặn bind / VA khi chưa Active | BW Inactive cannot be selected when creating HW; HW Inactive cannot create VABW Inactive không chọn được khi tạo HW; HW Inactive không tạo VA |
UC-ACC-Y03 | Force 2FA on sensitive actionsÉp buộc 2FA trên thao tác nhạy cảm | Block submit if 2FA code is canceled / incorrectChặn submit nếu hủy / sai mã 2FA |
Group E — UC lien-actor (full complete flow)Nhóm E — UC liên-actor (full luồng hoàn chỉnh)
Each UC-E combines multiple actors; the Main flow clearly specifies who is performing the action. UC-E refers to single UCs (A/F/P/S…), without changing the catalog above.Mỗi UC-E ghép nhiều actor; Main flow ghi rõ ai đang thao tác. UC-E tham chiếu UC đơn (A/F/P/S…), không thay catalog ở trên.
ID | NAMETên | Actor & stage sequenceChuỗi actor & chặng |
UC-ACC-E01 | Provide sufficient collection infrastructure (happy path)Cấp hạ tầng thu hộ đủ dùng (happy path) | Admin creates BW (+2FA) → Approver approves BW (+2FA) → Admin creates HW linked to Active BW (+2FA) → Admin opens ticket to activate HW (+2FA) → FlyPay Support approves ticket → Admin/Operator creates VA on Active HW (+2FA) → copy VA addressAdmin tạo BW (+2FA) → Approver duyệt BW (+2FA) → Admin tạo HW gắn BW Active (+2FA) → Admin mở ticket kích hoạt HW (+2FA) → FlyPay Support approve ticket → Admin/Operator tạo VA trên HW Active (+2FA) → copy địa chỉ VA |
UC-ACC-E02 | Create BW right in Create HW and then complete itTạo BW ngay trong Create HW rồi hoàn tất | Admin opens Create HW → Create New BW (+2FA, Inactive) → Approver approves BW → Admin selects BW Active, completes Create HW (+2FA) → ticket → FlyPay → ActiveAdmin mở Create HW → Create New BW (+2FA, Inactive) → Approver duyệt BW → Admin chọn BW Active, hoàn tất Create HW (+2FA) → ticket → FlyPay → Active |
UC-ACC-E03 | Finance takes care of BW/VA, Admin handles HWFinance tạo BW/VA, Admin lo HW | Finance creates BW → Approver approves → Admin creates HW + ticket → FlyPay → Finance/Operator creates VAFinance tạo BW → Approver duyệt → Admin tạo HW + ticket → FlyPay → Finance/Operator tạo VA |
UC-ACC-E04 | Exception: reject BW approval then restoreNgoại lệ: từ chối duyệt BW rồi phục hồi | Admin creates BW → Approver rejects (P02) → Admin creates new / edits BW → approves again → continues E01 from creating HWAdmin tạo BW → Approver reject (P02) → Admin tạo BW mới / chỉnh → duyệt lại → tiếp E01 từ tạo HW |
UC-ACC-E05 | Exception: FlyPay refused to activate HWNgoại lệ: FlyPay từ chối kích hoạt HW | After ticket → FlyPay reject (S02) → HW Inactive → Admin opens a new ticket (or creates another HW) → approve → create VASau ticket → FlyPay reject (S02) → HW Inactive → Admin mở ticket mới (hoặc tạo HW khác) → approve → tạo VA |
UC-ACC-E06 | Permission / 2FA exception in the middleNgoại lệ quyền / 2FA giữa chừng | Actor lacks permission or cancels/misuses 2FA at a stage → system does not change the state; actor with correct permission repeats that stageActor thiếu quyền hoặc hủy/sai 2FA ở một chặng → hệ thống không đổi trạng thái; actor đúng quyền làm lại chặng đó |
3.1 Group A — Merchant Admin3.1 Nhóm A — Merchant Admin
UC-ACC-A01 — View / filter Hot WalletsUC-ACC-A01 — Xem / lọc Hot Wallets
Agent: Merchant AdminTác nhân: Merchant Admin
Section goal: Go into Accounts, view the HW list and filter.Mục tiêu: Vào Accounts, xem danh sách HW và lọc.
PrerequisitesĐiều kiện tiên quyết
- Logged InĐã đăng nhập
- Has the right to view the Hot Wallets tabCó quyền xem tab Hot Wallets
Main success scenarioKịch bản thành công chính
1. Open the Accounts sidebar.1. Mở sidebar Accounts.
2. Hot Wallets Tab (default).2. Tab Hot Wallets (mặc định).
3. Enter the filter (address, network, status, date…) → Search.3. Nhập bộ lọc (địa chỉ, network, status, ngày…) → Search.
4. View pagination and Active/Inactive / Awaiting FlyPay status.4. Xem phân trang và trạng thái Active/Inactive / Awaiting FlyPay.
Figure A01. Accounts — Hot WalletsHình A01. Accounts — Hot Wallets
Alternative/Extended FlowLuồng thay thế / mở rộng
- Switch to the Virtual / Beneficiary tab if you have permission.Chuyển tab Virtual / Beneficiary nếu có quyền.
ExceptionNgoại lệ
- No tab permission → notification cannot be viewed.Không có quyền tab → thông báo không được xem.
Consequential conditionsĐiều kiện hậu quả
- The HW list correctly displays the merchant scope.Danh sách HW hiển thị đúng phạm vi merchant.
UC-ACC-A02 — Create Hot Wallet (+ 2FA)UC-ACC-A02 — Tạo Hot Wallet (+ 2FA)
Agent: Merchant AdminTác nhân: Merchant Admin
Target section: Create HW attached to Active BW; HW starts Inactive.Mục tiêu: Tạo HW gắn BW Active; HW bắt đầu Inactive.
PrerequisitesĐiều kiện tiên quyết
- There is at least one BW Active on the same networkCó ít nhất một BW Active cùng network
- Permission to create HWQuyền tạo HW
Main success scenarioKịch bản thành công chính
1. Accounts → Hot Wallets → Create Hot Wallet.
2. Enter Wallet Name, Network, Service, select Beneficiary Active, Assets.2. Nhập Wallet Name, Network, Service, chọn Beneficiary Active, Assets.
3. Create Hot Wallet → 2FA dialog → enter code → Verify.3. Create Hot Wallet → dialog 2FA → nhập mã → Verify.
4. HW appears with status Inactive.4. HW xuất hiện với status Inactive.
Figure A02. Create Hot WalletHình A02. Create Hot Wallet
Alternative/Extended FlowLuồng thay thế / mở rộng
- Create new beneficiary (A07) if there is no Active BW.Create new beneficiary (A07) nếu chưa có BW Active.
ExceptionNgoại lệ
- Missing field / BW Inactive / wrong 2FA / cancel 2FA → do not create.Thiếu field / BW Inactive / sai 2FA / hủy 2FA → không tạo.
- No permission → do not see the button.Không có quyền → không thấy nút.
Consequential conditionsĐiều kiện hậu quả
- HW Inactive; VA not yet created; activation request needed.HW Inactive; chưa dùng tạo VA; cần Request activation.
UC-ACC-A03 — Request HW activation (+ 2FA)UC-ACC-A03 — Yêu cầu kích hoạt HW (+ 2FA)
Agent: Merchant AdminTác nhân: Merchant Admin
Section note: Open a FlyPay Support ticket to activate HW.Mục tiêu: Mở ticket FlyPay Support để kích hoạt HW.
PrerequisitesĐiều kiện tiên quyết
- HW Inactive
- Ticket view/create permissionQuyền ticket view/create
Main success scenarioKịch bản thành công chính
1. At HW Inactive row → Request activation.1. Tại hàng HW Inactive → Request activation.
2. Check the ticket subject/description (HW metadata prefilled).2. Kiểm tra subject/mô tả ticket (đã prefill metadata HW).
3. Submit → 2FA → Verify.
4. HW displays the Awaiting FlyPay badge; track it in Ticket & Support.4. HW hiển thị badge Awaiting FlyPay; theo dõi ở Ticket & Support.
Figure A03. Request activationHình A03. Request activation
Alternative/Extended FlowLuồng thay thế / mở rộng
- Reopen a new ticket if Support refuses (E05).Mở lại ticket mới nếu Support từ chối (E05).
ExceptionNgoại lệ
- No ticket rights → error.Không quyền ticket → lỗi.
- Wrong/cancel 2FA → ticket not sent.Sai/hủy 2FA → ticket không gửi.
Consequential conditionsĐiều kiện hậu quả
- Ticket opened; HW remains Inactive until Support activates it.Ticket mở; HW vẫn Inactive đến khi Support kích hoạt.
UC-ACC-A04 — View / filter Beneficiary WalletsUC-ACC-A04 — Xem / lọc Beneficiary Wallets
Agent: Merchant AdminTác nhân: Merchant Admin
Section title: View BW list.Mục tiêu: Xem danh sách BW.
PrerequisitesĐiều kiện tiên quyết
- Right to view the Beneficiary tabQuyền xem tab Beneficiary
Main success scenarioKịch bản thành công chính
1. Tab Beneficiary Wallets
2. Filter address/network/status/creation type → Search2. Lọc address/network/status/creation type → Search
Alternative/Extended FlowLuồng thay thế / mở rộng
- Filter Inactive to see pending itemsLọc Inactive để thấy hàng chờ duyệt
ExceptionNgoại lệ
- No tab permission → cannot accessKhông quyền tab → không vào được
Consequential conditionsĐiều kiện hậu quả
- BW list by merchantDanh sách BW theo merchant
UC-ACC-A05 — Create BW — BYOW (+ 2FA)UC-ACC-A05 — Tạo BW — BYOW (+ 2FA)
Agent: Merchant AdminTác nhân: Merchant Admin
Section goal: Create BW Pro Mode; Inactive pending approval.Mục tiêu: Tạo BW Pro Mode; Inactive chờ duyệt.
PrerequisitesĐiều kiện tiên quyết
- Permission to create BWQuyền tạo BW
- Valid address according to networkĐịa chỉ hợp lệ theo network
Main success scenarioKịch bản thành công chính
1. Create Beneficiary Wallet → Pro Mode (BYOW).
2. Enter name, network, address → Create Wallet → 2FA.2. Nhập name, network, address → Create Wallet → 2FA.
3. BW Inactive; note waiting for another user to approve.3. BW Inactive; ghi chú chờ user khác duyệt.
Figure A05. Create BWHình A05. Create BW
Alternative/Extended FlowLuồng thay thế / mở rộng
- Switch to Easy Mode (A06)Chuyển Easy Mode (A06)
ExceptionNgoại lệ
- Wrong address format / duplicate / 2FA canceledĐịa chỉ sai format / trùng / hủy 2FA
Consequential conditionsĐiều kiện hậu quả
- BW Inactive, approval pending
UC-ACC-A06 — Create BW — Web3Auth (+ 2FA)UC-ACC-A06 — Tạo BW — Web3Auth (+ 2FA)
Agent: Merchant AdminTác nhân: Merchant Admin
Section goal: Create BW Easy Mode via Web3Auth.Mục tiêu: Tạo BW Easy Mode qua Web3Auth.
PrerequisitesĐiều kiện tiên quyết
- Web3Auth configuredWeb3Auth đã cấu hình
- Permission to create BWQuyền tạo BW
Main success scenarioKịch bản thành công chính
1. Choose Easy Mode → Launch Web3Auth → receive address → Create + 2FA1. Chọn Easy Mode → Launch Web3Auth → nhận address → Create + 2FA
Alternative/Extended FlowLuồng thay thế / mở rộng
- Cancel Web3Auth and try againHủy Web3Auth rồi thử lại
ExceptionNgoại lệ
- Missing client id / user canceled loginClient id thiếu / user hủy login
Consequential conditionsĐiều kiện hậu quả
- BW Inactive pending approval; portal does not save private keyBW Inactive chờ duyệt; portal không lưu private key
UC-ACC-A07 — Create BW inline when creating HWUC-ACC-A07 — Tạo BW inline khi tạo HW
Agent: Merchant AdminTác nhân: Merchant Admin
Section goal: From Create HW open Create New BW and then go back.Mục tiêu: Từ Create HW mở Create New BW rồi quay lại.
PrerequisitesĐiều kiện tiên quyết
- Opening Create Hot WalletĐang mở Create Hot Wallet
Main success scenarioKịch bản thành công chính
1. Click Create new next to Beneficiary1. Bấm Create new cạnh Beneficiary
2. Completion of A05/A062. Hoàn tất A05/A06
3. After BW is approved (P01), reselect Active BW and create HW (A02)3. Sau khi BW được duyệt (P01), chọn lại BW Active và tạo HW (A02)
Alternative/Extended FlowLuồng thay thế / mở rộng
- Cancel midwayHủy giữa chừng
ExceptionNgoại lệ
- BW not approved → cannot be selected in Create HWBW chưa duyệt → không chọn được trong Create HW
Consequential conditionsĐiều kiện hậu quả
- There is a new BW Inactive; HW has not been created until BW is ActiveCó BW mới Inactive; HW chưa tạo cho đến khi BW Active
UC-ACC-A08 — View / filter Virtual AccountsUC-ACC-A08 — Xem / lọc Virtual Accounts
Agent: Merchant AdminTác nhân: Merchant Admin
Target section: See VA.Mục tiêu: Xem VA.
PrerequisitesĐiều kiện tiên quyết
- Permission to view the Virtual Account tabQuyền xem tab Virtual Account
Main success scenarioKịch bản thành công chính
1. Tab Virtual Account
2. Filter customer/address/HW/status → Search2. Lọc customer/address/HW/status → Search
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Non-exclusiveKhông quyền
Consequential conditionsĐiều kiện hậu quả
- VA list by merchantDanh sách VA theo merchant
UC-ACC-A09 — Create Virtual Account (+ 2FA)UC-ACC-A09 — Tạo Virtual Account (+ 2FA)
Agent: Merchant AdminTác nhân: Merchant Admin
Section goal: Issue VA on HW Active.Mục tiêu: Phát hành VA trên HW Active.
PrerequisitesĐiều kiện tiên quyết
- There is HW Active (beneficiary not pending ack)Có HW Active (beneficiary không pending ack)
Main success scenarioKịch bản thành công chính
1. Create Virtual Account.
2. Customer ID, select HW Active, assets → Create → 2FA.2. Customer ID, chọn HW Active, assets → Create → 2FA.
3. VA appears; copy the address if needed.3. VA xuất hiện; copy địa chỉ nếu cần.
Figure A09. Create VAHình A09. Create VA
Alternative/Extended FlowLuồng thay thế / mở rộng
- Operator/Finance creates VA (O02/F03)Operator/Finance tạo VA (O02/F03)
ExceptionNgoại lệ
- No HW Active → empty dropdown / errorKhông có HW Active → dropdown trống / lỗi
- Disable 2FAHủy 2FA
Consequential conditionsĐiều kiện hậu quả
- VA is ready to collect on behalf of the merchantVA sẵn sàng thu hộ
UC-ACC-A10 — Enable / disable Virtual Account (+ 2FA)UC-ACC-A10 — Bật / tắt Virtual Account (+ 2FA)
Agent: Merchant AdminTác nhân: Merchant Admin
Section title: Change VA status.Mục tiêu: Đổi trạng thái VA.
PrerequisitesĐiều kiện tiên quyết
- Permission to edit VAQuyền edit VA
Main success scenarioKịch bản thành công chính
1. Turn on/off the switch → confirm → 2FA → Verify1. Bật/tắt switch → xác nhận → 2FA → Verify
Figure A10. 2FA Dialog (shared)Hình A10. Dialog 2FA (dùng chung)
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Cancel/incorrect 2FA → status unchangedHủy/sai 2FA → status không đổi
Consequential conditionsĐiều kiện hậu quả
- VA Active or Inactive respectivelyVA Active hoặc Inactive tương ứng
UC-ACC-A11 — Copy address / open explorerUC-ACC-A11 — Copy địa chỉ / mở explorer
Agent: Merchant AdminTác nhân: Merchant Admin
Target section: Copy or open explorer for HW/BW/VA.Mục tiêu: Sao chép hoặc mở explorer cho HW/BW/VA.
PrerequisitesĐiều kiện tiên quyết
- The address is already on the boardĐã có địa chỉ trên bảng
Main success scenarioKịch bản thành công chính
1. Click the copy icon or explorer link1. Bấm icon copy hoặc link explorer
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Viewer/Developer may be blocked according to RBACViewer/Developer có thể bị chặn theo RBAC
Consequential conditionsĐiều kiện hậu quả
- Address on clipboard / open explorer tabĐịa chỉ trên clipboard / tab explorer mở
UC-ACC-A12 — View Payout AccountsUC-ACC-A12 — Xem Payout Accounts
Agent: Merchant AdminTác nhân: Merchant Admin
Target section: Open Accounts → Payout Accounts; view balances and caps (table + pagination; no list filters).Mục tiêu: Vào Accounts → Payout Accounts; xem số dư và trần (bảng + phân trang; không bộ lọc danh sách).
PrerequisitesĐiều kiện tiên quyết
- Logged in with Accounts view permissionĐã đăng nhập và có quyền xem Accounts
- Merchant has zero or more Payout AccountsMerchant có 0 hoặc nhiều Payout Account
Main success scenarioKịch bản thành công chính
1. Open the Accounts sidebar.1. Mở sidebar Accounts.
2. Select the Payout Accounts tab.2. Chọn tab Payout Accounts.
3. Review the table (pagination, balances, payout_cap, status). No filter bar.3. Xem bảng (phân trang, số dư, payout_cap, trạng thái). Không có thanh bộ lọc.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Other merchants’ Payout Accounts must not appear.Không được thấy Payout Account của merchant khác.
Consequential conditionsĐiều kiện hậu quả
Only own-merchant Payout Accounts are visible.Chỉ thấy Payout Account của merchant hiện tại.
UC-ACC-A13 — Create Payout Account (+ 2FA)UC-ACC-A13 — Tạo Payout Account (+ 2FA)
Agent: Merchant AdminTác nhân: Merchant Admin
Target section: Create a system MPC Payout Account on an Active HW; starts Inactive.Mục tiêu: Tạo Payout Account MPC hệ thống trên HW Active; bắt đầu Inactive.
PrerequisitesĐiều kiện tiên quyết
- At least one Active Hot WalletCó ít nhất một Hot Wallet Active
- No existing Payout Account on that Hot WalletChưa có Payout Account trên Hot Wallet đó
- Permission to create Payout AccountCó quyền tạo Payout Account
Main success scenarioKịch bản thành công chính
1. Accounts → Payout Accounts → Create Payout Account.1. Accounts → Payout Accounts → Create Payout Account.
2. Enter name, select Active HW, set initial payout_cap.2. Nhập tên, chọn HW Active, đặt payout_cap ban đầu.
3. Create → step-up 2FA → Verify.3. Create → 2FA → Verify.
4. PA appears with status Inactive and a system-issued address.4. PA xuất hiện Inactive với địa chỉ hệ thống phát hành.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Inactive HW cannot be selected / create is blocked.HW Inactive không chọn được / tạo bị chặn.
Duplicate PA for the same HW → conflict.Trùng PA trên cùng HW → conflict.
Cancelled or failed 2FA → no create.Hủy/thất bại 2FA → không tạo.
Consequential conditionsĐiều kiện hậu quả
Payout Account Inactive; linked hot_wallet_id immutable.Payout Account Inactive; hot_wallet_id gắn bất biến.
UC-ACC-A14 — Request Payout cap change (+ 2FA)UC-ACC-A14 — Yêu cầu đổi trần Payout (+ 2FA)
Agent: Merchant Admin (maker)Tác nhân: Merchant Admin (maker)
Target section: Submit a payout_cap change request awaiting Approver ≠ maker.Mục tiêu: Gửi yêu cầu đổi payout_cap chờ Approver ≠ maker.
PrerequisitesĐiều kiện tiên quyết
- Payout Account existsĐã có Payout Account
- No other pending cap request on the same accountKhông có yêu cầu trần đang chờ trên cùng account
Main success scenarioKịch bản thành công chính
1. Open Payout Account → Configure cap.1. Mở Payout Account → Configure cap.
2. Enter requested payout_cap → submit + 2FA.2. Nhập payout_cap mới → submit + 2FA.
3. Status shows pending cap awaiting approval.3. Hiển thị trần đang chờ duyệt.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Concurrent second request is blocked.Yêu cầu thứ hai đồng thời bị chặn.
Failed 2FA → no pending request.2FA thất bại → không có yêu cầu chờ.
Consequential conditionsĐiều kiện hậu quả
Pending payout_cap stored; prior cap remains effective until approve.Trần chờ lưu lại; trần cũ vẫn hiệu lực đến khi duyệt.
UC-ACC-A15 — Activate / deactivate Payout Account (+ 2FA)UC-ACC-A15 — Bật / tắt Payout Account (+ 2FA)
Agent: Approver ≠ creator for activate; Merchant Admin for deactivateTác nhân: Approver ≠ creator để kích hoạt; Merchant Admin để tắt
Target section: Move PA Inactive↔Active under maker-checker / admin deactivate rules.Mục tiêu: Chuyển PA Inactive↔Active theo maker-checker / admin deactivate.
PrerequisitesĐiều kiện tiên quyết
- PA exists; for activate Approver ≠ creator with approve grantCó PA; kích hoạt cần Approver ≠ creator có quyền approve
Main success scenarioKịch bản thành công chính
1. Activate: Approver opens Inactive PA → Approve + 2FA.1. Activate: Approver mở PA Inactive → Approve + 2FA.
2. Deactivate: Admin selects Active PA → Deactivate + 2FA (confirm warnings).2. Deactivate: Admin chọn PA Active → Deactivate + 2FA (xác nhận cảnh báo).
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Creator cannot self-activate.Creator không tự kích hoạt.
Outstanding refill/outbound queue triggers warning before deactivate.Hàng đợi refill/outbound kích hoạt cảnh báo trước khi tắt.
Consequential conditionsĐiều kiện hậu quả
Active PA may receive refill and trader outbound; Inactive blocks both.PA Active nhận refill và chi trader; Inactive chặn cả hai.
UC-ACC-A16 — View Refund AccountsUC-ACC-A16 — Xem Refund Accounts
Agent: Merchant AdminTác nhân: Merchant Admin
Target section: Open Accounts → Refund Accounts; view balances and refund_cap (table + pagination; no list filters).Mục tiêu: Vào Accounts → Refund Accounts; xem số dư và refund_cap (bảng + phân trang; không bộ lọc danh sách).
PrerequisitesĐiều kiện tiên quyết
- Logged in with Accounts view permissionĐã đăng nhập và có quyền xem Accounts
Main success scenarioKịch bản thành công chính
1. Open Accounts → Refund Accounts tab.1. Mở Accounts → tab Refund Accounts.
2. Review the table (balances / refund_cap / status). No filter bar.2. Xem bảng (số dư / refund_cap / trạng thái). Không có thanh bộ lọc.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
——
Consequential conditionsĐiều kiện hậu quả
Only own-merchant Refund Accounts are visible.Chỉ thấy Refund Account của merchant hiện tại.
UC-ACC-A17 — Create Refund Account (+ 2FA)UC-ACC-A17 — Tạo Refund Account (+ 2FA)
Agent: Merchant AdminTác nhân: Merchant Admin
Target section: Create a system MPC Refund Account on an Active HW; starts Inactive.Mục tiêu: Tạo Refund Account MPC hệ thống trên HW Active; bắt đầu Inactive.
PrerequisitesĐiều kiện tiên quyết
- Active Hot Wallet with no existing Refund AccountHW Active chưa có Refund Account
Main success scenarioKịch bản thành công chính
1. Accounts → Refund Accounts → Create.1. Accounts → Refund Accounts → Create.
2. Enter name, Active HW, initial refund_cap → 2FA.2. Nhập tên, HW Active, refund_cap → 2FA.
3. RA appears Inactive with system-issued address.3. RA xuất hiện Inactive với địa chỉ hệ thống.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Duplicate RA for same HW → conflict.Trùng RA trên cùng HW → conflict.
Inactive HW / failed 2FA → no create.HW Inactive / 2FA thất bại → không tạo.
Consequential conditionsĐiều kiện hậu quả
Refund Account Inactive; one RA per Active HW.Refund Account Inactive; mỗi HW Active một RA.
UC-ACC-A18 — Request Refund cap change (+ 2FA)UC-ACC-A18 — Yêu cầu đổi trần Refund (+ 2FA)
Agent: Merchant Admin (maker)Tác nhân: Merchant Admin (maker)
Target section: Submit a refund_cap change request awaiting Approver ≠ maker.Mục tiêu: Gửi yêu cầu đổi refund_cap chờ Approver ≠ maker.
PrerequisitesĐiều kiện tiên quyết
- Refund Account exists; no pending cap requestĐã có Refund Account; không có yêu cầu trần đang chờ
Main success scenarioKịch bản thành công chính
1. Configure refund_cap → submit + 2FA.1. Configure refund_cap → submit + 2FA.
2. Pending cap awaits Approver.2. Trần chờ Approver duyệt.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Same pattern failures as payout cap request.Lỗi giống yêu cầu trần payout.
Consequential conditionsĐiều kiện hậu quả
Prior refund_cap remains effective until approve.refund_cap cũ vẫn hiệu lực đến khi duyệt.
UC-ACC-A19 — Activate / deactivate Refund Account (+ 2FA)UC-ACC-A19 — Bật / tắt Refund Account (+ 2FA)
Agent: Approver ≠ creator for activate; Merchant Admin for deactivateTác nhân: Approver ≠ creator để kích hoạt; Merchant Admin để tắt
Target section: Move RA Inactive↔Active; Inactive blocks refill and refund outbound.Mục tiêu: Chuyển RA Inactive↔Active; Inactive chặn refill và hoàn tiền.
PrerequisitesĐiều kiện tiên quyết
- RA exists; activate requires Approver ≠ creatorCó RA; kích hoạt cần Approver ≠ creator
Main success scenarioKịch bản thành công chính
1. Approver activates Inactive RA + 2FA.1. Approver kích hoạt RA Inactive + 2FA.
2. Admin deactivates Active RA + 2FA with warnings if queue exists.2. Admin tắt RA Active + 2FA kèm cảnh báo nếu còn queue.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Creator self-activate blocked.Creator tự kích hoạt bị chặn.
Consequential conditionsĐiều kiện hậu quả
Active RA may refund whitelist destinations only (no trader payout).RA Active chỉ hoàn whitelist (không chi trader).
-end -->3.2 Group F — Merchant Finance3.2 Nhóm F — Merchant Finance
UC-ACC-F01 — View / filter HW, BW, VAUC-ACC-F01 — Xem / lọc HW, BW, VA
Agent: Merchant FinanceTác nhân: Merchant Finance
Section title: Tracking balances & list.Mục tiêu: Theo dõi balances & danh sách.
PrerequisitesĐiều kiện tiên quyết
- Log in to the Finance roleĐăng nhập role Finance
Main success scenarioKịch bản thành công chính
1. Open Accounts, browse 3 tabs, filter Search1. Mở Accounts, duyệt 3 tab, lọc Search
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Non-exclusiveKhông quyền
Consequential conditionsĐiều kiện hậu quả
- Only my merchant dataChỉ dữ liệu merchant mình
UC-ACC-F02 — Create BW (+ 2FA)UC-ACC-F02 — Tạo BW (+ 2FA)
Agent: Merchant FinanceTác nhân: Merchant Finance
Section objective: Create BW Inactive like A05/A06.Mục tiêu: Tạo BW Inactive như A05/A06.
PrerequisitesĐiều kiện tiên quyết
- Permission to create BWQuyền tạo BW
Main success scenarioKịch bản thành công chính
1. Similar to A05 or A061. Giống A05 hoặc A06
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- No permission to create HWKhông quyền tạo HW
Consequential conditionsĐiều kiện hậu quả
- BW awaiting ApproverBW chờ Approver
UC-ACC-F03 — Create VA (+ 2FA)UC-ACC-F03 — Tạo VA (+ 2FA)
Agent: Merchant FinanceTác nhân: Merchant Finance
Section target: Create VA on HW Active.Mục tiêu: Tạo VA trên HW Active.
PrerequisitesĐiều kiện tiên quyết
- HW Active
Main success scenarioKịch bản thành công chính
1. Variety A091. Giống A09
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- HW Inactive cannot be selectedHW Inactive không chọn được
Consequential conditionsĐiều kiện hậu quả
- Create SucceededVA tạo thành công
UC-ACC-F04 — Copy / explorer
Agent: Merchant FinanceTác nhân: Merchant Finance
Section target: Copy billing/settlement address.Mục tiêu: Copy địa chỉ thanh toán/settlement.
PrerequisitesĐiều kiện tiên quyết
- With addressCó địa chỉ
Main success scenarioKịch bản thành công chính
1. Copy or open Explorer1. Copy hoặc mở explorer
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
Consequential conditionsĐiều kiện hậu quả
- Clipboard / explorer
UC-ACC-F05 — View Payout / Refund AccountsUC-ACC-F05 — Xem Payout / Refund Accounts
Agent: Merchant FinanceTác nhân: Merchant Finance
Target section: View PA and RA tabs (no list filters); cannot create PA/RA or Hot Wallet.Mục tiêu: Xem tab PA và RA (không bộ lọc danh sách); không tạo PA/RA hoặc Hot Wallet.
PrerequisitesĐiều kiện tiên quyết
- Logged in as Merchant FinanceĐăng nhập Merchant Finance
Main success scenarioKịch bản thành công chính
1. Open Payout Accounts and Refund Accounts tabs.1. Mở tab Payout Accounts và Refund Accounts.
2. View balances/caps in the table (pagination only).2. Xem số dư/trần trên bảng (chỉ phân trang).
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Create PA/RA CTA hidden or Access denied.CTA tạo PA/RA bị ẩn hoặc Access denied.
Consequential conditionsĐiều kiện hậu quả
Read-only for PA/RA unless approve grant applies elsewhere.Chỉ đọc PA/RA trừ khi có grant approve ở UC khác.
UC-ACC-F06 — Approve PA/RA activation or cap (≠ maker)UC-ACC-F06 — Duyệt kích hoạt / trần PA/RA (≠ maker)
Agent: Merchant Finance with approve grantTác nhân: Merchant Finance có quyền approve
Target section: Approve or reject pending PA/RA activation or cap when ≠ maker/creator.Mục tiêu: Duyệt hoặc từ chối kích hoạt/trần PA/RA khi ≠ maker/creator.
PrerequisitesĐiều kiện tiên quyết
- Pending PA/RA activation or cap requestCó yêu cầu kích hoạt/trần PA/RA đang chờ
- Finance user ≠ maker/creator and has approve grantFinance ≠ maker/creator và có quyền approve
Main success scenarioKịch bản thành công chính
1. Open pending item → Approve or Reject + 2FA.1. Mở mục chờ → Approve hoặc Reject + 2FA.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Approving own create/request is blocked.Duyệt yêu cầu do chính mình tạo bị chặn.
Consequential conditionsĐiều kiện hậu quả
On approve, status/cap updates and both actors are audited.Khi duyệt, status/trần cập nhật và audit cả hai actor.
-end -->3.3 Group O — Merchant Operator3.3 Nhóm O — Merchant Operator
UC-ACC-O01 — View / filter AccountsUC-ACC-O01 — Xem / lọc Accounts
Agent: Merchant OperatorTác nhân: Merchant Operator
Section title: Operation monitoring.Mục tiêu: Theo dõi vận hành.
PrerequisitesĐiều kiện tiên quyết
- View PermissionQuyền xem
Main success scenarioKịch bản thành công chính
1. Xem 3 tab
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Can't see the create HW/BW buttonKhông thấy nút create HW/BW
Consequential conditionsĐiều kiện hậu quả
- Read only + VA create if permittedChỉ đọc + VA create nếu được phép
UC-ACC-O02 — Create VA (+ 2FA)UC-ACC-O02 — Tạo VA (+ 2FA)
Agent: Merchant OperatorTác nhân: Merchant Operator
Section title: Collect customer addresses.Mục tiêu: Thu thập địa chỉ khách.
PrerequisitesĐiều kiện tiên quyết
- HW Active
Main success scenarioKịch bản thành công chính
1. Variety A091. Giống A09
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Non-exclusiveKhông quyền
Consequential conditionsĐiều kiện hậu quả
- New VAVA mới
UC-ACC-O03 — Copy / explorer
Agent: Merchant OperatorTác nhân: Merchant Operator
Target section: Copy address.Mục tiêu: Copy địa chỉ.
PrerequisitesĐiều kiện tiên quyết
- With addressCó địa chỉ
Main success scenarioKịch bản thành công chính
1. Copy/explorer
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
Consequential conditionsĐiều kiện hậu quả
- Clipboard / explorer
3.4 Group P — Merchant Approver3.4 Nhóm P — Merchant Approver
UC-ACC-P01 — Approve BW (+ 2FA)UC-ACC-P01 — Duyệt BW (+ 2FA)
Agent: Merchant ApproverTác nhân: Merchant Approver
Section status: Inactive → Active; different from creator.Mục tiêu: Inactive → Active; khác creator.
PrerequisitesĐiều kiện tiên quyết
- BW Inactive pending
- The user has the right to approveUser có quyền approve
- User ≠ creator
Main success scenarioKịch bản thành công chính
1. Tab Beneficiary → Approve on the BW row1. Tab Beneficiary → Approve trên hàng BW
2. 2FA → Verify
3. Status = Active
Figure P01. BW ApprovalHình P01. Duyệt BW
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Being a creator → Approve not shown / blockedLà creator → không hiện Approve / bị chặn
- Sai 2FA
Consequential conditionsĐiều kiện hậu quả
- BW Active; can be attached to Create HWBW Active; có thể gắn vào Create HW
UC-ACC-P02 — Reject BW (+ 2FA)UC-ACC-P02 — Từ chối BW (+ 2FA)
Agent: Merchant ApproverTác nhân: Merchant Approver
Section finished: Keep Inactive / mark Rejected.Mục tiêu: Giữ Inactive / đánh dấu Rejected.
PrerequisitesĐiều kiện tiên quyết
- OpenBW chờ duyệt
- ≠ creator
Main success scenarioKịch bản thành công chính
1. Reject → 2FA
2. BW shows Rejected2. BW hiển thị Rejected
Alternative/Extended FlowLuồng thay thế / mở rộng
- Creator creates a new BW (E04)Creator tạo BW mới (E04)
ExceptionNgoại lệ
- Disable 2FAHủy 2FA
Consequential conditionsĐiều kiện hậu quả
- BW not Active; not bound to HWBW không Active; không bind HW
UC-ACC-P03 — View BW approval queueUC-ACC-P03 — Xem hàng đợi BW chờ duyệt
Agent: Merchant ApproverTác nhân: Merchant Approver
Section title: Filter BW Inactive/pending.Mục tiêu: Lọc BW Inactive/pending.
PrerequisitesĐiều kiện tiên quyết
- Permission to view BeneficiaryQuyền xem Beneficiary
Main success scenarioKịch bản thành công chính
1. Filter Status = Inactive → Search
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
Consequential conditionsĐiều kiện hậu quả
- See the BWs that need Approve/RejectThấy các BW cần Approve/Reject
UC-ACC-P04 — Approve / reject PA/RA activation (+ 2FA)UC-ACC-P04 — Duyệt / từ chối kích hoạt PA/RA (+ 2FA)
Agent: Merchant Approver ≠ creatorTác nhân: Merchant Approver ≠ creator
Target section: Inactive → Active for Payout or Refund Account.Mục tiêu: Inactive → Active cho Payout hoặc Refund Account.
PrerequisitesĐiều kiện tiên quyết
- PA or RA Inactive pendingPA hoặc RA Inactive đang chờ
- Approver ≠ creator with approve grantApprover ≠ creator có quyền approve
Main success scenarioKịch bản thành công chính
1. Open pending PA/RA → Approve or Reject + 2FA.1. Mở PA/RA chờ → Approve hoặc Reject + 2FA.
2. On approve, status becomes Active.2. Khi duyệt, status = Active.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Creator path blocked; bad 2FA keeps prior state.Đường creator bị chặn; 2FA sai giữ trạng thái cũ.
Consequential conditionsĐiều kiện hậu quả
Linked to UC-ACC-A15 / A19.Liên kết UC-ACC-A15 / A19.
UC-ACC-P05 — Approve / reject PA/RA cap change (+ 2FA)UC-ACC-P05 — Duyệt / từ chối đổi trần PA/RA (+ 2FA)
Agent: Merchant Approver ≠ makerTác nhân: Merchant Approver ≠ maker
Target section: Apply or reject pending payout_cap / refund_cap.Mục tiêu: Áp hoặc từ chối payout_cap / refund_cap đang chờ.
PrerequisitesĐiều kiện tiên quyết
- Pending cap request existsCó yêu cầu trần đang chờ
- Approver ≠ maker with approve grantApprover ≠ maker có quyền approve
Main success scenarioKịch bản thành công chính
1. Review requested cap → Approve or Reject + 2FA.1. Xem trần đề xuất → Approve hoặc Reject + 2FA.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Same-user approve blocked.Tự duyệt bị chặn.
Consequential conditionsĐiều kiện hậu quả
Linked to UC-ACC-A14 / A18.Liên kết UC-ACC-A14 / A18.
-end -->3.5 Group R — Read-only3.5 Nhóm R — Read-only
UC-ACC-R01 — Xem Accounts (read-only)
Agent: Support / Viewer / DeveloperTác nhân: Support / Viewer / Developer
Target section: View only.Mục tiêu: Chỉ xem.
PrerequisitesĐiều kiện tiên quyết
- View permissionQuyền view
Main success scenarioKịch bản thành công chính
1. Open Accounts; no CTA create/approve/ticket1. Mở Accounts; không CTA create/approve/ticket
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
Consequential conditionsĐiều kiện hậu quả
- No data exchangeKhông đổi dữ liệu
UC-ACC-R02 — Copy / explorer (Support)
Agent: Merchant SupportTác nhân: Merchant Support
Target section: Copy address.Mục tiêu: Copy địa chỉ.
PrerequisitesĐiều kiện tiên quyết
- Role Support
Main success scenarioKịch bản thành công chính
1. Copy/explorer
Alternative/Extended FlowLuồng thay thế / mở rộng
- Viewer/Developer is not allowed to copy according to RBAC FSDViewer/Developer không được copy theo RBAC FSD
ExceptionNgoại lệ
- BlockedBị chặn
Consequential conditionsĐiều kiện hậu quả
- Clipboard if allowedClipboard nếu được phép
3.6 Group S — FlyPay Support3.6 Nhóm S — FlyPay Support
UC-ACC-S01 — Handle HW activation ticket — ApproveUC-ACC-S01 — Xử lý ticket kích hoạt HW — Approve
Agent: FlyPay SupportTác nhân: FlyPay Support
Section title: Ticket approve → HW Active.Mục tiêu: Ticket approve → HW Active.
PrerequisitesĐiều kiện tiên quyết
- The ticket wallet_activation is openTicket wallet_activation đang mở
Main success scenarioKịch bản thành công chính
1. Open a ticket on CRM1. Mở ticket trên CRM
2. Verify HW metadata2. Xác minh metadata HW
3. Approve / resolve
4. Merchant sees HW Active on the portal4. Merchant thấy HW Active trên portal
Figure S01. Activation ticket (created by the merchant)Hình S01. Ticket kích hoạt (phía merchant tạo)
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Wrong resource → not ActiveSai resource → không Active
Consequential conditionsĐiều kiện hậu quả
- HW Active; merchant can create VAHW Active; merchant tạo được VA
UC-ACC-S02 — Reject HW activation ticketUC-ACC-S02 — Từ chối ticket kích hoạt HW
Agent: FlyPay SupportTác nhân: FlyPay Support
Section status: HW still Inactive.Mục tiêu: HW vẫn Inactive.
PrerequisitesĐiều kiện tiên quyết
- Ticket is openTicket đang mở
Main success scenarioKịch bản thành công chính
1. Reject ticket for the reason1. Reject ticket với lý do
2. Merchant sees HW Inactive, open a new ticket if needed2. Merchant thấy HW Inactive, mở ticket mới nếu cần
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
Consequential conditionsĐiều kiện hậu quả
- No money-movement on HWKhông money-movement trên HW
UC-ACC-S03 — List / filter merchant accounts (HW/BW/PA/RA)UC-ACC-S03 — Liệt kê / lọc account merchant (HW/BW/PA/RA)
Agent: FlyPay Support / AdminTác nhân: FlyPay Support / Admin
Target section: Cross-merchant list with type/network/status/address filters.Mục tiêu: Danh sách đa merchant với lọc type/network/status/address.
PrerequisitesĐiều kiện tiên quyết
- CRM login with account:viewĐăng nhập CRM có account:view
Main success scenarioKịch bản thành công chính
1. Open CRM Accounts.1. Mở CRM Accounts.
2. Filter by merchant, type (HW/BW/PA/RA), network, status, address.2. Lọc merchant, type, network, status, address.
3. Review paginated results.3. Xem kết quả phân trang.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
——
Consequential conditionsĐiều kiện hậu quả
Matching rows only; Virtual Accounts out of scope for this list.Chỉ hàng khớp; VA ngoài scope list này.
UC-ACC-S04 — View account detailUC-ACC-S04 — Xem chi tiết account
Agent: FlyPay Support / AdminTác nhân: FlyPay Support / Admin
Target section: Read-only detail: metadata, balances, caps, ticket refs.Mục tiêu: Chi tiết chỉ đọc: metadata, số dư, trần, ticket.
PrerequisitesĐiều kiện tiên quyết
- Account row visible in CRM listThấy hàng account trên CRM list
Main success scenarioKịch bản thành công chính
1. Open detail drawer/modal for HW/BW/PA/RA.1. Mở drawer/modal chi tiết HW/BW/PA/RA.
2. Review fields; no create controls.2. Xem trường; không có nút create.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
——
Consequential conditionsĐiều kiện hậu quả
Read-only; mutations use S05/S06 or ticket actions.Chỉ đọc; đổi trạng thái qua S05/S06 hoặc ticket.
UC-ACC-S05 — Force-deactivate HW/BW/PA/RAUC-ACC-S05 — Buộc tắt HW/BW/PA/RA
Agent: FlyPay Compliance / AdminTác nhân: FlyPay Compliance / Admin
Target section: Set account Inactive with mandatory reason and audit.Mục tiêu: Đặt Inactive với lý do bắt buộc và audit.
PrerequisitesĐiều kiện tiên quyết
- CRM account:edit; merchant_id knownCRM account:edit; biết merchant_id
Main success scenarioKịch bản thành công chính
1. Select account → Deactivate.1. Chọn account → Deactivate.
2. Enter mandatory reason → confirm.2. Nhập lý do bắt buộc → xác nhận.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
Missing merchant_id → validation error.Thiếu merchant_id → lỗi validation.
Already Inactive → idempotent success.Đã Inactive → thành công idempotent.
Consequential conditionsĐiều kiện hậu quả
Inactive; audit has actor + reason; historical rows remain.Inactive; audit có actor + lý do; lịch sử vẫn còn.
UC-ACC-S06 — Activate BW/PA/RA from CRM (override); HW via ticketUC-ACC-S06 — Kích hoạt BW/PA/RA từ CRM (override); HW qua ticket
Agent: FlyPay Compliance / AdminTác nhân: FlyPay Compliance / Admin
Target section: Compliance override activate for BW/PA/RA; HW stays ticket path (S01).Mục tiêu: Override kích hoạt BW/PA/RA; HW vẫn theo ticket (S01).
PrerequisitesĐiều kiện tiên quyết
- BW/PA/RA Inactive; reason requiredBW/PA/RA Inactive; bắt buộc lý do
Main success scenarioKịch bản thành công chính
1. Open Inactive BW/PA/RA → Activate with reason.1. Mở BW/PA/RA Inactive → Activate kèm lý do.
2. For HW, use activation ticket approve (UC-ACC-S01).2. Với HW, dùng duyệt ticket (UC-ACC-S01).
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
——
Consequential conditionsĐiều kiện hậu quả
BW/PA/RA Active with CRM audit; HW unchanged unless ticket approved.BW/PA/RA Active có audit CRM; HW không đổi trừ khi ticket được duyệt.
-end -->3.7 Group Y — System3.7 Nhóm Y — System
UC-ACC-Y01 — Assign Inactive after creating BW/HWUC-ACC-Y01 — Gán Inactive sau create BW/HW
Agent: SystemTác nhân: System
Target section: Force state after creation.Mục tiêu: Ép trạng thái sau create.
PrerequisitesĐiều kiện tiên quyết
- Created successfullyCreate thành công
Main success scenarioKịch bản thành công chính
1. System set to Inactive (+ approval pending with BW)1. Hệ thống set Inactive (+ approval pending với BW)
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
Consequential conditionsĐiều kiện hậu quả
- UI/API reflects InactiveUI/API phản ánh Inactive
UC-ACC-Y02 — Block bind / VA when not yet ActiveUC-ACC-Y02 — Chặn bind / VA khi chưa Active
Agent: SystemTác nhân: System
Section title: Only Active can use it.Mục tiêu: Chỉ Active mới dùng được.
PrerequisitesĐiều kiện tiên quyết
- BW/HW Inactive existsBW/HW Inactive tồn tại
Main success scenarioKịch bản thành công chính
1. Create HW only list BW Active1. Create HW chỉ list BW Active
2. Create VA only list Active HW2. Create VA chỉ list HW Active
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Try selecting Inactive → not available in the dropdownCố chọn Inactive → không có trong dropdown
Consequential conditionsĐiều kiện hậu quả
- Do not create incorrect linksKhông tạo liên kết sai
UC-ACC-Y03 — Enforce 2FAUC-ACC-Y03 — Ép buộc 2FA
Agent: SystemTác nhân: System
Section goal: Block submission if canceled/wrong code.Mục tiêu: Chặn submit nếu hủy/sai mã.
PrerequisitesĐiều kiện tiên quyết
- Sensitive operationThao tác nhạy cảm
Main success scenarioKịch bản thành công chính
1. Show TwoFactorDialog before calling the API1. Hiện TwoFactorDialog trước khi gọi API
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Wrong code → error; Cancel → no state changeSai mã → lỗi; Cancel → không đổi state
Consequential conditionsĐiều kiện hậu quả
- Mutation only runs after VerifyMutation chỉ chạy sau Verify
UC-ACC-Y04 — Assign Inactive after PA/RA createUC-ACC-Y04 — Gán Inactive sau khi tạo PA/RA
Agent: SystemTác nhân: Hệ thống
Target section: New PA/RA always start Inactive; block refill/outbound until Active.Mục tiêu: PA/RA mới luôn Inactive; chặn refill/outbound đến khi Active.
PrerequisitesĐiều kiện tiên quyết
- Create PA/RA API succeededAPI tạo PA/RA thành công
Main success scenarioKịch bản thành công chính
1. Persist status=Inactive after issuance.1. Lưu status=Inactive sau phát hành.
2. Reject refill/outbound while Inactive.2. Từ chối refill/outbound khi Inactive.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
——
Consequential conditionsĐiều kiện hậu quả
No money-movement until maker-checker activate.Không money-movement đến khi maker-checker kích hoạt.
UC-ACC-Y05 — Enforce one PA and one RA per Active HWUC-ACC-Y05 — Ép một PA và một RA cho mỗi HW Active
Agent: SystemTác nhân: Hệ thống
Target section: Second create on the same HW returns conflict.Mục tiêu: Tạo lần hai trên cùng HW trả conflict.
PrerequisitesĐiều kiện tiên quyết
- PA or RA already exists for the Hot WalletĐã có PA hoặc RA cho Hot Wallet
Main success scenarioKịch bản thành công chính
1. Validate uniqueness per hot_wallet_id + account type.1. Kiểm tra duy nhất theo hot_wallet_id + loại account.
2. On conflict, return existing account reference.2. Khi conflict, trả tham chiếu account hiện có.
Alternative/Extended FlowLuồng thay thế / mở rộng
——
ExceptionNgoại lệ
——
Consequential conditionsĐiều kiện hậu quả
At most one PA and one RA bound to each Active HW.Mỗi HW Active tối đa một PA và một RA.
-end -->4. Group E — UC linked-actor (full stream)4. Nhóm E — UC liên-actor (full luồng)
Each UC-E combines multiple actors. The main flow clearly specifies who is performing the action.Mỗi UC-E ghép nhiều actor. Main flow ghi rõ ai đang thao tác.
Figure E. Overview E01Hình E. Tổng quan E01
UC-ACC-E01 — Provide sufficient collection infrastructure (happy path)UC-ACC-E01 — Cấp hạ tầng thu hộ đủ dùng (happy path)
Agents: Admin + Approver + FlyPay Support (+ Operator optional)Tác nhân: Admin + Approver + FlyPay Support (+ Operator tùy chọn)
Section goal: From zero to VA ready to collect on behalf.Mục tiêu: Từ zero đến VA sẵn sàng thu hộ.
PrerequisitesĐiều kiện tiên quyết
- Hai user merchant (creator ≠ approver)
- 2FA enabled (UI demo)2FA đã bật (demo UI)
- Ticket PermissionsQuyền ticket
Main success scenarioKịch bản thành công chính
1. Admin: create BW + 2FA (A05) → Inactive.1. Admin: tạo BW + 2FA (A05) → Inactive.
2. Approver: Approve BW + 2FA (P01) → Active.
3. Admin: create HW attached to BW + 2FA (A02) → Inactive.3. Admin: tạo HW gắn BW + 2FA (A02) → Inactive.
4. Admin: Request activation + ticket + 2FA (A03).
5. FlyPay Support: Approve ticket (S01) → HW Active.
6. Admin/Operator: create VA + 2FA (A09/O02) → copy address (A11).6. Admin/Operator: tạo VA + 2FA (A09/O02) → copy địa chỉ (A11).
Alternative/Extended FlowLuồng thay thế / mở rộng
- Finance takes the BW/VA step instead of Admin (E03)Finance làm bước BW/VA thay Admin (E03)
ExceptionNgoại lệ
- Reject BW (E04) or reject ticket (E05)Reject BW (E04) hoặc reject ticket (E05)
- Lack of Permissions/2FA (E06)Thiếu quyền/2FA (E06)
Consequential conditionsĐiều kiện hậu quả
- BW Active, HW Active, VA Active; ready for collectionBW Active, HW Active, VA Active; sẵn sàng thu hộ
Segment mapping → Single UC (E01)Ánh xạ chặng → UC đơn (E01)
- 1→A05
- 2→P01
- 3→A02
- 4→A03
- 5→S01
- 6→A09/O02 + A11
UC-ACC-E02 — Create BW immediately in Create HW and then completeUC-ACC-E02 — Tạo BW ngay trong Create HW rồi hoàn tất
Agent: Admin + Approver + FlyPayTác nhân: Admin + Approver + FlyPay
Section target: Inline BW then complete HW.Mục tiêu: Inline BW rồi hoàn tất HW.
PrerequisitesĐiều kiện tiên quyết
- Admin + Approver PermissionsQuyền Admin + Approver
Main success scenarioKịch bản thành công chính
1. Admin opens Create HW → Create new BW + 2FA → Inactive.1. Admin mở Create HW → Create new BW + 2FA → Inactive.
2. Approver approves BW.2. Approver duyệt BW.
3. Admin selects BW Active, completes Create HW + 2FA.3. Admin chọn BW Active, hoàn tất Create HW + 2FA.
4. Ticket → FlyPay → Active.
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Go back to Create HW when BW is still Inactive → cannot select BWQuay lại Create HW khi BW còn Inactive → không chọn được BW
Consequential conditionsĐiều kiện hậu quả
- Together with E01 consequence from HW Active stepCùng hậu quả E01 từ bước HW Active
UC-ACC-E03 — Finance creates BW/VA, Admin takes care of HWUC-ACC-E03 — Finance tạo BW/VA, Admin lo HW
Agent: Finance + Approver + Admin + FlyPayTác nhân: Finance + Approver + Admin + FlyPay
Section title: Assignment of roles.Mục tiêu: Phân công vai trò.
PrerequisitesĐiều kiện tiên quyết
- Finance and Admin RolesRole Finance và Admin
Main success scenarioKịch bản thành công chính
1. Finance creates BW1. Finance tạo BW
2. Approver's approval2. Approver duyệt
3. Admin creates HW + ticket3. Admin tạo HW + ticket
4. FlyPay Active
5. Finance/Operator creates VA5. Finance/Operator tạo VA
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
- Finance tries to create HW → no buttonFinance cố tạo HW → không có nút
Consequential conditionsĐiều kiện hậu quả
- Complete infrastructure with proper authorizationHạ tầng đầy đủ với đúng phân quyền
UC-ACC-E04 — Exception: BW rejected then restoredUC-ACC-E04 — Ngoại lệ: từ chối BW rồi phục hồi
Agent: Admin + ApproverTác nhân: Admin + Approver
Section title: Recovery after Reject.Mục tiêu: Phục hồi sau Reject.
PrerequisitesĐiều kiện tiên quyết
- BW is pendingBW đang pending
Main success scenarioKịch bản thành công chính
1. Approver Reject (P02)
2. Admin creates new BW / edits2. Admin tạo BW mới / chỉnh
3. Review by the Approver3. Approver duyệt lại
4. Continue E01 from HW creation4. Tiếp E01 từ tạo HW
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
Consequential conditionsĐiều kiện hậu quả
- BW Active valid after the recovery roundBW Active hợp lệ sau vòng phục hồi
UC-ACC-E05 — Exception: FlyPay refuses to activate HWUC-ACC-E05 — Ngoại lệ: FlyPay từ chối kích hoạt HW
Agent: Admin + FlyPay SupportTác nhân: Admin + FlyPay Support
Section title: Recovery after ticket rejection.Mục tiêu: Phục hồi sau reject ticket.
PrerequisitesĐiều kiện tiên quyết
- Ticket submittedTicket đã gửi
Main success scenarioKịch bản thành công chính
1. FlyPay Reject (S02)
2. HW Inactive
3. Admin opens a new ticket or creates another HW3. Admin mở ticket mới hoặc tạo HW khác
4. Approve → create VA4. Approve → tạo VA
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
Consequential conditionsĐiều kiện hậu quả
- HW Active after the new ticket roundHW Active sau vòng ticket mới
UC-ACC-E06 — Permission / Midway 2FA ExceptionUC-ACC-E06 — Ngoại lệ quyền / 2FA giữa chừng
Actors: All actorsTác nhân: Mọi actor
Section goal: Do not change state when lacking permission or canceling 2FA.Mục tiêu: Không đổi state khi thiếu quyền hoặc hủy 2FA.
PrerequisitesĐiều kiện tiên quyết
- Being at a sensitive stageĐang ở một chặng nhạy cảm
Main success scenarioKịch bản thành công chính
1. Error blocking / displaying system1. Hệ thống chặn / hiện lỗi
2. The actor has the right to redo the segment2. Actor đúng quyền làm lại chặng
Alternative/Extended FlowLuồng thay thế / mở rộng
ExceptionNgoại lệ
Consequential conditionsĐiều kiện hậu quả
- Do not create incomplete records / do not activate by mistakeKhông tạo bản ghi dở / không Active nhầm
5. APPENDIX5. Phụ lục
Offset compared to FSD v2.1 / bw-hw-compliance-activation.htmlLệch so với FSD v2.1 / bw-hw-compliance-activation.html
- Old FSD: create BW/HW that can be activated immediately or merchant self-activates HW.FSD cũ: tạo BW/HW có thể Active ngay hoặc merchant self-activate HW.
- Old compliance doc: both BW and HW are waiting for FlyPay (pending_compliance).Doc compliance cũ: cả BW và HW chờ FlyPay (pending_compliance).
- Currently confirmed: BW approves merchant internally; HW only FlyPay via ticket; default Inactive; every sensitive step has 2FA.Chốt hiện tại: BW duyệt nội bộ merchant; HW chỉ FlyPay qua ticket; mặc định Inactive; mọi bước nhạy cảm có 2FA.
- The UI Merchant Portal has been updated first; the API plan (API_Account) updates accordingly — the backend may still return Active until deployment.UI Merchant Portal đã cập nhật trước; API plan (API_Account) cập nhật theo — backend có thể còn trả Active cho đến khi deploy.
Photo captionGhi chú ảnh
- 00-signin.png: real image from the local portal.00-signin.png: ảnh thật từ portal local.
- The remaining images: UI illustrations according to the portal copy/layout (the local auth environment is not ready to capture the full flow). Can be replaced with real photos when demonstrating login with both users.Các hình còn lại: minh họa UI theo copy/layout portal (môi trường auth local chưa sẵn để chụp full flow). Có thể thay bằng ảnh thật khi demo đăng nhập đủ 2 user.
Source:Nguồn: CPG-MP_FSD_Account · fe/Merchantportal/src/features/crypto-accounts · API_Account · be/docs/client/bw-hw-compliance-activation.html (superseded BW section).· fe/Merchantportal/src/features/crypto-accounts · API_Account · be/docs/client/bw-hw-compliance-activation.html (superseded phần BW).
FSD / TC use-case anchors
Stable IDs for TC Index and RTM deep-links (includes FSD-native UC-ACC-01…23, role addendum, and Core Account UCs).ID ổn định cho deep-link từ TC Index / RTM (gồm UC-ACC-01…23 FSD-native, addendum vai, và UC Core Account).
UC-ACC-A01— open use caseUC-ACC-A02— open use caseUC-ACC-A03— open use caseUC-ACC-A04— open use caseUC-ACC-A05— open use caseUC-ACC-A06— open use caseUC-ACC-A07— open use caseUC-ACC-A08— open use caseUC-ACC-A09— open use caseUC-ACC-A10— open use caseUC-ACC-A11— open use caseUC-ACC-A12— open use caseUC-ACC-A13— open use caseUC-ACC-A14— open use caseUC-ACC-A15— open use caseUC-ACC-A16— open use caseUC-ACC-A17— open use caseUC-ACC-A18— open use caseUC-ACC-A19— open use caseUC-ACC-F01— open use caseUC-ACC-F02— open use caseUC-ACC-F03— open use caseUC-ACC-F04— open use caseUC-ACC-F05— open use caseUC-ACC-F06— open use caseUC-ACC-O01— open use caseUC-ACC-O02— open use caseUC-ACC-O03— open use caseUC-ACC-P01— open use caseUC-ACC-P02— open use caseUC-ACC-P03— open use caseUC-ACC-P04— open use caseUC-ACC-P05— open use caseUC-ACC-R01— open use caseUC-ACC-R02— open use caseUC-ACC-S01— open use caseUC-ACC-S02— open use caseUC-ACC-S03— open use caseUC-ACC-S04— open use caseUC-ACC-S05— open use caseUC-ACC-S06— open use caseUC-ACC-Y01— open use caseUC-ACC-Y02— open use caseUC-ACC-Y03— open use caseUC-ACC-Y04— open use caseUC-ACC-Y05— open use caseUC-ACC-E01— open use caseUC-ACC-E02— open use caseUC-ACC-E03— open use caseUC-ACC-E04— open use caseUC-ACC-E05— open use caseUC-ACC-E06— open use caseUC-ACC-01— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-02— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-03— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-04— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-05— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-06— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-07— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-08— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-09— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-10— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-11— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-12— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-13— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-14— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-15— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-16— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-17— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-18— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-19— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-20— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-21— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-22— MP Account FSD use case (MP Account FSD · Account RTM)UC-ACC-23— MP Account FSD use case (MP Account FSD · Account RTM)UC-ADR-01— Core Account FSD use case (Core Account FSD)UC-VA-01— Core Account FSD use case (Core Account FSD)UC-VA-02— Core Account FSD use case (Core Account FSD)UC-HW-01— Core Account FSD use case (Core Account FSD)UC-HW-02— Core Account FSD use case (Core Account FSD)UC-BEN-01— Core Account FSD use case (Core Account FSD)UC-ACT-01— Core Account FSD use case (Core Account FSD)UC-ACT-02— Core Account FSD use case (Core Account FSD)UC-MAP-01— Core Account FSD use case (Core Account FSD)UC-PAUSE-01— Core Account FSD use case (Core Account FSD)UC-IDM-01— Core Account FSD use case (Core Account FSD)