Investment account card on the DBP
Show one card per product the member holds, with its value and KYC state.
Goal. Show one card per product the member holds, with its value and KYC state.
Endpoint. Get user detail — one call, then iterate accounts.
Flow.
- Call Get user detail.
- Render one card per entry in
accounts. Mapproductto a display name. - Show
current_market_valueon each card. - Gate on
kyc_status:approved→ show value normally.pending→ show a "Verification in progress" state. Notekyc_approved_atis absent here.
Notes. Only products the member holds appear in accounts — render exactly what's returned, don't assume all four. The roth_ira sample under Get user detail is the pending case: value present, no kyc_approved_at.

