transfer-app

Service responsible for transferring money between accounts

Architecture

architecture

Sequence

Request is made to the orchestration service money-transfer-service

  1. Records the transaction with PENDING status;
  2. Get customers informations from account-service;
  3. Checks if the accounts are active;
  4. Checks if the transaction between customers is valid(USER TO USER or USER to SHOP KEEPER);
  5. Calls the Authorization Service XPTO;
  6. Effective the transaction in account-service;
  7. Updates transaction with OK status;
  8. Push the transaction information to the notification-queue;
  9. notification-service pulls message from the notification-queue an sends to Notification External Service

Aplication Design

architecture