Service responsible for transferring money between accounts
Request is made to the orchestration service money-transfer-service
- Records the transaction with PENDING status;
- Get customers informations from account-service;
- Checks if the accounts are active;
- Checks if the transaction between customers is valid(USER TO USER or USER to SHOP KEEPER);
- Calls the Authorization Service XPTO;
- Effective the transaction in account-service;
- Updates transaction with OK status;
- Push the transaction information to the notification-queue;
- notification-service pulls message from the notification-queue an sends to Notification External Service