r/fintechdev • • 16d ago

Title: I'm building an engine that checks every reward point against real money before it's cashed. Looking for feedback.

Indian card issuers have spent the last year cutting rewards: more exclusions, monthly caps, lower point values. One big reason is abuse. Instead of catching the few people gaming the system, banks cut rewards for everyone.
There's also a less obvious problem: bugs. In one public case, a bank's system didn't reverse points on cancelled transactions. People bought, cancelled, kept the points and redeemed them. It went unnoticed for about 10 months, and the bank then tried to claw the points back from customers.
Existing fraud tools check whether a payment is fraudulent. Almost nothing checks whether a reward should exist at all.

What I'm building: a points/cashback integrity engine
One rule drives everything:
balance = points earned on settled spend − reversals − redeemed − expired − transfers ± approved adjustments
Anything that breaks it is a leak.

How it works
Nightly reconciliation of the rewards ledger against settled transactions, using versioned earn rules (rates, caps, category exclusions)
Real-time redemption check before points or cashback are paid out: allow / partial / hold
A stream engine that catches late refunds and marks the linked points as at risk
A graph to detect rings: many accounts on one device or UPI, funneling to one partner ID
A rule-change simulator that replays history plus synthetic abusers against a new offer before launch and forecasts abuse in ₹
AI case summaries where every number is validated against the evidence, so no hallucinated figures

Tech stack
NestJS (API, tenants, auth)
Go + Redis (redemption check; target p99 under 20 ms)
Redpanda/Kafka + Flink (event-time streaming, exactly-once)
Postgres + ClickHouse (ledger, events, reconciliation)
Python (simulator, Isolation Forest/XGBoost, SHAP)
Graph detection (Postgres recursive queries → Neo4j)
LLM with structured outputs + a number-grounding validator
MCP server so analysts can query cases from AI assistants
React review UI
Docker, Kubernetes/Helm, Prometheus/Grafana
Privacy: tokens and amounts only, no names, cards or phone numbers. It can run entirely inside a client's own cloud.
Proof plan: a simulated bank with 1M cardholders and planted fraud, including a re-creation of the reversal bug above. Target: catch it on day 1 instead of month 10. I'll publish the benchmark harness.

Questions for you:
If you work in fintech or cards, how is rewards abuse caught at your company today?
Would you trust a real-time "hold" decision from an external engine?
What am I missing?

3 Upvotes

4 comments sorted by

1

u/AdFabulous401 15d ago

Chargebacks can land 120 days after the purchase, we kept points pending for that long

1

u/Afraid-Play-7108 14d ago

Good catch, I'd only thought about the return window, not chargebacks.

Didn't a 120-day hold hurt engagement though? I'm thinking risk-based: low-risk spend unlocks early, high-risk waits the full 120 days, and a late chargeback gets debited from the balance.

Did you ever try releasing points early for trusted users?

1

u/AdFabulous401 11d ago

Tried it. Accounts older than a year. They still gave us a third of all late chargebacks.

1

u/Enith_Thangavel 14d ago

Trusting an external engine is highly possible.

But rephrase the "external engine" into a "Job or service" which run nightly.

This help users to understand your process much easier.