The concept Build the screen around the work
The backend may be perfect, and finance still needs to work through cases. The UI must answer: what was received, what is reconciled, what is awaiting settlement, what needs investigation, who owns each exception, what was done, and what evidence supports the result. It reflects the business workflow, not the database tables.
Five screens The main screens
| Screen | Shows | Lets authorized users |
|---|---|---|
| Operations dashboard | Payments received and reconciled, awaiting settlement, open exceptions, pending approvals, processing delay, recent failures | Drill into any number |
| Transaction search | Identity, amount and currency, provider status, processing and reconciliation status, related settlement | Search by provider transaction ID, loan account, date range, status and provider |
| Transaction detail | Normalized data, settlement, matching result and evidence, processing timeline, related exceptions | Request the protected source payload, if permitted |
| Exception workbench | Case ID, category, severity, age, owner, status | Assign, start, add notes, submit, approve or reject |
| Audit history | Actor, action, outcome, time, entity, state change, correlation ID | Filter and export, if permitted |
textComponents live with their feature
src/features/
├── dashboard/ OperationsDashboard.tsx MetricCard.tsx
├── payments/ PaymentSearch.tsx PaymentTable.tsx PaymentDetail.tsx
├── reconciliation/ ReconciliationStatusBadge.tsx MatchingEvidence.tsx
├── exceptions/ ExceptionWorkbench.tsx ExceptionDetail.tsx InvestigationTimeline.tsx
└── audit/ AuditHistory.tsxTyped contracts TypeScript types that match the API
typescriptsrc/types/api.ts
export type ProcessingStatus = 'RECEIVED' | 'NORMALIZED' | 'REJECTED';
export type ReconciliationStatus = 'AWAITING_SETTLEMENT' | 'MATCHED' | 'UNMATCHED' | 'AMBIGUOUS';
export type ExceptionStatus =
| 'OPEN'
| 'ASSIGNED'
| 'UNDER_INVESTIGATION'
| 'PENDING_APPROVAL'
| 'RESOLVED'
| 'CANCELLED';
export interface PaymentTransaction {
id: string;
provider: 'PROVIDER_A' | 'PROVIDER_B';
providerTransactionId: string;
loanAccountId: string;
amountMinorUnits: number; // integer cents; safe up to Number.MAX_SAFE_INTEGER
currency: string;
processingStatus: ProcessingStatus;
reconciliationStatus: ReconciliationStatus;
receivedAt: string; // ISO 8601 instant in UTC
}
export function formatMoney(minor: number, currency: string, fractionDigits: number): string {
return new Intl.NumberFormat('en-US', { style: 'currency', currency }).format(minor / 10 ** fractionDigits);
}Three status vocabularies, kept apart. The original plan mixed UNDER_INVESTIGATION into the reconciliation status, but investigation is the exception case’s state. Keeping processing, reconciliation and case status separate, with the same words in Java enums, API JSON and these types, lets a user tell waiting from failed and matched from resolved. Generate the types from the OpenAPI contract where you can, so they cannot drift.
Where do the domain words from Module 03 fit? Captured, settled, posted and reconciled describe what happens to the money, and each is recorded by the system that owns it. Only some of them become a status on the platform:
| Word you will hear | What it is | Where it is recorded | Status on the platform |
|---|---|---|---|
| Captured | The provider took the money | The provider's notification | Payment processing: RECEIVED, then NORMALIZED (or REJECTED) |
| Settled | Funds reached Apex's bank | A settlement record from the bank file, with its own batch and line | Not a payment status. Matching the settlement record moves reconciliation to MATCHED |
| Posted | The loan balance was updated | Loan servicing, which owns it | Not a platform status: read from servicing when needed |
| Reconciled | All records agree | The reconciliation result | Reconciliation: MATCHED |
| Under investigation | Someone is working on a mismatch | The exception case | Exception case: UNDER_INVESTIGATION, never a reconciliation status |
Be honest One vocabulary, four honest states
Also plan for invalid filters, expired sessions, long-running processing and stale data (show when the data was last refreshed).
For everyone Accessibility
- Keyboard navigation through tables, filters and actions, with clear focus states.
- Accessible labels on every control, and real table headings.
- Readable contrast, and status shown with a word as well as a color.
- Screen-reader-friendly statuses, for example Payment PAY-77840, ambiguous match, pending approval.
- Confirmation for sensitive actions such as approve and reject.
Practice Build the finance UI
Practical exercise
Exercise 09: a functional finance operations UI
Connect the screens to the backend APIs.
- The operations dashboard, transaction search and transaction detail.
- The exception workbench, investigation timeline and audit history.
- Loading, empty, error and permission states.
- Role-aware action visibility, remembering that the backend still enforces every rule.
Show sample UI tests
- shows "No payments match" for an empty result, not an error.
- shows the retry banner when the API returns 500, not an empty table.
- hides Approve for customer support, and an API test proves the backend refuses it anyway.
- announces status changes to screen readers after an action.
2 questions
Check your understanding
What you can do now
- Design finance screens around the workflow.
- Organize React components by feature.
- Share typed contracts and one status vocabulary with the API.
- Handle every screen state honestly and accessibly.