Authorization check
EasyStripeauthorization rateconditional countscross-border flagmonthly mix· 20 XP (10 per question)
Mock interview. You're interviewing for a data analyst job at a payments company. When a shopper pays, the card issuer either authorizes (approves) or declines the payment. The interviewer says: "Every declined payment is a lost sale for our merchants. Give me a quick read on authorization rates from July to October 2026."
payments: one row per payment attempt, with the method (card typed in, saved_details saved with us, or wallet), the merchant's country, the card's country and whether it was authorized.
Question 1: By payment method
"For each method, show payments, the share of all payments, and the authorization rate."
Expected output
- Columns
method,payments,share_pct,auth_rate_pct(rounded to 1 decimal); sorted byauth_rate_pct, highest first
Example of the shape (made-up values):
| method | payments | share_pct | auth_rate_pct |
|---|---|---|---|
| bank_debit | 100 | 5.0 | 97.0 |
Hints, the later questions and the answer come with Pro.
Question 1 of 2
Write your query here. Ctrl + Enter submits.