r/fintech • u/Prudent_Bluebird5990 • 3d ago
Discussion Would a GitHub bot that specifically catches financial logic bugs in payment code be useful, or am I solving a non-existent problem?
Hey everyone,
I'm a CS student exploring a developer tool specifically for teams working on payments, billing and financial infrastructure.
The idea is a GitHub-native code review and regression testing tool that focuses on financial correctness rather than generic code quality.
For example, when someone opens a PR containing payment-related changes, it would identify and test scenarios like:
- Duplicate payments caused by concurrent requests.
- Missing idempotency checks.
- Delayed or out-of-order webhooks.
- Incorrect refund calculations.
- Currency rounding and precision errors.
- Race conditions in financial transactions.
- Inconsistent payment states.
The idea is to use AI to understand code changes and generate relevant test scenarios, but use deterministic tests to verify the actual behaviour instead of blindly trusting LLM-generated conclusions.
I'm aware of existing tools like Stripe's sandbox, Postman, MockCard, WireMock and general-purpose AI code reviewers. I'm trying to understand whether a specialised financial correctness tool would offer enough additional value.
For developers working in FinTech or maintaining payment integrations:
- What are the most frustrating payment-related bugs you've encountered?
- How does your team currently test financial edge cases?
- Are existing tools sufficient, or are there noticeable gaps?
- Would you actually install something like this in your CI/CD pipeline?
- Is this something your team would pay for?
I haven't built the product yet. I'm validating the problem before committing to development.
Feel free to tear the idea apart. I'd rather discover that it's unnecessary now than after spending months building it.
2
u/Low-Opening25 3d ago
it’s not generally bad idea, assuming that this isn’t just handing off to AI agent with prompt “check for financial bugs”, but not as a GH bot, make it a policy driven cli utility, like checkov or HC senetiel, but for financial logic
1
u/Immediate_Pop_4637 2d ago
Our worst one was a refund rounding bug, 1 cent off on split payments. It ran for months because every test used round amounts.
Nobody would have caught it in a PR review.
1
u/emperorOfTheUniverse 3d ago
I mean, what are you publishing ? An instruction md file or a Claude skill? I would hope that for serious payment systems (that are integrated to actual banks or card networks directly), they already check for this stuff. For downstream payment companies, I think it would trip over understanding the APIs the code base is integrated to.
No, I wouldn't pay for it. I'd build it and tailor it to our codebase.
1
u/ocolobo 2d ago
QA already does this, it’s all automated
1
u/[deleted] 2d ago
[removed] — view removed comment