PAR-219
0
Admin tool: move money between any two accounts (with memo)
DoneUnassignedEconomy ExplorerFeature
Admin-gated /admin/accounts (or /admin/transfers) tool to move money between any two accounts with a memo, via the SERVICE-scoped POST /api/v1/admin/transfers endpoint (sibling Treasury API tranche). Ledger-authoritative — no raw balance SQL.
lib/treasury.ts: addadminTransfer({fromAccountId,toAccountId,amount,memo}).lib/actions/admin-*.ts:adminTransferAction— admin-gated, audited (explorer_audit, target_type account/transaction), surfaces the API error envelope.- UI: pick source + destination account (search by id/name via existing account DAL), amount, memo; confirm step for large amounts; show the resulting txn id.
- Reuses the
lib/treasury.tsclient + admin gate from PAR-209.
Resources
- commitce48286 Merge pull request #25 from MCCitiesNetwork/developMCCitiesNetwork/economy-explorer
- commit20c1582 Admin tools: move money, account mgmt, ledger filtering, firm details + reports (PAR-219/220/221/222/224)MCCitiesNetwork/economy-explorer
- PR · merged#25 Release develop → main: admin tools batch (PAR-219/220/221/222/224)MCCitiesNetwork/economy-explorer
Comments
No comments yet.
Activity
- ParadauxIO linked a commit — Commit ce48286 — Merge pull request #25 from MCCitiesNetwork/develop
- ParadauxIO linked a commit — Commit 20c1582 — Admin tools: move money, account mgmt, ledger filtering, firm details + reports (PAR-219/220/221/222/224)
- ParadauxIO changed status to Status → Done
- ParadauxIO linked a pull request — PR #25 merged — Release develop → main: admin tools batch (PAR-219/220/221/222/224)
- ParadauxIO linked a pull request — PR #25 open — Release develop → main: admin tools batch (PAR-219/220/221/222/224)
- ParadauxIO linked a commit — Commit 20c1582 — Admin tools: move money, account mgmt, ledger filtering, firm details + reports (PAR-219/220/221/222/224)
- tesks created the issue