Merchant Portal — Account Test Cases

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

Doc IDCPG-TC-MP-ACC
VersionPhiên bản1.0
StatusTrạng tháiDraft
OwnerCPG BA / Architecture
AudienceĐối tượngQA, Product, Backend, Frontend
ClassificationPhân loạiInternal
Effective dateNgày hiệu lực01/12/2026
Related docs 02A Account SPECs · Account RTM · MP Account FSD · Account BR anchors · Account UC anchors

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

D. ContentD. Nội dung

Round A cases TC-MP-ACC-073…076 (2FA / Approve BW / HW ticket) — see 02A Account Index.

Index

Test ID Test name BR UC Category
TC-MP-ACC-001 Accounts landing defaults to Hot Wallets tab BR-MP-ACC-01 UC-ACC-01 Function
TC-MP-ACC-002 Tab switch preserves session filter/page state BR-MP-ACC-01 UC-ACC-01 Function
TC-MP-ACC-003 Merchant sees only own accounts BR-MP-ACC-01 UC-ACC-01 Security
TC-MP-ACC-004 List shows shortened address; copy uses full address BR-MP-ACC-01 UC-ACC-13 Function
TC-MP-ACC-005 Pagination default page size 20 BR-MP-ACC-01 UC-ACC-01 Infra
TC-MP-ACC-006 Page size above 100 is rejected or capped BR-MP-ACC-01 UC-ACC-01 Validation
TC-MP-ACC-007 Empty list shows “No accounts found” BR-MP-ACC-02 UC-ACC-01 Function
TC-MP-ACC-008 View Hot Wallet list with balances BR-MP-ACC-02 UC-ACC-01 Function
TC-MP-ACC-009 Filter Hot Wallets by partial address BR-MP-ACC-02 UC-ACC-02 Function
TC-MP-ACC-010 Filter Hot Wallets by TRON network BR-MP-ACC-02 UC-ACC-02 Function
TC-MP-ACC-011 Filter Hot Wallets by asset, creator, status, amounts, dates BR-MP-ACC-02 UC-ACC-02 Function
TC-MP-ACC-012 Stale Hot Wallet balance shows cached amount and indicator BR-MP-ACC-02 UC-ACC-01 Function
TC-MP-ACC-013 Failed balance sync shows last cache and warning BR-MP-ACC-02 UC-ACC-01 Function
TC-MP-ACC-014 Create Hot Wallet success BR-MP-ACC-03 UC-ACC-03 Function
TC-MP-ACC-015 Create Hot Wallet missing wallet name BR-MP-ACC-03 UC-ACC-03 Validation
TC-MP-ACC-016 Create Hot Wallet missing network BR-MP-ACC-03 UC-ACC-03 Validation
TC-MP-ACC-017 Create Hot Wallet missing beneficiary BR-MP-ACC-03 UC-ACC-03 Validation
TC-MP-ACC-018 Create Hot Wallet beneficiary network mismatch BR-MP-ACC-03 UC-ACC-03 Validation
TC-MP-ACC-019 Create Hot Wallet no supported asset BR-MP-ACC-03 UC-ACC-03 Validation
TC-MP-ACC-020 Create Hot Wallet duplicate name on same network BR-MP-ACC-03 UC-ACC-03 DataIntegrity
TC-MP-ACC-021 Create Hot Wallet blocked when beneficiary inactive BR-MP-ACC-03 UC-ACC-03 Validation
TC-MP-ACC-022 Create Beneficiary from Create Hot Wallet flow BR-MP-ACC-03 UC-ACC-15 Function
TC-MP-ACC-023 Cancel Create Hot Wallet does not persist BR-MP-ACC-03 UC-ACC-03 Function
TC-MP-ACC-024 Finance cannot create Hot Wallet BR-MP-ACC-11 UC-ACC-03 Security
TC-MP-ACC-025 Operator cannot create Hot Wallet BR-MP-ACC-11 UC-ACC-03 Security
TC-MP-ACC-026 Deactivate Hot Wallet with linked VAs requires confirmation BR-MP-ACC-10 UC-ACC-04 Function
TC-MP-ACC-027 Inactive Hot Wallet excluded from VA create dropdown BR-MP-ACC-10 UC-ACC-04 Function
TC-MP-ACC-028 Non-admin cannot deactivate Hot Wallet BR-MP-ACC-11 UC-ACC-04 Security
TC-MP-ACC-029 View Virtual Account list BR-MP-ACC-04 UC-ACC-05 Function
TC-MP-ACC-030 Filter Virtual Accounts by HW, customer, address, status BR-MP-ACC-04 UC-ACC-06 Function
TC-MP-ACC-031 Create Virtual Account success BR-MP-ACC-05 UC-ACC-07 Function
TC-MP-ACC-032 Create VA missing Customer ID BR-MP-ACC-05 UC-ACC-07 Validation
TC-MP-ACC-033 Create VA invalid email BR-MP-ACC-05 UC-ACC-07 Validation
TC-MP-ACC-034 Create VA missing Hot Wallet BR-MP-ACC-05 UC-ACC-07 Validation
TC-MP-ACC-035 Create VA inactive Hot Wallet BR-MP-ACC-05 UC-ACC-07 Validation
TC-MP-ACC-036 Duplicate active Customer ID blocked BR-MP-ACC-05 UC-ACC-07 DataIntegrity
TC-MP-ACC-037 New VA allowed for same customer after deactivate BR-MP-ACC-05 UC-ACC-07 DataIntegrity
TC-MP-ACC-038 VA network is system-derived from Hot Wallet BR-MP-ACC-05 UC-ACC-07 Function
TC-MP-ACC-039 Merchant may subset multi-asset Hot Wallet assets BR-MP-ACC-05 UC-ACC-07 Function
TC-MP-ACC-040 Operator can create Virtual Account BR-MP-ACC-11 UC-ACC-07 Security
TC-MP-ACC-041 Viewer cannot create Virtual Account BR-MP-ACC-11 UC-ACC-07 Security
TC-MP-ACC-042 View Beneficiary Wallet list BR-MP-ACC-06 UC-ACC-09 Function
TC-MP-ACC-043 Filter Beneficiary Wallets including TRON BR-MP-ACC-06 UC-ACC-10 Function
TC-MP-ACC-044 Create Beneficiary BYOW EVM success BR-MP-ACC-07 UC-ACC-11 Function
TC-MP-ACC-045 Create Beneficiary BYOW TRON success BR-MP-ACC-07 UC-ACC-11 Function
TC-MP-ACC-046 BYOW invalid EVM address BR-MP-ACC-07 UC-ACC-11 Validation
TC-MP-ACC-047 BYOW invalid TRON address BR-MP-ACC-07 UC-ACC-11 Validation
TC-MP-ACC-048 Duplicate beneficiary address blocked BR-MP-ACC-07 UC-ACC-11 DataIntegrity
TC-MP-ACC-049 Create Beneficiary Web3Auth success BR-MP-ACC-08 UC-ACC-12 Function
TC-MP-ACC-050 Web3Auth start failure allows retry BR-MP-ACC-08 UC-ACC-12 Function
TC-MP-ACC-051 Web3Auth callback failure does not create wallet BR-MP-ACC-08 UC-ACC-12 Function
TC-MP-ACC-052 Web3Auth never sends private key to portal backend BR-MP-ACC-08 UC-ACC-12 Security
TC-MP-ACC-053 Operator cannot create Beneficiary Wallet BR-MP-ACC-11 UC-ACC-11 Security
TC-MP-ACC-054 Copy copies full address and shows toast BR-MP-ACC-09 UC-ACC-13 Function
TC-MP-ACC-055 Open explorer in new tab BR-MP-ACC-09 UC-ACC-14 Function
TC-MP-ACC-056 Explorer icon disabled when URL missing BR-MP-ACC-09 UC-ACC-14 Function
TC-MP-ACC-057 Developer cannot copy or open explorer BR-MP-ACC-11 UC-ACC-13 Security
TC-MP-ACC-058 Viewer cannot copy or open explorer BR-MP-ACC-11 UC-ACC-13 Security
TC-MP-ACC-059 Deactivate Beneficiary linked to active HW warns BR-MP-ACC-10 UC-ACC-04 Function
TC-MP-ACC-060 Deactivate VA with pending txs warns BR-MP-ACC-10 UC-ACC-08 Function
TC-MP-ACC-061 Re-activate same Virtual Account keeps address BR-MP-ACC-10 UC-ACC-08 DataIntegrity
TC-MP-ACC-062 Audit log on create Hot Wallet BR-MP-ACC-12 UC-ACC-03 Audit
TC-MP-ACC-063 Audit log on create Virtual Account BR-MP-ACC-12 UC-ACC-07 Audit
TC-MP-ACC-064 Audit log on create Beneficiary and Web3Auth BR-MP-ACC-12 UC-ACC-12 Audit
TC-MP-ACC-065 Audit log on activate/deactivate BR-MP-ACC-12 UC-ACC-04 Audit
TC-MP-ACC-066 Access denied message on forbidden action BR-MP-ACC-11 UC-ACC-03 Security
TC-MP-ACC-067 Hot Wallet PUT allows wallet_name only BR-MP-ACC-03 UC-ACC-03 Validation
TC-MP-ACC-068 Virtual Account PUT allows customer name/email only BR-MP-ACC-05 UC-ACC-07 Validation
TC-MP-ACC-069 Beneficiary PUT allows wallet_name only BR-MP-ACC-07 UC-ACC-11 Validation
TC-MP-ACC-070 List load failure shows retry BR-MP-ACC-02 UC-ACC-01 Infra
TC-MP-ACC-071 Status toggle failure reverts UI BR-MP-ACC-10 UC-ACC-04 Function
TC-MP-ACC-072 Create HW CTA hidden for Finance BR-MP-ACC-11 UC-ACC-03 Security
TC-MP-ACC-073 Step-up 2FA required on Create BW BR-MP-ACC-07 / 12 UC-ACC-11 Security
TC-MP-ACC-074 Approver ≠ creator activates Inactive BW BR-MP-ACC-10 UC-ACC-P01 Function
TC-MP-ACC-075 Creator cannot approve own BW BR-MP-ACC-10 / 11 UC-ACC-P02 Security
TC-MP-ACC-076 Request HW activation ticket; merchant cannot self-activate BR-MP-ACC-10 UC-ACC-A03 Function
TC-MP-ACC-135 Landing shows Payout and Refund tabs BR-MP-ACC-01 / 13 / 16 UC-ACC-16 / 20 Function
TC-MP-ACC-136 Payout list tenant isolation BR-MP-ACC-13 UC-ACC-16 Security
TC-MP-ACC-137 Create Payout on Active HW → Inactive BR-MP-ACC-14 UC-ACC-18 Function
TC-MP-ACC-138 Duplicate Payout on same HW → conflict BR-MP-ACC-14 UC-ACC-18 Validation
TC-MP-ACC-139 Create Payout on Inactive HW → rejected BR-MP-ACC-14 UC-ACC-18 Validation
TC-MP-ACC-140 Payout cap dual-approve success BR-MP-ACC-15 UC-ACC-19 Function
TC-MP-ACC-141 Same-user approve Payout cap → forbidden BR-MP-ACC-15 UC-ACC-19 Security
TC-MP-ACC-142 Missing 2FA on Payout create → no change BR-MP-ACC-14 / 10 UC-ACC-18 Security
TC-MP-ACC-143 Activate Payout Approver ≠ creator BR-MP-ACC-10 / 14 UC-ACC-19 Function
TC-MP-ACC-144 Deactivate Payout blocks outbound/refill BR-MP-ACC-10 UC-ACC-19 Function
TC-MP-ACC-145 Operator cannot create Payout BR-MP-ACC-11 / 14 UC-ACC-18 Security
TC-MP-ACC-146 Create Refund on Active HW → Inactive BR-MP-ACC-17 UC-ACC-22 Function
TC-MP-ACC-147 Duplicate Refund on same HW → conflict BR-MP-ACC-17 UC-ACC-22 Validation
TC-MP-ACC-148 Refund cap dual-approve success BR-MP-ACC-18 UC-ACC-23 Function
TC-MP-ACC-149 Same-user approve Refund activate → forbidden BR-MP-ACC-10 / 17 UC-ACC-23 Security
TC-MP-ACC-150 Deactivate Refund with queue warns BR-MP-ACC-16 / 10 UC-ACC-23 Function
TC-MP-ACC-151 Finance cannot create Refund Account BR-MP-ACC-11 / 17 UC-ACC-22 Security
TC-CRM-ACC-014 CRM list filters by merchant/type/status F-CRM-ACC-03 UC-ACC-S03 Function
TC-CRM-ACC-015 CRM account detail read-only F-CRM-ACC-04 UC-ACC-S04 Function
TC-CRM-ACC-016 CRM force-deactivate HW with reason F-CRM-ACC-05 UC-ACC-S05 Function
TC-CRM-ACC-017 CRM re-deactivate idempotent F-CRM-ACC-05 UC-ACC-S05 Function
TC-CRM-ACC-018 CRM activate PA override F-CRM-ACC-06 UC-ACC-S06 Function
TC-CRM-ACC-019 CRM mutate without merchant_id → error F-CRM-ACC-05 UC-ACC-S05 Validation
TC-CRM-ACC-020 CRM create account → forbidden F-CRM-ACC-03 UC-ACC-S03 Security

Test cases

TC-MP-ACC-001

Field Value
Test ID TC-MP-ACC-001
Business Requirement ID BR-MP-ACC-01
Category Function
Use Case ID UC-ACC-01
Test name Accounts landing defaults to Hot Wallets tab
Preconditions Admin A is logged in. Merchant A has at least one Hot Wallet, VA, and Beneficiary.
Data —
Steps 1. Open Accounts (Home / Accounts). 2. Observe tab bar, page title, and default tab.
Expected result Breadcrumb Home / Accounts. Title Accounts. Tabs: Hot Wallets, Virtual Account, Beneficiary Wallets. Hot Wallets is selected. Create Hot Wallet CTA is visible.

TC-MP-ACC-002

Field Value
Test ID TC-MP-ACC-002
Business Requirement ID BR-MP-ACC-01
Category Function
Use Case ID UC-ACC-01
Test name Tab switch preserves session filter/page state
Preconditions Admin A on Hot Wallets. More than 20 HWs exist.
Data Filter Status = Active; page = 2
Steps 1. Apply Status=Active and go to page 2. 2. Switch to Virtual Account. 3. Switch back to Hot Wallets in the same browser session.
Expected result Hot Wallets tab restores Status=Active and page 2. After a full browser reload, state may reset.

TC-MP-ACC-003

Field Value
Test ID TC-MP-ACC-003
Business Requirement ID BR-MP-ACC-01
Category Security
Use Case ID UC-ACC-01
Test name Merchant sees only own accounts
Preconditions Merchant B has HW OtherCorp. Admin A JWT scoped to Merchant A.
Data HW OtherCorp address known
Steps 1. As Admin A, open all three tabs. 2. Search OtherCorp address on Hot Wallets. 3. Call list APIs with Merchant A token.
Expected result OtherCorp is not listed. Search returns empty. APIs return only Merchant A rows. No cross-tenant leak.

TC-MP-ACC-004

Field Value
Test ID TC-MP-ACC-004
Business Requirement ID BR-MP-ACC-01
Category Function
Use Case ID UC-ACC-13
Test name List shows shortened address; copy uses full address
Preconditions HW-A1 exists with full address TXYZexampleTronAddress0000000009.
Data —
Steps 1. Open Hot Wallets. 2. Inspect Account Address cell. 3. Click copy.
Expected result Cell shows shortened address. Clipboard contains the full address, not the shortened text.

TC-MP-ACC-005

Field Value
Test ID TC-MP-ACC-005
Business Requirement ID BR-MP-ACC-01
Category Infra
Use Case ID UC-ACC-01
Test name Pagination default page size 20
Preconditions Merchant A has 25 Hot Wallets.
Data No pageSize query
Steps 1. Open Hot Wallets with default URL. 2. Count rows.
Expected result 20 rows on page 1. Page-size selector default is 20. Remaining 5 wallets on page 2.

TC-MP-ACC-006

Field Value
Test ID TC-MP-ACC-006
Business Requirement ID BR-MP-ACC-01
Category Validation
Use Case ID UC-ACC-01
Test name Page size above 100 is rejected or capped
Preconditions Admin A authenticated.
Data pageSize=101
Steps 1. GET /merchant/accounts/hot-wallets?pageSize=101.
Expected result Request is rejected (400 VALIDATION_ERROR) or pageSize is capped at 100. No unbounded dump.

TC-MP-ACC-007

Field Value
Test ID TC-MP-ACC-007
Business Requirement ID BR-MP-ACC-02
Category Function
Use Case ID UC-ACC-01
Test name Empty list shows “No accounts found”
Preconditions Merchant A has no Hot Wallets, or filters match none.
Data Status = Inactive when all HWs are Active
Steps 1. Open Hot Wallets (or apply unmatched filter).
Expected result Empty state: “No accounts found”. No error toast.

TC-MP-ACC-008

Field Value
Test ID TC-MP-ACC-008
Business Requirement ID BR-MP-ACC-02
Category Function
Use Case ID UC-ACC-01
Test name View Hot Wallet list with balances
Preconditions HW-A1 has available 100 USDT, total 120 USDT, settled USDT 20. Finance A logged in.
Data —
Steps 1. Open Hot Wallets as Finance A.
Expected result Columns: #, Account Name, Address (copy+explorer), Network, Available/Total, Settled by asset, Created By, Created Date, Action. Available ≤ total. Settled grouped by asset (USDT: 20.00). Finance sees list; no Create Hot Wallet CTA.

TC-MP-ACC-009

Field Value
Test ID TC-MP-ACC-009
Business Requirement ID BR-MP-ACC-02
Category Function
Use Case ID UC-ACC-02
Test name Filter Hot Wallets by partial address
Preconditions HW-A1 address contains TXYZ. Another HW does not.
Data Account Address = TXYZ
Steps 1. Enter TXYZ. 2. Click Search.
Expected result Only matching wallets listed.

TC-MP-ACC-010

Field Value
Test ID TC-MP-ACC-010
Business Requirement ID BR-MP-ACC-02
Category Function
Use Case ID UC-ACC-02
Test name Filter Hot Wallets by TRON network
Preconditions HW-A1 TRON Testnet; HW-A2 BSC Testnet.
Data Network = TRON Testnet
Steps 1. Open Network dropdown. 2. Select TRON Testnet. 3. Search.
Expected result Dropdown includes TRON Mainnet and TRON Testnet. Result list contains only HW-A1.

TC-MP-ACC-011

Field Value
Test ID TC-MP-ACC-011
Business Requirement ID BR-MP-ACC-02
Category Function
Use Case ID UC-ACC-02
Test name Filter Hot Wallets by asset, creator, status, amounts, dates
Preconditions Mixed HWs: USDT/USDC, Active/Inactive, different creators and amounts.
Data Combinations: Assets=USDT; Created By=Admin A; Status=Active; Total Amount From/To; Settled From/To; Created Date From/To
Steps 1. Apply each filter alone, then a combination. 2. Search.
Expected result Each filter narrows correctly. Combined filters are AND. Clearing filters restores full list.

TC-MP-ACC-012

Field Value
Test ID TC-MP-ACC-012
Business Requirement ID BR-MP-ACC-02
Category Function
Use Case ID UC-ACC-01
Test name Stale Hot Wallet balance shows cached amount and indicator
Preconditions HW-A1 balance_sync_status=STALE; last cached total 120 USDT.
Data —
Steps 1. Open Hot Wallets.
Expected result Cached amounts still displayed. Stale indicator visible.

TC-MP-ACC-013

Field Value
Test ID TC-MP-ACC-013
Business Requirement ID BR-MP-ACC-02
Category Function
Use Case ID UC-ACC-01
Test name Failed balance sync shows last cache and warning
Preconditions HW-A1 balance_sync_status=FAILED.
Data —
Steps 1. Open Hot Wallets. 2. Optionally open balances refresh.
Expected result Last cached balance shown with warning. No blank/zero wipe of last known amount.

TC-MP-ACC-014

Field Value
Test ID TC-MP-ACC-014
Business Requirement ID BR-MP-ACC-03
Category Function
Use Case ID UC-ACC-03
Test name Create Hot Wallet success
Preconditions Admin A. BEN-A1 active on TRON Testnet.
Data Wallet Name=Ops TRON; Network=TRON Testnet; Beneficiary=BEN-A1; Assets=USDT, USDC
Steps 1. Click Create Hot Wallet. 2. Fill fields. 3. Submit.
Expected result Wallet created Active. Address generated by system. Row appears in list. Name unique per merchant+network. Audit event written.

TC-MP-ACC-015

Field Value
Test ID TC-MP-ACC-015
Business Requirement ID BR-MP-ACC-03
Category Validation
Use Case ID UC-ACC-03
Test name Create Hot Wallet missing wallet name
Preconditions Create Hot Wallet modal open.
Data Wallet Name empty; other fields valid
Steps 1. Submit.
Expected result Inline error: “Wallet name is required”. No API persist.

TC-MP-ACC-016

Field Value
Test ID TC-MP-ACC-016
Business Requirement ID BR-MP-ACC-03
Category Validation
Use Case ID UC-ACC-03
Test name Create Hot Wallet missing network
Preconditions Modal open.
Data Network empty
Steps 1. Submit.
Expected result Error: “Network is required”.

TC-MP-ACC-017

Field Value
Test ID TC-MP-ACC-017
Business Requirement ID BR-MP-ACC-03
Category Validation
Use Case ID UC-ACC-03
Test name Create Hot Wallet missing beneficiary
Preconditions Modal open.
Data Beneficiary empty
Steps 1. Submit.
Expected result Error: “Beneficiary wallet is required”.

TC-MP-ACC-018

Field Value
Test ID TC-MP-ACC-018
Business Requirement ID BR-MP-ACC-03
Category Validation
Use Case ID UC-ACC-03
Test name Create Hot Wallet beneficiary network mismatch
Preconditions BEN-A2 is BSC; user selects TRON network.
Data Network=TRON Testnet; Beneficiary=BEN-A2
Steps 1. Select mismatched beneficiary. 2. Submit.
Expected result Error: “Beneficiary wallet network must match selected network”. No create.

TC-MP-ACC-019

Field Value
Test ID TC-MP-ACC-019
Business Requirement ID BR-MP-ACC-03
Category Validation
Use Case ID UC-ACC-03
Test name Create Hot Wallet no supported asset
Preconditions Modal open; network selected.
Data Assets unchecked
Steps 1. Submit.
Expected result Error: “Select at least one supported asset”.

TC-MP-ACC-020

Field Value
Test ID TC-MP-ACC-020
Business Requirement ID BR-MP-ACC-03
Category DataIntegrity
Use Case ID UC-ACC-03
Test name Create Hot Wallet duplicate name on same network
Preconditions HW named Main TRON already exists on TRON Testnet.
Data Wallet Name=Main TRON; Network=TRON Testnet
Steps 1. Submit create.
Expected result Error: “Wallet name already exists”. Unique per merchant and network. Same name on BSC is allowed.

TC-MP-ACC-021

Field Value
Test ID TC-MP-ACC-021
Business Requirement ID BR-MP-ACC-03
Category Validation
Use Case ID UC-ACC-03
Test name Create Hot Wallet blocked when beneficiary inactive
Preconditions BEN-A1 set Inactive.
Data Beneficiary=BEN-A1
Steps 1. Open Create Hot Wallet. 2. Open beneficiary dropdown.
Expected result Inactive beneficiary is not selectable. If forced via API, create is rejected.

TC-MP-ACC-022

Field Value
Test ID TC-MP-ACC-022
Business Requirement ID BR-MP-ACC-03
Category Function
Use Case ID UC-ACC-15
Test name Create Beneficiary from Create Hot Wallet flow
Preconditions Admin A in Create Hot Wallet modal.
Data Click Create New; BYOW valid TRON address
Steps 1. Click Create New. 2. Complete Beneficiary create. 3. Return to Hot Wallet modal.
Expected result New beneficiary is selected and available. Hot Wallet is not created until user confirms Create Hot Wallet.

TC-MP-ACC-023

Field Value
Test ID TC-MP-ACC-023
Business Requirement ID BR-MP-ACC-03
Category Function
Use Case ID UC-ACC-03
Test name Cancel Create Hot Wallet does not persist
Preconditions Modal filled with valid data.
Data —
Steps 1. Click Cancel.
Expected result Modal closes. No new Hot Wallet. No audit create event.

TC-MP-ACC-024

Field Value
Test ID TC-MP-ACC-024
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-03
Test name Finance cannot create Hot Wallet
Preconditions Finance A logged in.
Data —
Steps 1. Open Hot Wallets. 2. Attempt POST create via UI or API.
Expected result Create CTA hidden. API 403 Access denied.

TC-MP-ACC-025

Field Value
Test ID TC-MP-ACC-025
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-03
Test name Operator cannot create Hot Wallet
Preconditions Operator A logged in.
Data —
Steps 1. Open Hot Wallets. 2. POST create.
Expected result CTA hidden. API 403.

TC-MP-ACC-026

Field Value
Test ID TC-MP-ACC-026
Business Requirement ID BR-MP-ACC-10
Category Function
Use Case ID UC-ACC-04
Test name Deactivate Hot Wallet with linked VAs requires confirmation
Preconditions HW-A1 has an active VA. Admin A.
Data —
Steps 1. Toggle HW-A1 to Inactive. 2. Read warning. 3. Confirm.
Expected result Warning: “This Hot Wallet is used by active Virtual Accounts. Deactivating may affect payment collection.” After confirm, status Inactive. Historical txs remain. Audit logged.

TC-MP-ACC-027

Field Value
Test ID TC-MP-ACC-027
Business Requirement ID BR-MP-ACC-10
Category Function
Use Case ID UC-ACC-04
Test name Inactive Hot Wallet excluded from VA create dropdown
Preconditions HW-A1 Inactive.
Data —
Steps 1. Open Create Virtual Account. 2. Open Hot Wallet dropdown.
Expected result HW-A1 not listed. Cannot be selected.

TC-MP-ACC-028

Field Value
Test ID TC-MP-ACC-028
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-04
Test name Non-admin cannot deactivate Hot Wallet
Preconditions Finance A / Operator A. HW-A1 Active.
Data —
Steps 1. Attempt status toggle or PATCH status.
Expected result Toggle disabled. API 403. Status remains Active.

TC-MP-ACC-029

Field Value
Test ID TC-MP-ACC-029
Business Requirement ID BR-MP-ACC-04
Category Function
Use Case ID UC-ACC-05
Test name View Virtual Account list
Preconditions At least one VA linked to HW-A1. Operator A.
Data —
Steps 1. Open Virtual Account tab.
Expected result Columns: #, Customer ID, Hot Wallet, Address (copy+explorer), Network, Available/Total, Last Transaction At, Action. Operator can view.

TC-MP-ACC-030

Field Value
Test ID TC-MP-ACC-030
Business Requirement ID BR-MP-ACC-04
Category Function
Use Case ID UC-ACC-06
Test name Filter Virtual Accounts by HW, customer, address, status
Preconditions Multiple VAs across HW-A1/HW-A2, mixed status.
Data hotWalletId=HW-A1; customerId=CUST013; status=Active
Steps 1. Apply filters. 2. Search.
Expected result AND semantics. Only matching VAs. Empty state if none.

TC-MP-ACC-031

Field Value
Test ID TC-MP-ACC-031
Business Requirement ID BR-MP-ACC-05
Category Function
Use Case ID UC-ACC-07
Test name Create Virtual Account success
Preconditions HW-A1 Active. Customer CUST100 has no active VA. Admin A.
Data Customer ID=CUST100; Name=Alice; Email=alice@example.com; Hot Wallet=HW-A1
Steps 1. Create Virtual Account. 2. Select HW-A1. 3. Submit.
Expected result VA Active. Address generated. Network/assets derived from HW-A1. Balance 0 (unless indexed). Audit logged. List refreshes.

TC-MP-ACC-032

Field Value
Test ID TC-MP-ACC-032
Business Requirement ID BR-MP-ACC-05
Category Validation
Use Case ID UC-ACC-07
Test name Create VA missing Customer ID
Preconditions Modal open.
Data Customer ID empty
Steps 1. Submit.
Expected result “Customer ID is required”.

TC-MP-ACC-033

Field Value
Test ID TC-MP-ACC-033
Business Requirement ID BR-MP-ACC-05
Category Validation
Use Case ID UC-ACC-07
Test name Create VA invalid email
Preconditions Modal open.
Data Customer Email=not-an-email
Steps 1. Submit.
Expected result “Customer email is invalid”. Empty email is allowed.

TC-MP-ACC-034

Field Value
Test ID TC-MP-ACC-034
Business Requirement ID BR-MP-ACC-05
Category Validation
Use Case ID UC-ACC-07
Test name Create VA missing Hot Wallet
Preconditions Modal open.
Data Hot Wallet empty
Steps 1. Submit.
Expected result “Hot Wallet is required”.

TC-MP-ACC-035

Field Value
Test ID TC-MP-ACC-035
Business Requirement ID BR-MP-ACC-05
Category Validation
Use Case ID UC-ACC-07
Test name Create VA inactive Hot Wallet
Preconditions HW-A1 Inactive.
Data hot_wallet_id=HW-A1 via API
Steps 1. POST create VA.
Expected result “Selected Hot Wallet is inactive” / VALIDATION_ERROR hot_wallet_id reason inactive.

TC-MP-ACC-036

Field Value
Test ID TC-MP-ACC-036
Business Requirement ID BR-MP-ACC-05
Category DataIntegrity
Use Case ID UC-ACC-07
Test name Duplicate active Customer ID blocked
Preconditions CUST013 already has an active VA.
Data Customer ID=CUST013
Steps 1. Create another VA for CUST013.
Expected result “Customer ID already has an active virtual account”. No second active VA.

TC-MP-ACC-037

Field Value
Test ID TC-MP-ACC-037
Business Requirement ID BR-MP-ACC-05
Category DataIntegrity
Use Case ID UC-ACC-07
Test name New VA allowed for same customer after deactivate
Preconditions CUST013 VA deactivated. Address T_OLD reserved.
Data Customer ID=CUST013; Hot Wallet=HW-A1
Steps 1. Create VA for CUST013.
Expected result New Active VA with a new address ≠ T_OLD. Old address never reused.

TC-MP-ACC-038

Field Value
Test ID TC-MP-ACC-038
Business Requirement ID BR-MP-ACC-05
Category Function
Use Case ID UC-ACC-07
Test name VA network is system-derived from Hot Wallet
Preconditions Create VA modal. HW-A1 is TRON Testnet.
Data —
Steps 1. Select HW-A1. 2. Inspect Network field. 3. Attempt to change Network independently.
Expected result Network auto-populated and read-only. Independent network selection is not supported.

TC-MP-ACC-039

Field Value
Test ID TC-MP-ACC-039
Business Requirement ID BR-MP-ACC-05
Category Function
Use Case ID UC-ACC-07
Test name Merchant may subset multi-asset Hot Wallet assets
Preconditions HW-A1 supports USDT and USDC.
Data Assets = USDT only
Steps 1. Select HW-A1. 2. Uncheck USDC. 3. Submit.
Expected result VA created with supported_assets [USDT] only. Cannot add an asset not on the Hot Wallet. Single-asset HW auto-selects that asset.

TC-MP-ACC-040

Field Value
Test ID TC-MP-ACC-040
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-07
Test name Operator can create Virtual Account
Preconditions Operator A. HW-A1 Active.
Data Customer ID=CUST200
Steps 1. Open Virtual Account tab. 2. Create VA.
Expected result CTA visible. Create succeeds. Operator cannot create HW or Beneficiary.

TC-MP-ACC-041

Field Value
Test ID TC-MP-ACC-041
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-07
Test name Viewer cannot create Virtual Account
Preconditions Viewer A.
Data —
Steps 1. Open Virtual Account tab. 2. POST create.
Expected result CTA hidden. API 403 Access denied.

TC-MP-ACC-042

Field Value
Test ID TC-MP-ACC-042
Business Requirement ID BR-MP-ACC-06
Category Function
Use Case ID UC-ACC-09
Test name View Beneficiary Wallet list
Preconditions BEN-A1 and BEN-A2 exist. Finance A.
Data —
Steps 1. Open Beneficiary Wallets.
Expected result Columns: Wallet Name, Address, Blockchain, Network Type, Creation Type, Created At, Action. Finance can view and create.

TC-MP-ACC-043

Field Value
Test ID TC-MP-ACC-043
Business Requirement ID BR-MP-ACC-06
Category Function
Use Case ID UC-ACC-10
Test name Filter Beneficiary Wallets including TRON
Preconditions BEN-A1 TRON; BEN-A2 BSC.
Data Blockchain=TRON; Creation Type=PRO_MODE_BYOW
Steps 1. Open Blockchain dropdown. 2. Filter TRON and Pro Mode.
Expected result Dropdown includes TRON. Only BEN-A1 listed.

TC-MP-ACC-044

Field Value
Test ID TC-MP-ACC-044
Business Requirement ID BR-MP-ACC-07
Category Function
Use Case ID UC-ACC-11
Test name Create Beneficiary BYOW EVM success
Preconditions Admin A. Address unused.
Data Name=Payout BSC; Network=BSC Testnet; Address=0x2222222222222222222222222222222222222222
Steps 1. Select Pro Mode. 2. Fill. 3. Create Wallet.
Expected result Status Active. Creation Type PRO_MODE_BYOW. Address immutable. Audit logged.

TC-MP-ACC-045

Field Value
Test ID TC-MP-ACC-045
Business Requirement ID BR-MP-ACC-07
Category Function
Use Case ID UC-ACC-11
Test name Create Beneficiary BYOW TRON success
Preconditions Admin A.
Data Name=Payout TRON; Network=TRON Testnet; Address=TXYZvalidTronBase58Address00002
Steps 1. Pro Mode. 2. Submit.
Expected result Created Active on TRON. Address stored.

TC-MP-ACC-046

Field Value
Test ID TC-MP-ACC-046
Business Requirement ID BR-MP-ACC-07
Category Validation
Use Case ID UC-ACC-11
Test name BYOW invalid EVM address
Preconditions Pro Mode; Network=BSC Testnet.
Data Address=0x123 or missing 0x
Steps 1. Submit.
Expected result Inline invalid address error. Not created.

TC-MP-ACC-047

Field Value
Test ID TC-MP-ACC-047
Business Requirement ID BR-MP-ACC-07
Category Validation
Use Case ID UC-ACC-11
Test name BYOW invalid TRON address
Preconditions Pro Mode; Network=TRON Testnet.
Data Address=0x1111111111111111111111111111111111111111
Steps 1. Submit.
Expected result Format validation fails (EVM address rejected on TRON).

TC-MP-ACC-048

Field Value
Test ID TC-MP-ACC-048
Business Requirement ID BR-MP-ACC-07
Category DataIntegrity
Use Case ID UC-ACC-11
Test name Duplicate beneficiary address blocked
Preconditions BEN-A2 address already stored for Merchant A.
Data Same address as BEN-A2
Steps 1. Create BYOW with duplicate address.
Expected result Duplicate blocked. Submission rejected.

TC-MP-ACC-049

Field Value
Test ID TC-MP-ACC-049
Business Requirement ID BR-MP-ACC-08
Category Function
Use Case ID UC-ACC-12
Test name Create Beneficiary Web3Auth success
Preconditions Admin A. Web3Auth test IdP available.
Data Name=Easy TRON; Network=TRON Testnet
Steps 1. Easy Mode. 2. Enter name+network. 3. Launch Web3Auth. 4. Complete social/email auth. 5. Callback.
Expected result Wallet created EASY_MODE_WEB3AUTH. Appears in list. Provider metadata stored when available. Audit start + complete.

TC-MP-ACC-050

Field Value
Test ID TC-MP-ACC-050
Business Requirement ID BR-MP-ACC-08
Category Function
Use Case ID UC-ACC-12
Test name Web3Auth start failure allows retry
Preconditions Web3Auth start API forced to fail.
Data —
Steps 1. Continue with Web3Auth.
Expected result Error shown. Retry allowed. No beneficiary row created.

TC-MP-ACC-051

Field Value
Test ID TC-MP-ACC-051
Business Requirement ID BR-MP-ACC-08
Category Function
Use Case ID UC-ACC-12
Test name Web3Auth callback failure does not create wallet
Preconditions Callback signature/session invalid.
Data Tampered callback
Steps 1. Complete start. 2. Send invalid callback.
Expected result Error shown. Wallet not created.

TC-MP-ACC-052

Field Value
Test ID TC-MP-ACC-052
Business Requirement ID BR-MP-ACC-08
Category Security
Use Case ID UC-ACC-12
Test name Web3Auth never sends private key to portal backend
Preconditions Capture portal backend request/response and DB row.
Data Successful Easy Mode create
Steps 1. Complete Web3Auth create. 2. Inspect callback payload, logs, beneficiary row.
Expected result No private key, mnemonic, seed, or xprv in request, logs, or DB. Address and provider metadata only.

TC-MP-ACC-053

Field Value
Test ID TC-MP-ACC-053
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-11
Test name Operator cannot create Beneficiary Wallet
Preconditions Operator A.
Data —
Steps 1. Open Beneficiary tab. 2. POST create.
Expected result CTA hidden. API 403.

TC-MP-ACC-054

Field Value
Test ID TC-MP-ACC-054
Business Requirement ID BR-MP-ACC-09
Category Function
Use Case ID UC-ACC-13
Test name Copy copies full address and shows toast
Preconditions Support A viewing HW-A1.
Data —
Steps 1. Click copy icon.
Expected result Toast “Wallet address copied”. Clipboard = full address. Support is allowed. Copy audit is not required this phase.

TC-MP-ACC-055

Field Value
Test ID TC-MP-ACC-055
Business Requirement ID BR-MP-ACC-09
Category Function
Use Case ID UC-ACC-14
Test name Open explorer in new tab
Preconditions Explorer URL configured for TRON Testnet.
Data HW-A1
Steps 1. Click explorer icon.
Expected result New browser tab opens the correct explorer URL for chain+network+address.

TC-MP-ACC-056

Field Value
Test ID TC-MP-ACC-056
Business Requirement ID BR-MP-ACC-09
Category Function
Use Case ID UC-ACC-14
Test name Explorer icon disabled when URL missing
Preconditions Network with no explorer template.
Data —
Steps 1. View that wallet row.
Expected result Icon disabled with tooltip. No navigation.

TC-MP-ACC-057

Field Value
Test ID TC-MP-ACC-057
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-13
Test name Developer cannot copy or open explorer
Preconditions Developer A.
Data —
Steps 1. Open Hot Wallets.
Expected result Copy and explorer actions hidden/disabled. Addresses still visible for integration.

TC-MP-ACC-058

Field Value
Test ID TC-MP-ACC-058
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-13
Test name Viewer cannot copy or open explorer
Preconditions Viewer A.
Data —
Steps 1. Open any tab.
Expected result Read-only list. No copy, explorer, create, or status actions.

TC-MP-ACC-059

Field Value
Test ID TC-MP-ACC-059
Business Requirement ID BR-MP-ACC-10
Category Function
Use Case ID UC-ACC-04
Test name Deactivate Beneficiary linked to active HW warns
Preconditions BEN-A1 linked to active HW-A1. Admin A.
Data —
Steps 1. Toggle BEN-A1 Inactive.
Expected result Warning: “This wallet is used by active Hot Wallets. Deactivating may affect settlement.” Confirm required. Inactive beneficiary cannot be selected on new HW create.

TC-MP-ACC-060

Field Value
Test ID TC-MP-ACC-060
Business Requirement ID BR-MP-ACC-10
Category Function
Use Case ID UC-ACC-08
Test name Deactivate VA with pending txs warns
Preconditions VA has pending transactions. Admin A.
Data —
Steps 1. Toggle VA Inactive.
Expected result Warning about pending transactions. After confirm, VA cannot be used for new collection. History remains.

TC-MP-ACC-061

Field Value
Test ID TC-MP-ACC-061
Business Requirement ID BR-MP-ACC-10
Category DataIntegrity
Use Case ID UC-ACC-08
Test name Re-activate same Virtual Account keeps address
Preconditions VA-1 inactive; address T_OLD. Admin A.
Data PATCH status=active on VA-1
Steps 1. Re-activate VA-1.
Expected result Same va_id and same address T_OLD. Derivation index unchanged. Address not given to another customer.

TC-MP-ACC-062

Field Value
Test ID TC-MP-ACC-062
Business Requirement ID BR-MP-ACC-12
Category Audit
Use Case ID UC-ACC-03
Test name Audit log on create Hot Wallet
Preconditions Admin A creates HW.
Data From TC-MP-ACC-014
Steps 1. Create HW. 2. Query audit log.
Expected result Event present: user, merchant, wallet name, network, supported assets, timestamp. No secrets.

TC-MP-ACC-063

Field Value
Test ID TC-MP-ACC-063
Business Requirement ID BR-MP-ACC-12
Category Audit
Use Case ID UC-ACC-07
Test name Audit log on create Virtual Account
Preconditions Successful VA create.
Data —
Steps 1. Create VA. 2. Query audit.
Expected result Event: user, merchant, customer ID, hot wallet, network, timestamp.

TC-MP-ACC-064

Field Value
Test ID TC-MP-ACC-064
Business Requirement ID BR-MP-ACC-12
Category Audit
Use Case ID UC-ACC-12
Test name Audit log on create Beneficiary and Web3Auth
Preconditions BYOW create and Web3Auth create.
Data —
Steps 1. Create BYOW. 2. Start and complete Web3Auth.
Expected result Create beneficiary audited. Web3Auth start (session ID) and complete (provider, masked address) audited. No private key.

TC-MP-ACC-065

Field Value
Test ID TC-MP-ACC-065
Business Requirement ID BR-MP-ACC-12
Category Audit
Use Case ID UC-ACC-04
Test name Audit log on activate/deactivate
Preconditions Admin A toggles HW status.
Data old=active, new=inactive
Steps 1. Deactivate. 2. Query audit.
Expected result Event: user, wallet ID, old status, new status, timestamp.

TC-MP-ACC-066

Field Value
Test ID TC-MP-ACC-066
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-03
Test name Access denied message on forbidden action
Preconditions Viewer A.
Data —
Steps 1. Call a create or status API.
Expected result Portal shows “Access denied”. HTTP 403.

TC-MP-ACC-067

Field Value
Test ID TC-MP-ACC-067
Business Requirement ID BR-MP-ACC-03
Category Validation
Use Case ID UC-ACC-03
Test name Hot Wallet PUT allows wallet_name only
Preconditions HW-A1 exists. Admin A.
Data PUT body attempting beneficiary_wallet_id / supported_assets / network change
Steps 1. PUT new wallet_name only — expect success. 2. PUT network or beneficiary change.
Expected result Name update succeeds. Network, address, beneficiary, assets remain immutable (400 or ignored with no change).

TC-MP-ACC-068

Field Value
Test ID TC-MP-ACC-068
Business Requirement ID BR-MP-ACC-05
Category Validation
Use Case ID UC-ACC-07
Test name Virtual Account PUT allows customer name/email only
Preconditions VA exists.
Data PUT customer_id or hot_wallet_id change
Steps 1. PUT customer_name/email. 2. PUT customer_id / hot_wallet_id.
Expected result Name/email update succeeds. Customer ID, HW, network, address, assets immutable. Status uses PATCH, not PUT.

TC-MP-ACC-069

Field Value
Test ID TC-MP-ACC-069
Business Requirement ID BR-MP-ACC-07
Category Validation
Use Case ID UC-ACC-11
Test name Beneficiary PUT allows wallet_name only
Preconditions BEN-A1 exists.
Data PUT wallet_address change
Steps 1. PUT wallet_name. 2. PUT address/blockchain.
Expected result Name update succeeds. Address, blockchain, network type, creation type immutable.

TC-MP-ACC-070

Field Value
Test ID TC-MP-ACC-070
Business Requirement ID BR-MP-ACC-02
Category Infra
Use Case ID UC-ACC-01
Test name List load failure shows retry
Preconditions List API forced 500.
Data —
Steps 1. Open Hot Wallets.
Expected result Error message and retry control. Toggle/list not silently empty-success.

TC-MP-ACC-071

Field Value
Test ID TC-MP-ACC-071
Business Requirement ID BR-MP-ACC-10
Category Function
Use Case ID UC-ACC-04
Test name Status toggle failure reverts UI
Preconditions PATCH status forced to fail.
Data —
Steps 1. Toggle Active → Inactive.
Expected result Toggle reverts to Active. Error shown.

TC-MP-ACC-072

Field Value
Test ID TC-MP-ACC-072
Business Requirement ID BR-MP-ACC-11
Category Security
Use Case ID UC-ACC-03
Test name Create HW CTA hidden for Finance
Preconditions Finance A on Hot Wallets tab.
Data —
Steps 1. Observe tab CTA. 2. Open Virtual Account and Beneficiary tabs.
Expected result No Create Hot Wallet. Create Virtual Account and Create Beneficiary Wallet remain available for Finance.

Round A — Inactive / maker-checker / ticket / 2FA (TBD executable detail)

Linked Feature Specs: Shared UI, Create BW, Approve BW, Activate HW under docs/html/02A_SPEC/Merchant_Portal/Account/.

TC-MP-ACC-073 — Step-up 2FA required on Create BW

Field Value
BR BR-MP-ACC-07, BR-MP-ACC-12 / APPSEC-ACC-STEPUP-2FA
UC UC-ACC-11 / SPEC Shared UI
Category Security
Preconditions Admin A; 2FA enrolled
Steps Start Create BW → Confirm → cancel or fail 2FA
Expected No BW created; list unchanged

TC-MP-ACC-074 — Approver ≠ creator activates Inactive BW

Field Value
BR BR-MP-ACC-10
UC UC-ACC-P01 / SPEC Approve BW
Category Function
Preconditions BW Inactive created by Admin A; Approver Finance A (or second Admin) with approve grant
Steps Approver Approve → pass 2FA
Expected BW Active; audit shows approver ≠ creator

TC-MP-ACC-075 — Creator cannot approve own BW

Field Value
BR BR-MP-ACC-10 / 11
UC UC-ACC-P02
Category Security
Steps Creator attempts Approve on own Inactive BW
Expected Denied; status remains Inactive

TC-MP-ACC-076 — Request HW activation; no merchant self-activate

Field Value
BR BR-MP-ACC-10
UC UC-ACC-A03 / SPEC Activate HW
Category Function
Preconditions HW Inactive post-create
Steps Request activation → ticket + 2FA; attempt merchant activate-to-active API/UI
Expected Ticket opened; HW stays Inactive until CRM approve; self-activate forbidden

Changelog 16/11/2026: stub anchors for new TC codes from Feature Specs Round A. Test step details: TBD — based on AC on each SPEC.stub anchors cho mã TC mới từ Feature Specs vòng A. Chi tiết bước kiểm thử: TBD — bám AC trên từng SPEC.

TC-MP-ACC-077

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-078

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-079

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-080

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-081

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-082

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-083

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-084

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-085

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-086

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-087

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-088

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-089

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-090

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-091

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-092

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-093

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-094

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-095

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-096

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-097

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-098

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-099

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-100

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-101

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-102

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-103

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-104

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-105

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-106

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-107

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-108

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-109

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-110

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-111

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-112

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-113

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-114

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-115

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-116

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-117

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-118

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-119

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-120

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-121

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-122

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-123

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-124

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-125

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-126

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-127

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-128

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-129

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-130

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-131

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-132

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-133

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-MP-ACC-134

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail View AC on the corresponding SPEC 02AXem AC trên SPEC 02A tương ứng

TC-CRM-ACC-001

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-002

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-003

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-004

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-005

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-006

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-007

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-008

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-009

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-010

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-011

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-012

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

TC-CRM-ACC-013

Field Value
Status Stub Round A (new code)Stub Round A (mã mới)
Detail CRM Activate/Reject HW SPEC

v2.3 — Payout / Refund Accounts + CRM list/status

TC-MP-ACC-135

Field Value
Test ID TC-MP-ACC-135
Business Requirement ID BR-MP-ACC-01 / BR-MP-ACC-13 / BR-MP-ACC-16
Category Function
Use Case ID UC-ACC-16 / UC-ACC-20
Test name Landing shows Payout and Refund tabs
Preconditions Admin A logged in
Steps Open Accounts page
Expected Five tabs visible including Payout Accounts and Refund Accounts; default Hot Wallets

TC-MP-ACC-136

Field Value
Test ID TC-MP-ACC-136
Business Requirement ID BR-MP-ACC-13
Category Security
Use Case ID UC-ACC-16
Test name Payout list tenant isolation
Preconditions Merchant A has PA-A1; Merchant B has a different PA
Steps Admin A opens Payout Accounts list
Expected Only Merchant A Payout Accounts; no Merchant B rows

TC-MP-ACC-137

Field Value
Test ID TC-MP-ACC-137
Business Requirement ID BR-MP-ACC-14
Category Function
Use Case ID UC-ACC-18
Test name Create Payout on Active HW → Inactive
Preconditions HW-A1 Active; no PA for HW-A1
Steps Admin A creates PA with name + payout_cap; completes step-up 2FA
Expected PA created Inactive; system address; linked to HW-A1

TC-MP-ACC-138

Field Value
Test ID TC-MP-ACC-138
Business Requirement ID BR-MP-ACC-14
Category Validation
Use Case ID UC-ACC-18
Test name Duplicate Payout on same HW → conflict
Preconditions PA-A1 already linked to HW-A1
Steps Admin A attempts second PA create on HW-A1
Expected Conflict error; existing PA referenced

TC-MP-ACC-139

Field Value
Test ID TC-MP-ACC-139
Business Requirement ID BR-MP-ACC-14
Category Validation
Use Case ID UC-ACC-18
Test name Create Payout on Inactive HW → rejected
Preconditions HW Inactive for Merchant A
Steps Admin A selects Inactive HW in Create Payout
Expected Submission blocked; HW not selectable or validation error

TC-MP-ACC-140

Field Value
Test ID TC-MP-ACC-140
Business Requirement ID BR-MP-ACC-15
Category Function
Use Case ID UC-ACC-19
Test name Payout cap dual-approve success
Preconditions PA-A1 exists; Admin A is maker; Finance A has approve grant
Steps Admin A requests new payout_cap + 2FA; Finance A approves + 2FA
Expected Cap updated; both actors audited

TC-MP-ACC-141

Field Value
Test ID TC-MP-ACC-141
Business Requirement ID BR-MP-ACC-15
Category Security
Use Case ID UC-ACC-19
Test name Same-user approve Payout cap → forbidden
Preconditions Admin A submitted pending cap request
Steps Admin A attempts to approve own request
Expected Forbidden maker-checker message; cap unchanged

TC-MP-ACC-142

Field Value
Test ID TC-MP-ACC-142
Business Requirement ID BR-MP-ACC-14 / BR-MP-ACC-10
Category Security
Use Case ID UC-ACC-18
Test name Missing 2FA on Payout create → no change
Preconditions HW-A1 Active; no PA
Steps Admin A submits create then cancels step-up 2FA
Expected No PA created

TC-MP-ACC-143

Field Value
Test ID TC-MP-ACC-143
Business Requirement ID BR-MP-ACC-10 / BR-MP-ACC-14
Category Function
Use Case ID UC-ACC-19
Test name Activate Payout Approver ≠ creator
Preconditions PA-A1 Inactive created by Admin A
Steps Finance A with approve grant activates + 2FA
Expected PA Active

TC-MP-ACC-144

Field Value
Test ID TC-MP-ACC-144
Business Requirement ID BR-MP-ACC-10
Category Function
Use Case ID UC-ACC-19
Test name Deactivate Payout blocks outbound/refill
Preconditions PA Active
Steps Admin A deactivates + 2FA
Expected Status Inactive; refill/outbound blocked

TC-MP-ACC-145

Field Value
Test ID TC-MP-ACC-145
Business Requirement ID BR-MP-ACC-11 / BR-MP-ACC-14
Category Security
Use Case ID UC-ACC-18
Test name Operator cannot create Payout
Preconditions Operator A logged in
Steps Attempt Create Payout Account
Expected Access denied; CTA hidden or 403

TC-MP-ACC-146

Field Value
Test ID TC-MP-ACC-146
Business Requirement ID BR-MP-ACC-17
Category Function
Use Case ID UC-ACC-22
Test name Create Refund on Active HW → Inactive
Preconditions HW-A1 Active; no RA for HW-A1
Steps Admin A creates RA with refund_cap + 2FA
Expected RA Inactive; system address; linked to HW-A1

TC-MP-ACC-147

Field Value
Test ID TC-MP-ACC-147
Business Requirement ID BR-MP-ACC-17
Category Validation
Use Case ID UC-ACC-22
Test name Duplicate Refund on same HW → conflict
Preconditions RA-A1 linked to HW-A1
Steps Admin A attempts second RA on HW-A1
Expected Conflict error

TC-MP-ACC-148

Field Value
Test ID TC-MP-ACC-148
Business Requirement ID BR-MP-ACC-18
Category Function
Use Case ID UC-ACC-23
Test name Refund cap dual-approve success
Preconditions RA-A1 exists; Admin A maker; Finance A approver
Steps Request refund_cap change; Finance A approves + 2FA
Expected Cap updated; audited

TC-MP-ACC-149

Field Value
Test ID TC-MP-ACC-149
Business Requirement ID BR-MP-ACC-10 / BR-MP-ACC-17
Category Security
Use Case ID UC-ACC-23
Test name Same-user approve Refund activate → forbidden
Preconditions RA created by Admin A, Inactive
Steps Admin A attempts self-activate
Expected Forbidden; remains Inactive

TC-MP-ACC-150

Field Value
Test ID TC-MP-ACC-150
Business Requirement ID BR-MP-ACC-16 / BR-MP-ACC-10
Category Function
Use Case ID UC-ACC-23
Test name Deactivate Refund with queue warns
Preconditions RA Active with outstanding refund queue
Steps Admin A deactivates
Expected Warning shown; after confirm Inactive; queue blocked

TC-MP-ACC-151

Field Value
Test ID TC-MP-ACC-151
Business Requirement ID BR-MP-ACC-11 / BR-MP-ACC-17
Category Security
Use Case ID UC-ACC-22
Test name Finance cannot create Refund Account
Preconditions Finance A logged in
Steps Attempt Create Refund Account
Expected Access denied / CTA hidden

TC-CRM-ACC-014

Field Value
Test ID TC-CRM-ACC-014
Business Requirement ID F-CRM-ACC-03
Category Function
Use Case ID UC-ACC-S03
Test name CRM list filters by merchant/type/status
Preconditions CRM Support S1 logged in; multiple merchants with HW/BW/PA/RA
Steps Open CRM Accounts; filter merchant, type=PA, status=Inactive
Expected Matching rows only; pagination works

TC-CRM-ACC-015

Field Value
Test ID TC-CRM-ACC-015
Business Requirement ID F-CRM-ACC-04
Category Function
Use Case ID UC-ACC-S04
Test name CRM account detail read-only
Preconditions S1 viewing PA-A1
Steps Open detail drawer
Expected Metadata, cap, linked HW visible; no create controls

TC-CRM-ACC-016

Field Value
Test ID TC-CRM-ACC-016
Business Requirement ID F-CRM-ACC-05
Category Function
Use Case ID UC-ACC-S05
Test name CRM force-deactivate HW with reason
Preconditions CRM Admin C1; Active HW for merchant A
Steps Deactivate with mandatory reason
Expected HW Inactive; audit has actor + reason; merchant_id required

TC-CRM-ACC-017

Field Value
Test ID TC-CRM-ACC-017
Business Requirement ID F-CRM-ACC-05
Category Function
Use Case ID UC-ACC-S05
Test name CRM re-deactivate idempotent
Preconditions Account already Inactive
Steps C1 deactivates again
Expected Idempotent success / no-op; no error inventing state

TC-CRM-ACC-018

Field Value
Test ID TC-CRM-ACC-018
Business Requirement ID F-CRM-ACC-06
Category Function
Use Case ID UC-ACC-S06
Test name CRM activate PA override
Preconditions PA-A1 Inactive
Steps C1 activates with reason
Expected PA Active; audit recorded

TC-CRM-ACC-019

Field Value
Test ID TC-CRM-ACC-019
Business Requirement ID F-CRM-ACC-05
Category Validation
Use Case ID UC-ACC-S05
Test name CRM mutate without merchant_id → error
Preconditions C1 authenticated
Steps Call deactivate API omitting merchant_id
Expected 400 VALIDATION_ERROR

TC-CRM-ACC-020

Field Value
Test ID TC-CRM-ACC-020
Business Requirement ID F-CRM-ACC-03
Category Security
Use Case ID UC-ACC-S03
Test name CRM create account → forbidden
Preconditions C1 authenticated
Steps Attempt CRM create HW/BW/PA/RA
Expected 403 FORBIDDEN; UI does not offer create

E. ReferencesE. Tham chiếu