Fetching transactions
Transactions are loaded from:Searching transactions
A search field appears at the top of the screen. As you type, requests are debounced (300 ms) to avoid excessive API calls. Tapping the clear button resets the search term and re-fetches the default list. When a search term is active, individual transaction items are rendered in a flat list (no date grouping). When the search field is empty, transactions are grouped by date (see below).Date grouping
When no search is active, transactions are grouped by date using theformatTransactionDate helper. Each group shows a date label above its transaction items.
Transactions with a
null cart are automatically excluded from all views.Transaction item
Each transaction row displays:- Merchant name (or end-user name for peer transfers)
- Transaction amount
- Status badge
- Timestamp
Transaction statuses
| Status | Behavior on tap |
|---|---|
Awaiting | Navigates to PAYMENT_REQUESTED screen — the transaction is pending your approval |
Successful | Opens the TransactionModal overlay with full details |
| Other statuses | Opens the TransactionModal overlay with full details |