Real-Time Payment Approval: Risk Scoring and Rule Design
Statistics & ExperimentsModel answerLast updated
Walk through accept/decline decisions for two flagged transactions and design at least three fraud-mitigation strategies, explaining the false-positive vs. chargeback trade-off.
Scenario
You join the fraud and payments risk team at a mid-size fintech. Two transactions arrive simultaneously and need a real-time decision before the authorization window closes. Here are their attributes:
| Attribute | Transaction A | Transaction B |
|---|---|---|
| Amount | $40 | $1,650 (consumer electronics) |
| Card / IP geography | Both domestic | Card issued abroad, IP in a third country |
| Device | Recognized, 25 prior sessions | First-time device, never seen |
| Card age | 4 years | 3 days |
| Historical fraud rate (segment) | 0.3% | 7.5% |
| Recent velocity | 1 attempt today | 5 attempts in the last 12 minutes |
What you are expected to do
- Decision framework. Set up the economic rule that governs when to approve, step-up, or decline. State your assumptions and define the variables.
- Per-transaction reasoning. Apply the framework to each transaction. Justify whether you approve, challenge, or decline — and explain why.
- Mitigation strategies. Describe at least three concrete strategies you would deploy immediately (rules, throttling, review queues, etc.).
- Trade-off discussion. Explain the tension between false positives and chargebacks, how you measure each, and how you would run an experiment to evaluate a new rule.
A strong answer will use numbers (even rough estimates are fine — state your assumptions), go beyond binary approve/decline, and address measurement challenges like label delay and the lack of ground truth for declined transactions.
Hints
Hint 1
Start with the expected-value equation before touching either transaction. The optimal threshold p* is a ratio of costs, not a gut feeling — derive it and note how it changes with transaction amount.
Hint 2
A binary approve/decline system leaves money on the table. Think about what a middle tier (step-up authentication, manual review queue) buys you in Transaction B specifically, and what happens to fraud liability when 3DS succeeds.
Hint 3
Declined transactions never get a fraud label, so you cannot directly measure false-positive rate from production data alone. Think about how a small randomized holdout or a proxy metric like step-up pass rate could fill that gap.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
What a strong answer looks like
The interviewer is checking whether you treat accept/decline as an economic optimization rather than a pattern-matching exercise. Red flags matter only insofar as they shift a probability, and that probability has to be compared against a cost ratio — not a gut threshold.
Step 1: Build the decision rule
Define:
- p = model-estimated probability the transaction is fraudulent
- A = transaction amount
- m = net margin/take rate (assume ~2.5%)
- F = chargeback fee + operational cost (~$25)
- C = cost of a false decline: lost future margin, churn, support contact (~$10–$30 depending on customer tenure)
Expected value of approving: (1 − p) · m · A − p · (A + F)
Expected value of declining: −(1 − p) · C (you only lose when the customer was genuine)
Approve when EV(approve) > EV(decline), which simplifies to:
p < p* = (m·A + C) / (m·A + C + A + F)
Two immediate observations:
- p shrinks as A grows.* Fraud loss scales with the full amount; margin scales with only m·A. Large transactions need tighter thresholds.
- C is not zero. Ignoring customer lifetime value systematically overtightens rules and destroys approval rate without a commensurate reduction in actual fraud dollars.
Step 2: Apply to each transaction
Transaction A — $40, domestic, trusted device, 4-year-old card
Using m = 0.025, C = $10, F = $25:
p* = (1.00 + 10) / (1.00 + 10 + 40 + 25) = 11 / 76 ≈ 14.5%
The segment fraud rate is 0.3%. A trusted device and consistent geography only push that lower. Approve with no friction. Adding a challenge here costs you C on 99.7% of these transactions for a vanishingly small fraud benefit.
Transaction B — $1,650, geography mismatch, new device, 3-day-old card
p* = (41.25 + 15) / (41.25 + 15 + 1,650 + 25) = 56.25 / 1,731 ≈ 3.3%
The segment base rate alone (7.5%) is already more than twice the threshold — before considering the geo mismatch, new device, fresh card, and velocity burst. A calibrated model combining those signals might put p at 20–40%. Do not approve directly.
However, don't hard-decline immediately either. This is where a three-tier system pays off:
- Trigger step-up authentication (3DS or OTP). A genuine cardholder in an unusual location will usually pass. A successful 3DS challenge also shifts fraud liability to the issuer, which changes F in the formula.
- If step-up is unavailable or fails, route to a manual review queue — physical goods can be held before shipment.
- Decline only if the step-up is abandoned or review cannot complete within SLA.
The rapid repeated attempts also suggest card testing. Flag the card BIN, device fingerprint, and IP for additional monitoring regardless of outcome.
Step 3: Three mitigation strategies to deploy immediately
1. Velocity throttling. Cap the number of authorization attempts per card, device, and IP in rolling windows (e.g., more than 3 declines per card in 10 minutes triggers a 1-hour soft block). This stops card-testing attacks cheaply with very low false-positive impact on legitimate users.
2. New-entity amount limits. For cards under N days old or devices seen for the first time, cap the approvable amount without step-up (e.g., $200). Fraud concentrates heavily in newly registered entities. Established users are unaffected, so false-positive cost is minimal.
3. Geography and identity mismatch routing. When issuing country, IP country, and shipping destination disagree — especially in a high-risk MCC — automatically require step-up. This is a high-precision signal; the rule triggers rarely enough that the false-positive burden stays low.
Deployment practice for all three: run each in shadow mode first. Log what the rule would have flagged, then measure precision against confirmed chargebacks 60–90 days later before enforcing.
Step 4: False positives vs. chargebacks
Chargebacks (false negatives) are visible and measurable: you lose the transaction amount, pay fees, absorb ops cost, and risk card-network monitoring thresholds (typically around 1% dispute rate before penalties kick in).
False positives are larger in aggregate but harder to see. Industry data consistently shows declined-good-customer losses exceed fraud losses by a wide margin. They appear as lower approval rates, customer complaints, and silent churn — easy to ignore until you look.
The trade-off is embedded in p*. Tightening the threshold cuts fraud basis points but reduces approval rate and increases the false-positive burden. The right tool is a net-value curve: plot approval rate against fraud loss at different operating points and let stakeholders choose consciously, rather than optimizing fraud rate alone.
Measurement challenge: declined transactions never get a fraud label, so you cannot observe false positives directly from production data. Two fixes:
- Randomized holdout. Approve a small random sample (e.g., 1%) of would-be-declines below a capped amount. This yields an unbiased false-positive estimate for each rule.
- Proxy metrics: step-up pass rate (high pass rate → rule is too aggressive), retry success rate after a decline, and inbound dispute contacts from customers who were declined.
A/B testing a new rule: randomize at the card or user level — not the transaction level — to avoid splitting a cardholder's experience. Primary metric: net margin per transaction. Guardrail: chargeback rate in basis points. Account for label delay (chargebacks arrive 30–90 days out) by using early signals like issuer-reported fraud for interim reads but maturing final decisions on full labels.
Common mistakes to avoid
- Setting a score threshold independently of transaction amount. A p of 5% means something very different on a $10 transaction vs. a $2,000 one.
- Treating the decision as binary and skipping the step-up tier entirely.
- Stacking risk signals by multiplying raw rates as if they were independent evidence — they aren't.
- Declaring a rule successful without a holdout. Without counterfactual approvals, you're measuring correlation with chargeback volume, not the causal impact of the rule.
- Ignoring chargeback reporting lag and calling a rule effective after only two weeks of data.