Skip to content
All projects

Payment Core

Send the same payment 20 times at once; money moves once.

For
Teams building systems that hold payments, wallets or balances
Platform
Web API ve canlı demo
Stack
C# · .NET 10 · ASP.NET Core · PostgreSQL · RabbitMQ · MassTransit · OpenTelemetry
Licence
MIT
Payment Core screenshot: Live demo: three scenarios and a 3D scene

The app is in Turkish and made for Turkey.

The problem it solves

In a system that holds money, failures are quiet. The network stalls, the app retries the payment and the customer is charged twice; two concurrent payments spend the same balance; the bank sends the money but never answers, and the money is either lost or sent twice. These show up on a busy day, not in tests.

What it does

  • Double-entry ledger: every movement is a debit and a credit, and entries can never be edited or deleted.
  • Idempotency keys: 20 requests with the same key move money once, the rest get the stored response.
  • Row locks are always taken in the same order, so concurrent payments cannot overdraw a balance or deadlock.
  • Payouts in two steps: reserve first, call the bank outside the transaction, safe to retry with a circuit breaker.
  • Outbox and RabbitMQ (MassTransit) so no message is lost; end-of-day reconciliation reports differences.
  • In the live demo the requests hit the real API; every number comes from an HTTP response and each exchange can be inspected.

Screens

Payment Core screenshot: 20 requests: 1 money movement, 19 stored answers
20 requests: 1 money movement, 19 stored answers
Payment Core screenshot: Request inspector and why it holds
Request inspector and why it holds

Open source

Free, with no sign-up, trial or licence key. Anyone can read the code and build it themselves.

  • MIT licence: the code is free to use and modify.
  • 87 tests run against a real PostgreSQL; locking and idempotency are proven on the real database, not a fake.
  • Every architecture decision is written down with its reasons: 7 decision records live in the repository.
  • It is a simulation: no real card data, it talks only to its own bank simulator.

More projects

Site Auditor screenshot: Home page and audit form
Works on real sites

Any business

Site Auditor

See in 30 seconds whether your website is losing customers.

Any business with a website

Sipariş Defteri screenshot: Landing page
Demo with sample data

Retail and e-commerce

Sipariş Defteri

Stop writing DM orders in a notebook. Let the panel keep them.

Boutiques and small shops selling on Instagram and WhatsApp

Masadan screenshot: Landing page
Demo with sample data

Restaurants and cafés

Masadan

Orders come from the table, the kitchen never waits.

Cafés, restaurants and bars