mobile-wallet icon indicating copy to clipboard operation
mobile-wallet copied to clipboard

[DMP 2026]: [Flow] Pocket - Linked Accounts Management - JIRA MR-16

Open DavidH-1 opened this issue 9 months ago • 11 comments

Ticket Contents

Description

Overview

Roadmap item for the Pocket feature - enables users to organize their financial accounts (savings, loans, shares) into a unified pocket view. This must include internal and External Accounts with PISP.

User Stories

View Pocket Dashboard - See all linked accounts with aggregated balance

Link Accounts - Add savings/loan/share accounts to pocket

Delink Accounts - Remove accounts from pocket

Access Account Details - Quick navigation to individual account details

API Endpoints

GET /self/pockets - Retrieve linked accounts

POST /self/pockets?command=linkAccounts - Link accounts

POST /self/pockets?command=delinkAccounts - Remove accounts

Implementation Epic

MW-378 - Pocket Management - Linked Accounts Feature

Reference

Pocket API Swagger

Link Accounts API Docs

Goals & Mid-Point Milestone

Goals

  • [ 1] [View Pocket Dashboard - See all linked accounts with aggregated balance]
  • [ 2] [Link Accounts - Add savings/loan/share accounts to pocket]
  • [ 3] [Delink Accounts - Remove accounts from pocket]
  • [ 4] [Access Account Details - Quick navigation to individual account details]
  • [ # ] [Goals Achieved By Mid-point Milestone: Goal 1 with significant progress on 2 and 3]

Setup/Installation

Will be provided

Expected Outcome

Implementation of the Pocket Flow in our Mobile Wallet App - Mifos Pay

Acceptance Criteria

  • Working Application via KMP that is deployed to both Android and iOS
  • User acceptance testing
  • full documentation
  • Mid and Final Presentation complete to Mifos Community
  • End report on Project published to Mifos Community

Implementation Details

Implementation must follow our Mobile Projects Guidance and be implemented via KMP

Mockups/Wireframes

No response

Product Name

Mifos Pay

Organisation Name

The Mifos Initiative

Domain

Financial Inclusion

Tech Skills Needed

Other

Mentor(s)

@therajanmaurya

Category

Mobile

DavidH-1 avatar Mar 04 '26 15:03 DavidH-1

THIS TICKET WILL BE ASSIGNED TO THE SUCCESSFUL DMP2026 CANDIDATE. DO NOT REASSIGN.

DavidH-1 avatar Mar 04 '26 15:03 DavidH-1

HI All C4GT Hopefuls. If you are reading this you have found one of our projects we have listed this year. If would like to discuss about this project, as well as find our general guidance on what to include in your applications and how to stand our please ensure you join our Mifos Slack channel at: https://join.slack.com/t/mifos/shared_invite/zt-3m6x47dgj-iX0Oqv8KS0VGgouNnuJrAg channel: #c4gt-discussion

DavidH-1 avatar Apr 10 '26 20:04 DavidH-1

hey @DavidH-1 I can do this one. what are the requirements to write a proposal for this, PoC or anything else

anurag-p6 avatar Apr 26 '26 16:04 anurag-p6

@anurag-p6 please join our slack as per above we have put full details of expectations on there and the mentors are on there for any questions

DavidH-1 avatar Apr 26 '26 16:04 DavidH-1

Can not join slack-channel shows error - email address must match one of the domains

shreyannandanwar avatar May 02 '26 15:05 shreyannandanwar

@DavidH-1 Can not join shows error - email address must match one of the domains mifos.org nasasa.org.za vodafone.com newlogic.com sistelhn.com fintecheando.mx docktape.com

Meghali54 avatar May 03 '26 15:05 Meghali54

Hey @DavidH-1 , I went through the codebase and got a good understanding of how the project is structured. I can see there is no Pocket feature implemented yet, so this would be built fresh. My plan is to wire up the three Pocket API endpoints starting from core/network, add the required models and repository layer under core/data following the same patterns used across other features like accounts and beneficiary, and build the UI under feature/pocket as a dashboard showing linked accounts with an aggregated balance along with flows for linking and delinking accounts. I would also be touching ApiEndPoints and KtorfitClient to register the new service, keeping everything consistent with how the rest of the project is organized. Does this sound like the right direction, or is there anything specific you want approached differently before I move forward?

aditya-8787 avatar May 03 '26 18:05 aditya-8787

Updated Link: https://join.slack.com/t/mifos/shared_invite/zt-3wx5yrehv-FmnA2KZo_6VPjFvj62TpvQ

DavidH-1 avatar May 04 '26 08:05 DavidH-1

Hi! @DavidH-1 I’d like to work on this issue as part of DMP 2026.

I went through the codebase and explored the existing architecture and feature organization. From what I understand, this would involve integrating the required API flow, extending the data layer with the necessary models/repositories, and implementing the feature while keeping it consistent with the current app structure and patterns already used across the project.

I’m excited to contribute and would love to work on this feature

GhanshyamJha05 avatar May 11 '26 13:05 GhanshyamJha05

Hi @DavidH-1 | @therajanmaurya ,

I am submitting this as part of my DMP 2026 proposal for the Pocket – Linked Accounts Management feature in Mifos Pay.

I explored the existing Mifos Pay architecture and studied the requirements for the Pocket – Linked Accounts Management feature described in JIRA MR-16.

I designed a working UI/UX prototype covering:

  • Pocket Dashboard with aggregated balances
  • Linked account management
  • Link and delink account flows
  • Account details and transaction history
  • Updated dashboard states after account operations
Image

The prototype follows the existing Mifos Pay design language and is planned around the current KMP + Compose Multiplatform architecture used in the project.

For implementation, I plan to:

  • Integrate the Pocket APIs for fetching, linking, and delinking accounts
  • Create repository and ViewModel layers following the existing project structure
  • Use StateFlow-based state management for reactive UI updates
  • Build reusable Compose Multiplatform screens for Android and iOS compatibility
  • Handle sync-aware account updates and aggregated balance calculations

I also reviewed the existing project structure and flows to ensure the implementation remains aligned with current app architecture and UI patterns instead of introducing isolated components.

itssagarK avatar May 18 '26 06:05 itssagarK

@DavidH-1
please assign me the issue.

kartikeyshukla15 avatar Jun 11 '26 16:06 kartikeyshukla15

Weekly Learnings and Updates - DMP 2026

Week 1 (10th June - 13th June)

Summary of my work this week:

  1. Designed the mock UIs and design layouts for the Pocket Dashboard screen and Manage Pocket screen for the mifos-mobile app.

Week 2 (15th June - 20th June)

Summary of my work this week:

  1. Created the Pocket Service and Pocket Repository to handle essential data layers.
  2. Implemented the caching mechanism for linked pocket accounts within the repository layer.
  3. Resolved data processing details to successfully fetch and calculate balances for each distinct account type.

Pull Requests:

  • (mifos-mobile) feat: network layer (pocket repository) PR #3144

Week 3 (22nd June - 27th June)

Summary of my work this week:

  1. Implemented the complete Pocket Dashboard screen UI.
  2. Formatted the interface to display aggregated balances at the top.
  3. Categorized and grouped the active accounts into loan, savings, and share sections.

Pull Requests:

  • (mifos-mobile) feat: pocket dashboard screen PR #3145

Week 4 (29th June - 4th July)

Summary of my work this week:

  1. Implemented an offline fallback framework using Room for the pocket repository due to non-functional remote endpoints.
  2. Debugged and resolved build execution check failures on the pocket repository pull request.
  3. Initiated layout foundations and architecture setup for the Manage Pocket screen.

Pull Requests:

  • (mifos-mobile) feat: network layer (pocket repository) PR #3144
  • (mifos-mobile) feat: manage pocket PR #3146

Week 5 (6th July - 11th July)

Summary of my work this week:

  1. Finalized the complete implementation and state flow of the Manage Pocket screen.
  2. Developed the Link Account bottom sheet UI, separating available accounts into dedicated tabs for loan, share, and savings along with a real-time search utility.
  3. Built the Delink Account bottom sheet interaction to safely remove linked profiles.

Pull Requests:

  • (mifos-mobile) feat: manage pocket PR #3146

kartikeyshukla15 avatar Jul 12 '26 06:07 kartikeyshukla15