PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/ML System Design/Stripe

Design payment fraud detection

Last updated: Jul 2, 2026

Quick Overview

This question evaluates a candidate's ability to design end-to-end machine learning systems for payment fraud detection, covering competencies in labeling, imbalanced learning, feature engineering across users/merchants/cards/devices/IPs and graph relationships, model selection, online serving, latency and feature freshness, monitoring, experimentation, and adversarial robustness. As an ML System Design problem for a Machine Learning Engineer role, it is commonly asked to probe trade-offs between fraud loss, false positives, user friction and latency and requires both conceptual understanding and practical application of production ML concerns such as evaluation metrics, thresholding, retraining, and operational constraints.

  • medium
  • Stripe
  • ML System Design
  • Machine Learning Engineer

Design payment fraud detection

Company: Stripe

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: medium

Interview Round: Technical Screen

Design a machine learning system for fraud detection in an online payment platform. The system should score transactions before or shortly after authorization and help decide whether to approve, block, challenge, or send a transaction to manual review. Cover the following: - Product goals and trade-offs between fraud loss, false positives, user friction, and latency. - Labels and training data construction. - Feature engineering for users, merchants, cards, devices, IPs, transaction history, and graph relationships. - Model choices and how to handle severe class imbalance and delayed fraud labels. - Online serving architecture, feature freshness, and latency constraints. - Evaluation metrics, thresholding, experimentation, monitoring, and retraining. - Abuse/adversarial considerations and how the system should adapt over time.

Quick Answer: This question evaluates a candidate's ability to design end-to-end machine learning systems for payment fraud detection, covering competencies in labeling, imbalanced learning, feature engineering across users/merchants/cards/devices/IPs and graph relationships, model selection, online serving, latency and feature freshness, monitoring, experimentation, and adversarial robustness. As an ML System Design problem for a Machine Learning Engineer role, it is commonly asked to probe trade-offs between fraud loss, false positives, user friction and latency and requires both conceptual understanding and practical application of production ML concerns such as evaluation metrics, thresholding, retraining, and operational constraints.

|Home/ML System Design/Stripe

Design payment fraud detection

Stripe logo
Stripe
Apr 18, 2026, 12:00 AM
mediumMachine Learning EngineerTechnical ScreenML System Design
5
0

Design a machine learning system for fraud detection in an online payment platform. The system should score transactions before or shortly after authorization and help decide whether to approve, block, challenge, or send a transaction to manual review.

Cover the following:

  • Product goals and trade-offs between fraud loss, false positives, user friction, and latency.
  • Labels and training data construction.
  • Feature engineering for users, merchants, cards, devices, IPs, transaction history, and graph relationships.
  • Model choices and how to handle severe class imbalance and delayed fraud labels.
  • Online serving architecture, feature freshness, and latency constraints.
  • Evaluation metrics, thresholding, experimentation, monitoring, and retraining.
  • Abuse/adversarial considerations and how the system should adapt over time.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Stripe•More Machine Learning Engineer•Stripe Machine Learning Engineer•Stripe ML System Design•Machine Learning Engineer ML System Design

Your design canvas — auto-saved

PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.