Launching Peer Payments in a Chat App: Metrics, Tests, Risks
Statistics & ExperimentsModel answerLast updated
Plan the first 90 days of a person-to-person payments feature in a chat product: pick goals and metrics, price it, run a network-safe experiment, fall back to DiD, and flag risks.
Your company runs a very large messaging app and is considering a built-in feature that lets friends send each other money inside a chat. You are the data scientist asked to plan how to evaluate it. Answer each part with concrete choices and justify them.
- Goal and metrics. Name the single most important business objective for the first 90 days. Give 2-3 success metrics with precise definitions and units, plus at least one guardrail that protects the health of core messaging.
- Monetization. Propose two different ways the feature could earn money (for example a per-transaction fee versus interchange or balance-float income). Explain how you would measure the causal effect on average revenue per user (ARPU) without being fooled by volume that exists only because of subsidies or promotions.
- Beta rollout under interference. Design a beta that handles network effects and leakage. Specify the randomization unit (user, dyad, ego-network, or geography), how exposure is defined, how you enforce access when someone not assigned to the feature wants to use it with a friend who is, and how you estimate intent-to-treat (ITT) versus treatment-on-the-treated (TOT) effects.
- If randomization is impossible. Write a difference-in-differences specification: define treatment and control, pre and post windows, the estimand, the checks needed for parallel trends, and how to cluster standard errors. Name two falsification tests.
- Risks. List the top three risks (one each from product, fraud/regulatory, and ecosystem). For each, give a measurable leading indicator and a mitigation you would ship before full launch.
Hints
Hint 1
Commit to one objective and say why revenue is probably not it in the first 90 days; then make every metric and guardrail follow from that choice.
Hint 2
Payments are two-sided, so a user-level split lets treated users pay mostly untreated friends. Think about clustering the close-tie social graph, and about what control users may do (receive) versus may not do (initiate).
Hint 3
For ARPU, divide by all assigned users (not just transactors), subtract incentive cost, and look at a window after promotions expire.
Hint 4
For DiD, separate the event-study leads (parallel trends) from placebo tests (fake dates, or populations and outcomes that should not respond), and remember the treatment is assigned at the country or region level when you cluster.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Framing
The interviewer is looking for commitment to choices, awareness that a payments product is two-sided (so naive A/B tests are biased), and the ability to link risks to measurable signals. State assumptions, pick, and justify.
1. Objective and metrics
Objective: maximize incremental, retained payment usage that strengthens messaging engagement. In the first 90 days the feature is an engagement and retention lever; revenue comes after habits form.
Success metrics
| Metric | Definition | Unit |
|---|---|---|
| Weekly active payers | Users with at least one completed (not reversed) send to a distinct counterparty in a trailing 7 days | users/week |
| 30-day repeat rate | Of users whose first send is in week w, share with a second completed send within 30 days | % |
| Recipient activation | Share of first-time recipients who claim funds (link a card or bank) within 72 hours | % |
Guardrails
- Messages sent per DAU across all threads, with a non-inferiority margin (for example -0.5%).
- Block/report rate per 1,000 payment threads versus matched non-payment threads.
- Fraud loss in basis points of total payment volume, with a hard ceiling (for example 10 bps).
2. Monetization and causal ARPU
Option A, fees: keep bank/debit sends free; charge for instant cash-out (about 1.5%) and credit-card funding (about 3%).
Option B, interchange and float: issue a debit card on the stored balance (interchange around 1-1.5%) and earn yield on held balances.
Measurement
- Randomize price, not just access: for example 0% / 1% / 1.75% instant cash-out arms.
- Define ARPU over all assigned users: (fees + interchange + float - incentive cost - fraud loss) / assigned users over 90 days. Netting incentives keeps subsidy spend from looking like revenue.
- Hold promotions constant across arms and include a no-incentive arm to see organic volume.
- Report days 31-90 separately, after sign-up bonuses lapse; subsidy-driven volume decays.
- Remove manufactured volume: self-transfers, A to B to A round trips within 24 hours, and transfers to accounts less than 7 days old.
3. Beta under interference
Unit: clusters of the close-tie messaging graph. Detect communities (for example Louvain on 90-day message volume), randomize clusters stratified by country and size, and aim for most payment-likely edges (say over 70%) to fall inside a cluster.
- User-level fails because treated users cannot pay most of their friends.
- Dyads overlap and cannot be assigned cleanly.
- Geography is a fallback; few units means low power.
Exposure: a logged impression of the Pay entry point in the composer. This differs from treated/used (at least one completed send or receive).
Access rules for non-assigned friends
- Control users may receive and claim funds (blocking would ruin the sender's experience).
- Control users may not initiate sends or requests and see no entry point.
- Log them as spillover-exposed and report contamination per arm.
Estimation
- ITT: regress outcome on assignment Z with strata fixed effects, cluster-robust SEs at the cluster level.
- TOT: 2SLS with Z instrumenting activation D; TOT = ITT / (P(D=1|Z=1) - P(D=1|Z=0)). The exclusion restriction can fail if merely seeing the button changes behavior; say so.
- Spillover: regress control outcomes on the share of friends in treated clusters (a dose-response model). A non-zero slope means the ITT is biased toward zero.
4. Difference-in-differences
- Treated: users in launch countries; control: matched non-launch countries (match on pre-trends in messaging DAU, smartphone penetration, existing P2P adoption).
- Windows: 12 weeks pre, 12 weeks post, weekly periods.
- Estimand: ATT on treated countries (for example messages per user-week).
$$Y_{ict} = \alpha_i + \lambda_t + \beta,(\text{Treat}c \times \text{Post}t) + X{ct}'\gamma + \varepsilon{ict}$$
with user and week fixed effects and country-level time-varying controls (holidays, currency shocks). β is the ATT.
Parallel trends: fit an event study with leads and lags relative to launch; the leads should be jointly zero (F-test) and plotted with confidence intervals; also compare pre-period levels and trends by segment. With staggered launches, use Callaway-Sant'Anna or Sun-Abraham, since plain TWFE is biased under heterogeneous timing.
Standard errors: cluster at the country level (the assignment level). With fewer than about 30 clusters, use a wild cluster bootstrap. Synthetic control is a useful robustness check when there are few treated countries.
Falsification tests
- Placebo timing: a fake launch date 8 weeks early using only pre-period data; β should be near zero.
- Placebo population or outcome: estimate the model on ineligible users (for example under-18 or unverified) or on an outcome payments should not move (for example Status views).
5. Top risks
| Risk | Leading indicator | Pre-launch mitigation |
|---|---|---|
| Product: cold start, low repeat use | 72h claim rate; D30 repeat rate below target (for example under 35%) | Lightweight KYC to claim up to a low limit; request-money flows and reminders that pull recipients in |
| Fraud/regulatory: scams, account takeover, licensing gaps | Fraud bps, dispute rate, share of sends to new or flagged accounts | Velocity and amount limits for new accounts, step-up authentication, scam warnings, partner licensed processor, and region-by-region compliance gating |
| Ecosystem: spam, harassment, or trust damage in chat | Block/report rate in payment threads, message-request spam rate, messages per DAU | Restrict payments to mutual contacts, rate-limit requests, easy report/undo-request controls |
Common mistakes
- Choosing revenue as the 90-day goal, or listing many goals without choosing.
- Randomizing individual users and ignoring that the product needs a counterparty.
- Computing ARPU only over transactors, or counting subsidized and circular volume.
- Treating ITT and TOT as interchangeable without stating the exclusion restriction.
- Clustering DiD errors at the user level when treatment varies by country.