Klogs
A complete card-payment application on a payment gateway: 3-D Secure payments, instalments, cancellations and refunds, saved cards, recurring payments and payment links.

Purpose
Give a business one application to take card payments end to end, with the rules for cancellation, refund and card storage decided on the server.
The problem
A payment gateway only moves money. A business still needs the screens, the instalment choice, the saved cards, the recurring charges, the refund rules and the proof that card data is never kept.
What I built
- A .NET 10 API on PostgreSQL in layers (domain, application, infrastructure, API), the single backend for web and mobile.
- Card payments with 3-D Secure, instalments shown as soon as the card number is typed (a BIN lookup), and a filterable list of payments.
- Cancellation and refund in one call: inside the payment day the server voids the whole payment, later it refunds up to the remaining amount, by the Istanbul calendar day. The client never decides.
- Saved cards (listing, deleting, paying with one), recurring payments by day, week, month or year, products, orders and payment links.
- A React web app and native Android (Kotlin) and iOS (Swift) apps on the same API.
- Card data never rests in the system: no card number, CVV or expiry in any entity, log or response; only the masked last four digits, the brand and the gateway’s card reference.
Features
- One origin for the API and the web app, so cookies work and web and mobile use one base URL.
- Backups and a restore drill, a backward-compatibility gate and a decision record (ADR) for each rule that is easy to get wrong.
Stack
- .NET
- EF Core
- PostgreSQL
- React
- Vite
- TypeScript
- Tailwind CSS
- Kotlin
- Swift
- 3-D Secure payments
live demo
live product
Open the product (opens in a new tab)
https://klogs.bitreka.com
Limitations
Making real card payments needs the operator’s gateway account, so read the live address as the application itself, not as a shop.
Want something like this?
Tell me about your project — I reply within two working days.
Start a project