-
-
Multi-currency portfolio overview with real-time mid-market FX conversion and quick action buttons
-
Manage global balances (USD, EUR, GBP, INR, AED) and track recent transactions in real time
-
Natural language financial assistant that understands commands to add funds or send money instantly.
-
Seamless PayPal Sandbox checkout overlay directly inside the chat window without popup blockers.
-
-
Inspiration
International tourists and global users often struggle with managing multiple currencies, tracking real-time foreign exchange (FX) rates, and dealing with complex cross-border payment interfaces. We wanted to simplify global finance by combining a multi-currency digital wallet with an intelligent, conversational AI assistant that makes managing money as easy as sending a text message.
What it does
GlobalPay AI is a multi-currency portfolio and intelligent financial assistant designed for seamless global transactions. Key features include:
- Multi-Currency Wallet: View and manage balances across major global currencies (USD, EUR, GBP, INR, AED) with real-time mid-market FX conversions.
- Conversational AI Commands: Use natural language in the chatbox (e.g., "Add $50 to my wallet", "Deposit 100 EUR", or "Send $50 to Marco") to execute financial actions instantly.
- Integrated PayPal Sandbox Checkout: Trigger an interactive PayPal checkout overlay directly inside the chat window to top up funds without leaving the conversation or dealing with blocked popups.
- Instant Ledger & Receipt Tracking: Automatically updates currency balances on the main dashboard and generates order references and receipts upon payment approval.
How we built it
- Frontend & UI: Built a responsive, dark-themed financial dashboard featuring quick actions (Add Money, Swap FX, Send, Scan QR) and an embedded AI chat assistant.
- AI & Natural Language Processing: Powered by Gemini to parse user intents, paired with a deterministic backend command parser fallback (
parseNaturalCommandFallback) to ensure reliable execution even in preview environments. - Payments Integration: Integrated PayPal Sandbox Checkout directly into the chat flow, supporting both PayPal balance and Debit/Credit card funding sources with backend ledger verification via
/api/wallet/topup. - Testing: Verified end-to-end flows with automated test suites (
globalpay-ai.test.ts) covering intent resolution, checkout approval, and balance updates.
Challenges we ran into
- Popup Blockers during Checkout: Traditional payment redirects often get blocked by browsers. We solved this by building an inline PayPal Sandbox Checkout overlay directly inside the chatbox.
- Intent Reliability: Ensuring natural language commands like "Add $50" always triggered the exact currency and amount required building a hybrid parser that combines Gemini AI with a deterministic fallback mechanism.
Accomplishments that we're proud of
- Creating a frictionless "chat-to-pay" experience where users can top up their wallet via PayPal without ever leaving the AI assistant window.
- Achieving 100% passing end-to-end automated tests for wallet deposits, FX display, and AI command execution.
What we learned
We learned how to seamlessly bridge conversational AI interfaces with real-world payment gateways, handle asynchronous ledger settlements securely, and design intuitive multi-currency user experiences.
What's next for GlobalPay AI
- Integrating live peer-to-peer cross-border transfers and QR code merchant payments.
- Adding AI-driven spending insights and automated FX rate alerts to help travelers convert currency at the best possible rates.