⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’
Excalidraw Data
Text Elements
user device
payment gateway
payment processors
card details
encrypted data
card verified
card verified
checks sufficient balance
issuing banks
card networks
visa/master card
merchants
credit balance in merchant account
verification done
Flows
HLD
client layer
login for users and merchants payment initiate manage account
services layer
verify account balance process payemnt intreact with external payment gateway handle fault tolerance fraud detection
data layers
postgress for transactional data for ACID complience cassandra or mongo for session and log data redis for fast accessed data
service layer
authorise payment
acquring banks
Payment Processors
transaction service
payment service
account service
visa/ masters
banks
verify txn ^YaWucYXV
record txn
concurrency conversion
user service
fraud detection
notification service
account balance and currency handling
client
LB
API gateway
API gateway
API gateway
user service
redis
database
login
return JWT token
login creds
check user cred in redis, if not check in db
store user loggedin session data
JWT will be used for all subsequence request after authentication
initiate payment
payment service
checks balance and locks if balance available
bank
card netwroks