Skip to Content
HomeLink Hub
Tenant Web App

Wallet and My Properties

The My Properties page for properties being rented or bought through escrow, and the Wallet page, which is currently a static mock-up.

Both pages are reached from the account menu. My Properties is live and lists the properties the user is acquiring. Wallet is a design placeholder with hard-coded figures.

Where it lives

RouteView / component fileAccess
/app/propertiessrc/views/app/my-properties.tsxsigned-in
/app/walletsrc/views/app/wallet.tsxsigned-in

My Properties uses useGetAcquiredPropertiesQuery in src/services/property/property-thunk.ts.

Before you start

  • Signed in.
  • A property only appears under My Properties once an escrow transaction exists for it, that is after the user has clicked Proceed to Escrow on a confirmed request (see Booking and escrow payment).

Flow

My Properties

  1. Open My Properties from the account menu. The page fires GET /api/v1/property/acquired?page=1&limit=20.
  2. The header reads "My Properties" with "Properties you are renting or purchasing via escrow".
  3. Four counters summarise the loaded entries: Total, In Escrow (status funded), Awaiting Payment (status pending) and Completed.
  4. Each entry is one escrow transaction and shows:
    • the listing photo and title (both open /app/property/:id),
    • a status label and the transaction type (rent or purchase),
    • location, beds, baths and the date the transaction was created,
    • "Ref: TRANSACTION_REF",
    • the transaction amount, and the listing's rating when it has one.
  5. Status labels:
Escrow statusLabel
pendingAwaiting Payment
fundedIn Escrow
completedCompleted
disputedDisputed
cancelledCancelled
  1. Actions on each entry:
    • Fund Escrow: only for pending entries that have a checkout link. Opens the Pandascrow checkout in a new tab.
    • Track Escrow: for pending and funded entries. Opens /app/property/:id/escrow/:escrowTxId.
    • Message Agent: always shown. Opens /app/property/:id/message.

Wallet

  1. Open Wallet from the account menu.
  2. The page shows an Available Balance card with "Protected by Homelink Hub Vault", Top Up and Withdraw buttons, four mini stats (Total Credited, Total Debited, In Escrow, Transactions) and a Transaction History list of five entries with credit and debit arrows.

The Wallet page is a static mock-up

Every figure on the Wallet page, including the balance, the stats and the five transactions, is hard-coded in src/views/app/wallet.tsx. The page makes no API call, shows the same numbers to every visitor (signed in or not), and the Top Up and Withdraw buttons have no click handlers. Do not treat anything on it as a user's real balance. Real payment activity is under Escrow Transactions (/app/escrows) and My Properties.

States and edge cases

My Properties:

  • Loading. A spinner with "Loading your properties...".
  • Empty. "You haven't acquired any properties yet." with Browse properties (to /app).
  • Error. "Failed to load properties". There is no retry button; reload the page. A signed-out visitor sees this, or is redirected to /auth/signin if the API's 401 message mentions the token.
  • Cap. Only the first 20 entries are requested and there is no pagination, so the counters cover at most 20 transactions.
  • Completed, disputed and cancelled entries show only Message Agent; they have no tracking button here. The tracking page can still be opened from Escrow Transactions.
  • Same listing twice. Entries are per transaction, so a listing with more than one escrow transaction appears more than once.

Rent period label

Rent entries show "/ month" under the amount, while listing cards and the property page quote rent per year. The amount itself is the escrow transaction's amount, not a monthly figure, so read the label with care.

Wallet:

  • No loading, empty or error states exist, because nothing is fetched.

What happens next

  • Track Escrow continues in Booking and escrow payment, where the user can fund the escrow, report a payment or release the funds.
  • Message Agent continues in Messages.
  • A related request, GET /api/v1/property/me (listings owned by the user), is defined in the property service but is not used by any screen in this app; owned listings are managed in the agent dashboard.

On this page