Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: deposit #13

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

feat: deposit #13

wants to merge 6 commits into from

Conversation

hhow09
Copy link
Owner

@hhow09 hhow09 commented Mar 21, 2023

Feature

  • user should be able to deposit money
  • add account type external for double entry bookkeeping
  • when create bank account, corresponding external account of same currency should be created.
  • when deposit
    1. create transfer (from user ext account to user bank account)
    2. user's external account -= amount
    3. user's bank account += amount

TODO

  • connect to message queue to receive deposit event.
  • when user deposit success, should notify user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant