Skip to content

Instantly share code, notes, and snippets.

@borodicht
Created December 21, 2025 15:40
Show Gist options
  • Select an option

  • Save borodicht/da5ee0f959ffc438f9e1bbf8355445d0 to your computer and use it in GitHub Desktop.

Select an option

Save borodicht/da5ee0f959ffc438f9e1bbf8355445d0 to your computer and use it in GitHub Desktop.
ЗАДАЧА
Контекст:
Есть REST API перевода денег между счетами.
Метод: POST/transfers
Параметры:
- sourceAccountId
- targetAccountId
- amount
- currency
Бизнес-правила:
- amount > 0
- amount ≤ 100 000
- source ≠ target
- валюты совпадают
- недостаточно средств → ошибка
Цель:
Выявить негативные сценарии и риски
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment