https://a.storyblok.com/f/270183/1368x665/4f533c73a1/25jun_dev-blog_banking-hackaton.jpg

Hackathon Highlight: Mobile Banking Fraud Protection

Published on June 23, 2025

The shift toward cashless payments has made banking more convenient, but also more vulnerable. Fraudulent transactions, identity theft, and SIM swap attacks are becoming alarmingly common. At a recent Vonage hackathon, one team set out to change that with their project: Mobile Banking Fraud Prevention.

Vonage software engineers Sahil Khanna, Arunraj Manrajan, and Ramaraj Karuppusamy built a proactive fraud detection system that uses Vonage Network and Communication APIs to verify identities and assess transaction risk in real-time. The result is a smooth yet secure experience for mobile banking users.

Their project is available on GitHub with full instructions below.

The Challenge

  • Mobile payment fraud is on the rise, including unauthorized transactions.

  • Most banking apps detect fraud only after it has happened.

  • Fraud lowers customer trust and causes large financial losses.

  • Maintain a smooth UX.

The Solution

The team created a real-time validation system that uses Vonage APIs to verify user identity and transaction legitimacy, preventing fraud from occurring. It integrates with banking platforms and includes a responsive demo e-commerce website to simulate real-world use.

How It Works

When a transaction is initiated, the system runs background checks, including SIM status, roaming, and geolocation. If any of these checks fail, the transaction is flagged. For suspicious activity, the user is prompted to verify their identity with a one-time password (OTP) sent via SMS, and the transaction is only allowed after successful OTP verification. To showcase this process, a fully functional demo website simulates the shopping and checkout experience, with Vonage API calls running behind the scenes.

Below is an image of the project workflow:

Flowchart showing how to verify a user's transaction using telecom APIs. It starts with verifying the phone number via the Number Verification API. If verification fails, the SIM Swap API checks for recent swaps. A recent swap leads to a fraud alert. If not, the Device Status API checks for international roaming. If roaming, an OTP is sent for verification. If not roaming, the Device Location API checks if the user is in their home region. If outside the region, another OTP check is triggered. Transactions proceed only if all checks pass; otherwise, they are flagged as fraud and the user is notified.Project Workflow

Prerequisites

You'll need the following installed:

  • Vonage API account {WIDGET}

  • Node.js (version 16 or higher recommended)

  • npm installed

  • Git

Technical Details

The team built the core application with Node.js, NestJS for the backend API, and HTML, CSS and JS to create a responsive demo website. Along with the following Vonage APIs:

SMS API (OTP): Adds a final layer of user confirmation for high-risk transactions.

Running the Project

If you want to try this out yourself, clone the repo and set up your .env file with:

VONAGE_APPLICATION_JWT: Generated from https://developer.vonage.com/en/jwt

VONAGE_MESSAGING_API_KEY: Available on Vonage API Dashboard.

VONAGE_MESSAGING_API_SECRET: Available on Vonage API Dashboard.

OTP_WHITELISTED_MSISDN: Mobile number registered https://dashboard.nexmo.com/messages/sandbox

To run the demo standalone from the command line, do:

npm install cp .env.example .env npm run start:dev

Once the server is running, you can access:

Why It Matters

Online payment fraud isn’t just an inconvenience, it’s a billion-dollar problem. By combining Vonage’s SIM Swap, Number Verification, Device Info, and OTP APIs into a cohesive system, this project proves that fraud prevention doesn’t have to come at the expense of user experience.

We’re proud to spotlight this project as a model for what’s possible when developers creatively apply Vonage APIs to real-world problems.

Got any questions or comments? Join our thriving Developer Community on Slack, follow us on X (formerly Twitter), or subscribe to our Developer Newsletter. Stay connected, share your progress, and keep up with the latest developer news, tips, and events!

Share:

https://a.storyblok.com/f/270183/384x384/b68093ec17/diana-pham.png
Diana PhamDeveloper Advocate

Diana is a developer advocate at Vonage. She likes eating fresh oysters.