Skip to content
Pro90 ProblemsSQL + Python

Payments SQL & Python Interview Questions

Payment processors handle transaction authorization, fraud scoring, and settlement at massive scale. These SQL and Python challenges are modeled after analytical work at Stripe, PayPal, Square, Adyen, Visa, Mastercard, Klarna, Affirm, Plaid, Marqeta, and more. Practice transaction success rate analysis, merchant GMV tracking, chargeback pattern detection, payment failure mode analysis, and authorization rate optimization.

Payments

90 total problems

SQL45
Python45
Top Companies Hiring in Payments

Questions are relevant for real analytics problems data science teams solve at these companies.

Stripe
Stripe
PayPal
PayPal
Square
Square
Visa
Visa
Mastercard
Mastercard
Adyen
Adyen
American Express
American Express
Fiserv
Fiserv
Global Payments
Global Payments
Worldpay
Worldpay
Klarna
Klarna
Affirm
Affirm
Afterpay
Afterpay
Plaid
Plaid
Marqeta
Marqeta
Checkout.com
Checkout.com
Rapyd
Rapyd
Nuvei
Nuvei
Paysafe
Paysafe
WEX
WEX

Difficulty Distribution

Easy

15

17% of problems

Medium

32

36% of problems

Hard

39

43% of problems

Expert

4

4% of problems

What You'll Practice

Transaction success analysis
Fraud scoring metrics
Merchant GMV reporting
Chargeback analysis
Payment method performance
Settlement analytics
Dispute resolution metrics
Authorization rate optimization

Topics Covered

21 topics
SQL· 9
aggregationbasic queries filteringcleaning transformdate timejoinsscenario sqlset operationssubqueries cteswindow functions
Python· 12
eda statisticsfeature engineeringpandas aggregationpandas applypandas basicspandas cleaningpandas datetimepandas filteringpandas mergingpandas reshapingpandas scenariopandas window

All Problems90 total

Open in editor
01
Active E-Commerce MerchantsPro
SQLEasy
02
High-Value Captured ChargesPro
SQLEasy
03
Failed Charges With Failure CodePro
SQLEasy
04
Active Credit Card Payment MethodsPro
SQLEasy
05
US Merchants With Daily Payout SchedulePro
SQLMedium
06
Charges With Merchant DetailsPro
SQLEasy
07
Charges With Customer and Payment MethodPro
SQLMedium
08
Refunds With Charge and Merchant ContextPro
SQLMedium
09
Disputes With Charge and Customer InfoPro
SQLMedium
10
Merchants Without RefundsPro
SQLMedium
11
Charges With Full Payment ContextPro
SQLHard
12
Charge Volume by StatusPro
SQLEasy
13
Total Captured Revenue per MerchantPro
SQLMedium
14
Average Charge Amount by CurrencyPro
SQLMedium
15
Platform Fee Revenue by Transaction TypePro
SQLMedium
16
Top 5 Merchants by Transaction VolumePro
SQLHard
17
Merchants With High Charge Failure RatePro
SQLHard
18
Rank Merchants by Charge VolumePro
SQLMedium
19
Customer Charge Sequence NumberPro
SQLMedium
20
Daily Platform Fee Running TotalPro
SQLHard
21
Largest Charge per MerchantPro
SQLHard
22
Merchant Charge 3-Transaction Moving AveragePro
SQLHard
23
Charge Amount Change From PreviousPro
SQLHard
24
Charge Amount Quartile AnalysisPro
SQLHard
25
Merchants Above Average Charge AmountPro
SQLMedium
26
Customers With Card and Wallet MethodsPro
SQLHard
27
Latest Charge per MerchantPro
SQLHard
28
MCC Category Revenue With RankPro
SQLHard
29
Payment Method Types With Above-Average Charge ValuePro
SQLHard
30
November 2024 ChargesPro
SQLEasy
31
Monthly Charge Volume and RevenuePro
SQLMedium
32
Average Authorization-to-Capture Time by MerchantPro
SQLMedium
33
Dispute Resolution Time AnalysisPro
SQLHard
34
Charges With Amount TierPro
SQLEasy
35
Payment Methods With Detailed Type LabelPro
SQLMedium
36
Merchant Charge Activity SummaryPro
SQLHard
37
Countries With Merchants or CustomersPro
SQLMedium
38
Merchants With Charges But No RefundsPro
SQLMedium
39
Merchant Health ScorecardPro
SQLHard
40
Payment Method Performance ReportPro
SQLHard
41
Customer Spending SummaryPro
SQLHard
42
Refund Reason AnalysisPro
SQLHard
43
3D Secure Impact on Charge OutcomesPro
SQLHard
44
Payout Performance DashboardPro
SQLHard
45
Currency Performance ComparisonPro
SQLHard
46
Active Merchant ProfilesPro
PYTHONEasy
47
Charge Status CountsPro
PYTHONEasy
48
Payment Method Type SummaryPro
PYTHONMedium
49
Merchant Category BreakdownPro
PYTHONMedium
50
Captured USD ChargesPro
PYTHONEasy
51
High-Value Captured ChargesPro
PYTHONMedium
52
Failed Charges by Failure CodePro
PYTHONMedium
53
Delinquent Customers With Card PaymentsPro
PYTHONHard
54
Charges Per CurrencyPro
PYTHONEasy
55
Total Revenue by MerchantPro
PYTHONMedium
56
Average Charge Amount by StatusPro
PYTHONMedium
57
Merchant Charge Stats by CategoryPro
PYTHONHard
58
Payout Summary by Method and StatusPro
PYTHONHard
59
Charges With Merchant NamesPro
PYTHONEasy
60
Refunds With Charge DetailsPro
PYTHONMedium
61
Customers Without ChargesPro
PYTHONMedium
62
Disputed Charges Full ContextPro
PYTHONHard
63
Charge With Payment Method DetailPro
PYTHONHard
64
Rank Merchants by Charge VolumePro
PYTHONMedium
65
Running Total Revenue Per MerchantPro
PYTHONMedium
66
7-Day Moving Average Charge AmountPro
PYTHONHard
67
Daily Payout Volume ChangePro
PYTHONHard
68
Charge Authorization Hour and DayPro
PYTHONEasy
69
Capture Delay in MinutesPro
PYTHONMedium
70
Monthly Charge Volume by CurrencyPro
PYTHONHard
71
Fill Missing Payment Method FieldsPro
PYTHONEasy
72
Normalize Charge Amounts to DollarsPro
PYTHONMedium
73
Standardize Payment Brands to CategoriesPro
PYTHONHard
74
Pivot Charge Counts by Currency and StatusPro
PYTHONMedium
75
Balance Transaction Pivot by Source TypePro
PYTHONHard
76
Classify Charges by Amount TierPro
PYTHONMedium
77
Charge Risk ScorePro
PYTHONHard
78
Fee Rate and Net MarginPro
PYTHONMedium
79
Merchant Charge Volume QuartilePro
PYTHONHard
80
Time-Based Charge FeaturesPro
PYTHONHard
81
Merchant Feature MatrixPro
PYTHONExpert
82
Charge Fraud Risk FeaturesPro
PYTHONHard
83
Charge Amount Statistics by CurrencyPro
PYTHONMedium
84
Charge Amount vs Fee CorrelationPro
PYTHONHard
85
Anomalous Charge Detection (IQR)Pro
PYTHONHard
86
Merchant Health ScorecardPro
PYTHONHard
87
Customer Payment Profile ReportPro
PYTHONHard
88
Refund Impact Analysis by MerchantPro
PYTHONExpert
89
Dispute Resolution ReportPro
PYTHONExpert
90
End-to-End Payment Flow ReportPro
PYTHONExpert

Ready to practice Payments?

90 SQL and Python challenges built from real payments data. Graded instantly in your browser — no setup required.