feature/wallet — GoWallet & Payments

Manage in-app wallet balances and transactions for Flutter payments.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Vantoan252003/Mozi --skill feature-wallet-gowallet-payments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature/wallet — GoWallet & Payments
Source: https://github.com/Vantoan252003/Mozi/tree/main/lib/features/wallet
Command: npx skills add https://github.com/Vantoan252003/Mozi --skill feature-wallet-gowallet-payments

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a clear, maintainable implementation plan for an in-app wallet and payments feature so developers can implement secure top-ups, transaction histories, and multiple payment methods without re-designing architecture.

Core Features & Use Cases

  • Wallet state & balance management: Defines WalletEntity with balance, currency, and pending balance and mandates refreshing balances after payments.
  • Transaction management: Supports transaction entities, paginated history, and transaction detail pages covering topups, payments, refunds, bonuses, and withdrawals.
  • Top-up and payment method flows: Details creation of top-up requests, deep link handling for external payment apps (MoMo, ZaloPay, VNPAY), payment URL launching, and updating balance after callbacks.
  • Presentation and orchestration: Specifies Cubits (WalletCubit, TopUpCubit), pages, widgets, and rules for secure handling of payment data and deep link integration.

Quick Start

Open the WalletPage, choose an amount and payment method, create a top-up request, and follow the payment app deep link to complete and refresh the balance.

Frequently Asked Questions about feature/wallet — GoWallet & Payments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement a Flutter wallet and payments feature for top-ups and transaction history?

Implement a Flutter wallet and payments feature by using cubits and repositories to manage wallet balances, create top-up requests, and fetch paginated transaction histories. This approach provides a maintainable architecture for secure in-app payments.

How do I handle deep link payment callbacks from external mobile payment apps in Flutter?

Handle deep link payment callbacks by launching external payment URLs and waiting for deep link returns. After the callback, refresh the wallet balance to reflect successful top-ups from external mobile payment apps.

What is the best way to manage in-app wallet state and balances after a transaction?

Manage in-app wallet state by defining a WalletEntity with balance, currency, and pending balance. Use WalletCubit to orchestrate state and mandate refreshing balances immediately after payment callbacks complete.

Does this wallet implementation support multiple payment methods for ride-hailing and food delivery apps?

Yes, this wallet implementation supports ride-hailing and food delivery apps by detailing payment method selection, top-up creation, and external payment app integration. It securely handles multiple payment methods through deep link flows.

How do I structure a paginated transaction history for a Flutter wallet?

Structure paginated transaction history by implementing transaction entities that cover topups, payments, refunds, bonuses, and withdrawals. Use repository patterns to fetch and display these details on transaction pages.

What architecture is needed to securely handle payment data in a Flutter wallet?

Securely handle payment data by structuring your Flutter wallet with use cases, repositories, and cubits. This architecture ensures secure top-up creation and safe deep link integration for external payment processing.