Skip to content

PHEE-398: wire Payment Hub to real API, add Reporting Dashboard and Account Mapper Self Service Portal - #11

Merged
DavidH-1 merged 1 commit into
openMF:devfrom
Flashl3opard:feat/api-integration-reporting
Jul 29, 2026
Merged

DavidH-1 merged 1 commit into
openMF:devfrom
Flashl3opard:feat/api-integration-reporting

Conversation

@Flashl3opard

@Flashl3opard Flashl3opard commented Jul 29, 2026

Copy link
Copy Markdown
Member

Related

Epic: PHEE-363
Closes: PHEE-398

Summary

Connects the React app to the live Mifos Gazelle backend instance
and adds two new features.

Changes

API Integration

  • Added src/lib/api/paymentHub.ts — fetchMainBatches, fetchTransfers
  • Added src/lib/api/accountMapper.ts — lookupBeneficiary, updateBeneficiary
  • Updated src/lib/api/client.ts — Platform-TenantId header, Authorization
  • MainBatchesTab — real API with loading skeleton and mock fallback
  • TransfersTab — real API with correct content response shape

Reporting Dashboard

  • Built src/modules/reporting/Reporting.tsx with Recharts
  • KPI cards, 7-day line chart, donut chart, bar charts, failed batches table
  • Date range filters and tenant dropdown

Account Mapper Self Service Portal

  • Standalone iframe-friendly page at /account-mapper/self-service
  • Reads beneficiaryId from URL params
  • AccountLookup API call on mount
  • Update Beneficiary API on form submit
  • No auth required — public route

README

  • Added Gazelle backend setup instructions
  • Added Keycloak Docker setup steps
  • Added self-service portal documentation

Notes

  • Tested against live Gazelle instance at ops.mifos.gazelle.test
  • Mock data fallback when API unavailable

…d Reporting Dashboard and Self Service Portal
@Flashl3opard
Flashl3opard requested a review from a team July 29, 2026 14:16
@DavidH-1
DavidH-1 merged commit 5ef2a5c into openMF:dev Jul 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants