Skip to content
Jung028Public

About

mobile app for ipay - post and receive webhook events from wallet center during transfer/topup, calls stripe during topup for creating paymentIntent and forwarding stripe signature

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

iPay Mobile — Microservices Payment Ecosystem

iPay is a modular, microservices-based payment platform designed to support mobile transactions, user identity management, account ledger operations, merchant services, and third-party integrations.

The system follows a decoupled microservices architecture where the iPay Mobile Gateway coordinates requests across specialised backend services.


System Architecture

Screenshot 2026-05-06 at 3 31 17 PM

Core Services

Service Responsibility
iPay Mobile Gateway Entry point for mobile users. Routes requests for transfers, top-ups, balance queries, and merchant actions.
iUser Handles user identity, registration, login, JWT token issuance, and OTP verification. https://github.com/Jung028/alipay/tree/adam_lhj/user_center
iBusiness Handles core business logic such as transfer coordination, transaction processing, scheduled payments, and QR code generation. https://github.com/Jung028/iwallet
iAccount Ledger service responsible for account creation, balance management, and transaction history. https://github.com/Jung028/iaccount
iMerchant Manages merchant data, merchant onboarding, and merchant-related workflows. https://github.com/Jung028/imerchant
iAgent Integration layer used to call external service APIs for third-party operations. https://github.com/Jung028/iagent

Features

1. User Management

User Onboarding

Users can register through the mobile gateway. The registration flow is handled by iUser.

After successful registration, an account is automatically created in iAccount.

Authentication

The system uses JWT-based authentication to secure user sessions.

OTP Verification

Sensitive actions, such as transfers or scheduled payments, require OTP verification through iUser.


2. Financial Operations

Transfers

Users can transfer money through the mobile gateway.

The request is routed to iBusiness, which handles the transfer logic and coordinates with iAccount to update balances and transaction records.

Top-ups

Top-up requests are processed through iBusiness.

If an external provider is required, iAgent is used to call the third-party API.

Balance Queries

Users can retrieve real-time account balances from iAccount.

Transaction History

Users can view transaction details and historical records stored by iAccount.

Scheduled Transfers

The platform supports automated or recurring payment workflows.


3. Merchant Services

Merchant Onboarding

Merchants can be registered and managed through iMerchant.

QR Code Payments

iBusiness supports QR code generation for merchant payment scenarios.

Merchant Information Querying

Merchant-related information can be queried through iMerchant.


Interaction Flow

Example: user initiates a transfer from the mobile app.

User
  ↓
iPay Mobile Gateway
  ↓
iUser
  ↓
iBusiness
  ↓
iAccount
  ↓
iAgent, if an external provider is required

About

mobile app for ipay - post and receive webhook events from wallet center during transfer/topup, calls stripe during topup for creating paymentIntent and forwarding stripe signature

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages