Fraud Scoring in Laravel: How TalkAm Chooses Between a PIN and a Face Check
TalkAm is a voice-banking app I built on WhatsApp. A user sends a voice note, something like "send 20,000 to my sister", TalkAm reads the transfer back, and the money moves once the user clears one verification step: a four-digit PIN or a face check. Which of the two is the risk gate's call, made before any verification is offered. This article walks through how it decides, and the handful of…
TalkAm is a voice-banking app built on WhatsApp that uses a PIN or face check for verification. The app decides which method to use based on a scoring system, where nine transaction-monitoring rules are evaluated. If the score is at or above 50, a face check is required; below that, a PIN is sufficient. The scores are stored in a config file, allowing easy tuning without code changes.
The rules consider factors like odd hours, large amounts, round-tripping, customer history, high amounts, velocity checks, geo-anomalies, device fingerprints, and machine learning scores. Some rules, like "odd hour" and "high amount", have their own judgement and do not rely on a point system. Refusals such as account hold, hard limits, and KYC tier caps also run before scoring, and a refusal at this stage ends the process.
When the score demands a face check on an IVR line, such as a feature phone, the gate refuses and instructs the user to return via WhatsApp.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to