Banking example - Merchant starts contact-less payment
The customer needs to pay the merchant for the goods. The customer decide to pay with an electronic payment method. If it was cash then the diagram would have been easy. There are 3 electronic payment method available, in this case contact-less is chosen. The customer taps his card which is validated correctly and the money is transferred to merchants account as he has enough balance. The merchants sees the payment is correct and gives the goods to the customer who leaves. The diagram becomes more complex if e.g. the customer does not have enough balance and needs to pay differently. This is just one of many (millions) permutations. Use the choices on the right to make different diagrams or even different starting points (e.g. Internet Banking, Merchant or Web-Shop).
The generated MSG-Flow
|Merchant Customer Terminal Secure-Intf Acc-Srv Acc-DB|
|| | | | | ||
| | | | |
--->| | | | |
--| | | | |
| | | | |
------------->| | | |
---| | | |
| | | |
|| | |--sec-authorize|
|| | | |--verify-login|
|| | | | |---get-login-details|
|| | | | |<-----login-details|
|| | | |<-login-response|
|| | |<--sec-auth-valid|
|| | |---sec-transfer|
|| | | |----transfer|
|| | | | |------get-balance|
|| | | | |<-----balance-info|
|| | | | |-upd-checking-balance|
|| | | | |-upd-merchant-balance|
|| | | | |----commit-changes|
|| | | | |<---changes-committed|
|| | | |<---transferred|
|| | |<-sec-transferred|
| | | | |
You can and paste the above flow representation in a text file or in your favourite text editor using a monospace font. Ofcourse you will loose the context sensitive output and the links towards additional information.
The decission table shows which decissions have been made so far and which to make. The header contains the choice number and the entity making the choice. The choices are shown from left (latest) to right (earlier) which make it handier to follow or adapts. All choices you could have choisen on a specific level are displayed. You can click on the description to make a different choice.Merchant-flows : The merchant starts any action.
Additional Generated Information
You can the following url to refer to the graph. Or copy as to have it embeded in usable HTML code.
Be aware that changes/improvements will not be reflected in the graph.
The plain text, which can be used by some editors, is given below. Use it if you want to make edit in you favorite editor. It does not contain links as they are not supported by some editors. You can copy the text and paste it e.g. into WebSequenceDiagrams, SequenceDiagram or SwimLanes. You can also copy it for and paste it into PlantUML.