KAST Finance — Card Module & Apple / Google Wallet Provisioning
Fintech Flagship · 100,000+ Daily Active Users
Sole developer of the KAST card module. Independently researched, architected, and shipped Apple Pay & Google Wallet push provisioning across Flutter, Swift, Kotlin, and MeaWallet MPP SDK in ~2 months, alongside 3DS/MFA Visa card ordering and full card lifecycle controls.
Company
KAST Finance
Role
Sole Developer — Card Module
Platforms
iOS · Android · Native Extensions
Key Outcome
100K+ DAU
- Flutter
- Dart
- Swift
- Kotlin
- MeaWallet MPP SDK
- Apple Pay
- Google Wallet
- BLoC/Cubit
1. Project Overview
KAST Finance is a global stablecoin fintech mobile application serving 100,000+ daily active users across iOS and Android. As the sole developer owning the entire card module, I designed, built, hardened, and shipped 20+ production features inside one-week Agile Scrum sprints — spanning Visa card ordering, Apple Pay and Google Wallet push provisioning, full card lifecycle management, transaction history, statement exports, and platform-level security.
2. Business Problem
Cardholders previously faced friction when trying to use their KAST Visa cards for everyday contactless payments and managing card controls from mobile:
- Users needed to add virtual and physical KAST cards directly into Apple Pay and Google Wallet from inside the app without manual card-number entry or external verification drops.
- Business customers on the separate KAST Business app also needed seamless Apple Wallet provisioning without duplicating fragile integration logic.
- The revenue-critical Visa card ordering journey required stronger payment verification (3D Secure and MFA) to reduce fraud risk while keeping conversion smooth.
- Cardholders needed fast, dependable self-service controls — freezing/unfreezing, reordering, editing cardholder names, managing PINs, tracking physical card delivery, and downloading transaction statements.
3. My Role & Responsibilities
I acted as the single point of delivery for the KAST card module within a Flutter Clean Architecture monorepo, collaborating daily with Product, Backend, QA, and MeaWallet integration partners:
- End-to-end ownership: Researched vendor SDK capabilities, authored technical designs, implemented both Dart/Flutter UI and native Swift/Kotlin bridges, wrote automated CI tests, and coordinated QA, UAT, and staging releases.
- Cross-cutting stability: Resolved critical production defects across stablecoin/crypto payment flows, EU bank transfers, and KYC onboarding.
- Team leadership: Conducted PR reviews, mentored junior engineers, ran knowledge-sharing sessions, and participated in technical interviews.
4. Technical Architecture
Digital wallet push provisioning cannot live purely in Dart — both Apple (PassKit + App Extensions) and Google (TapAndPay + Play Services) enforce strict native entitlement, cryptographic tokenization, and OS-level security boundaries. I designed a clean layered architecture separating shared product workflows in Flutter from thin, hardened native bridges on iOS and Android:
- ↓ Typed Method Channel · App Groups & Keychain
- ↓ Encrypted OPC Cryptographic Handshake
- ↓ Secure Element Tokenization & State Sync
$ ready — click “Simulate Add to Apple Wallet” to trace the live bridge handshake.
Architectural Decisions
- What stays in Flutter (Dart): Clean Architecture feature modules, BLoC/Cubit state management, Freezed immutable models, GoRouter flows, eligibility UI states, card lifecycle screens, paginated transaction lists, and local caching.
- What stays Native (Swift & Kotlin): Direct MeaWallet MPP SDK orchestration, Apple
PKAddPaymentPassViewController& Apple Wallet Extension targets, Android Google Wallet tokenization flows, and secure credential sharing. - Secure Cross-Layer Boundary: Typed Method Channels bridge Dart and native code, while iOS App Groups and Keychain securely share session/token state between the host KAST app and the out-of-process Apple Wallet Extension without leaking sensitive PAN or token data.
5. Key Features — Built From Scratch vs. Improved & Hardened
To keep ownership transparent, here is the clear split between capabilities I architected from zero and existing journeys I refactored and hardened:
Built From Scratch
- Apple Pay Push Provisioning & Apple Wallet Extension (Swift): Full in-app "Add to Apple Wallet" flow plus the standalone Apple Wallet Extension allowing users to provision KAST cards directly from the iOS Wallet app, secured with iOS App Groups and Keychain.
- Google Wallet Push Provisioning (Kotlin): End-to-end Android wallet eligibility checking, card tokenization, status synchronization, and one-tap provisioning via the MeaWallet MPP SDK.
- KAST Business Rollout: Extended the Apple Wallet provisioning architecture to the KAST Business app so business cardholders received the same native wallet experience.
- Card Lifecycle Suite: Built freeze/unfreeze, card cancellation, card reordering, PIN management, non-personalized card linking, and cardholder name editing.
- Virtual Card Designs & Coupon Unlocks: Added new virtual card visual tiers, a coupon-code mechanism unlocking exclusive card editions, and physical card delivery tracking.
- Paginated Transactions & Statement Downloads: Built high-speed paginated transaction history backed by local caching and downloadable card statements.
Existing Features Improved & Hardened
- Visa Card Ordering Journey: Strengthened the core revenue-generating checkout flow with 3D Secure (3DS) payment verification and Multi-Factor Authentication (MFA) to protect payments and curb fraud.
- Platform Security Hardening: Added certificate pinning, encrypted local secure storage, and platform-specific Android/iOS security protections across card operations.
- CI Quality & Cross-Module Stability: Introduced automated
flutter_testandmocktailunit and widget tests into CI to catch regressions before QA, and resolved critical defects in stablecoin payments, EU bank transfers, and KYC onboarding.
6. Technical Challenges & Solutions
Challenge 1: Out-of-Process Apple Wallet Extension State Sharing
Apple Wallet Extensions run in a separate sandboxed iOS process from the main Flutter application, meaning the extension cannot rely on Flutter's in-memory state or standard local storage to authenticate cardholder status.
Solution: Configured dedicated iOS App Groups and shared Keychain access groups between the main KAST target and the Wallet Extension target. Only minimal, securely scoped credentials are synced from the host app so the Swift extension can independently check eligibility and return pass entries safely.
Challenge 2: Synchronizing Card Token States Across Flutter, Native SDKs & Device Wallets
Cards can be added, suspended, or removed directly from the OS Wallet settings outside the KAST app, causing stale "Add to Wallet" buttons if status is cached naively.
Solution: Implemented reactive eligibility and token-status reconciliation across the Method Channel boundary on screen focus and card lifecycle mutations (freeze/cancel/reorder), ensuring Flutter UI state stays consistent with Apple Wallet, Google Wallet, and MeaWallet MPP SDK statuses.
Challenge 3: Maintaining Weekly Release Velocity on Revenue-Critical Flows
Shipping weekly sprints on payment and card flows leaves zero tolerance for silent regressions.
Solution: Structured the card module around decoupled Clean Architecture layers with Freezed state unions and added flutter_test + mocktail unit and widget test coverage directly into CI, catching state and mapping defects automatically before QA and UAT sign-off.
7. Results & Impact
- Delivered Apple Pay & Google Wallet provisioning end to end in ~2 months as sole mobile developer across Flutter, Swift, and Kotlin.
- Enabled 100,000+ daily active users to provision KAST cards directly into their phone wallets from the app.
- Extended Apple Wallet provisioning cleanly to the KAST Business application.
- Shipped 20+ production features across card ordering, lifecycle, statements, and security inside one-week Scrum sprints.
- Strengthened payment security with 3D Secure (3DS), MFA, certificate pinning, and CI-enforced automated tests.