Danil Sidorov
RU EN DE
Telegram

Corporate settlement service

A service that sets up settlement instruments for corporate clients automatically

FinTech / Backend API

Live interactive demo stand

An interactive REST API demonstration. Create a corporate product, inspect its accounts and check duplicate request protection.

One request creates a product and opens its registers

StackJava 11, Spring Boot, Spring Data JPA, PostgreSQL, H2, JaCoCo

The demo is in Russian. Data stays in this tab until reload or reset. No Java API, PostgreSQL or banking system is connected. The local model adds stricter validation and tracks occupied accounts.

What to test in the stand:
  1. Run the prepared product creation request and inspect the linked data
  2. Click Check duplicate and confirm that the 400 response creates no extra records
  3. Choose No matching pool and check the 404 response without data changes
http://localhost:8080/corporate-settlement-instance/create
Live Stand
Settlement API
Локальное демо · Spring Boot / PostgreSQL в исходном проекте
1 · Запрос
2 · Проверка JSON
3 · Правила продукта
4 · Свободный счёт
5 · Сохранение
POST

Результат

Начните с создания продукта. Готовый запрос уже заполнен.

Нажмите «Выполнить», чтобы увидеть ответ.
Как обработан запрос

    Изменения хранятся в этой вкладке до перезагрузки или сброса. Внешний API не вызывается.

    Turnkey implementation

    Need a similar system for your business processes?

    I will develop the architecture, fault-tolerant backend, and fast interface. Protected by NDA, clean transferable code, and transparent milestones.

    1. Free timeline and budget estimate within one day
    2. Contract and invoice
    3. Warranty and post-launch support

    On weekdays usually within a couple of hours

    I will reply personally, no aggressive sales pitch

    Task

    The client onboarded corporate customers slowly. Managers set up settlement instruments for each product by hand in several systems at once. The registers drifted apart, and reconciliation took a lot of working time.

    Solution

    I built a Java and Spring Boot service that takes a REST request, creates settlement instances and product registers on its own and keeps all state in PostgreSQL. The service runs in Docker Compose, so the environment starts with one command at any time. I documented the API in detail, so related systems connect to the service without calls with the developers.

    What was done

    • Wrote a Java and Spring Boot service that creates settlement instances from a REST request
    • Brought the product registers into one PostgreSQL store
    • Documented the API so related systems connect on their own
    • Packaged the environment in Docker Compose to start with one command

    Result

    Setting up a settlement instrument is no longer a manual task, and all registers are kept in one place. Connecting a new consumer system now takes a day instead of a week of agreeing on data formats.

    Developer's note

    Danil Sidorov
    Danil Sidorov Project developer

    What was hard

    The main challenge was making product creation and register creation one operation. A request must pass required-field checks, find register types by product code and select a pool by branch, currency, customer code and priority. If no pool matches, the new product must not remain in the database without registers. The Java service runs this sequence within a transaction.

    The same endpoint supports creating a product and adding agreements to an existing one. Missing required fields and duplicates return 400; a missing product or matching pool returns 404. This gives the integrating system a clear result instead of requiring manual investigation.

    What came easy

    Products, registers, accounts, pools and agreements mapped naturally to Spring Data JPA and relational tables. Separating controllers, services and repositories made it possible to develop the REST contract independently of storage access.

    Docker Compose with PostgreSQL provides a repeatable environment. Service and controller tests use H2, with JaCoCo for coverage reporting. Documented request and response examples help new consumer systems connect without negotiating each field again.

    Technologies

    JavaSpringPostgreSQL

    Tell me about your task

    Telegram