Real-Time Fraud Scoring for Card-Funded First Transfers

Last updated: November 29, 2026

Quick Overview

Design a machine learning system that scores each card-funded remittance in real time, especially first transfers from new customers, deciding to approve, step up verification, or decline before money is released to a payout partner.

Remitly
ML System Design
Machine Learning Engineer
Remitly
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Hard

0

0

0 solved


Design a machine learning system that scores each card-funded remittance in real time, especially first transfers from new customers, deciding to approve, step up verification, or decline before money is released to a payout partner.

Express transfers paid by card are delivered within minutes, but chargebacks arrive weeks later, so a remittance company carries the loss if it trusts a stolen card. The interviewer wants a design that handles delayed labels, extreme class imbalance, cold-start customers and the cost asymmetry between blocking a real immigrant family and paying a fraudster.

What the Interviewer Expects
  • Frames decisions as approve, step up, or decline with a cost-based threshold
  • Handles delayed and partial labels from chargebacks and confirmed fraud reports
  • Designs real-time features (velocity, device, recipient graph) with an online feature store
  • Addresses cold start for new senders using device, recipient and network signals
  • Plans offline and online evaluation including counterfactual issues from blocked traffic
  • Covers monitoring, drift and fairness across corridors
Key Topics to Cover
Fraud detection
Delayed labels
Feature stores
Graph features
Cost-sensitive thresholds
Exploration
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • Declined transfers never get labels. How do you avoid a model that only learns from what it approved?
  • A new fraud ring targets one corridor. How fast can the system react?
  • How would you set different thresholds for Express versus Economy delivery?
  • How do you explain a decline to support agents and customers?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

Score at checkout within about 150 ms p99. Optimize expected loss: fraud loss plus chargeback fees for approved fraud, versus lost lifetime value and support cost for blocking a good customer. Labels:...

High-Level Design

Checkout calls a Risk API with transfer, sender, device and recipient ids. The API reads features from an online store (velocity counts updated by a streaming job, device reputation, recipient graph s...


Submit Your Answer
Markdown supported

Related Questions