aboutsummaryrefslogtreecommitdiff
path: root/articles/pml
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-03-21 16:41:40 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-03-21 16:41:40 +0100
commit339c59ba118915cbe05b51b7e0909b45ea160ce1 (patch)
tree6beaf22d29a4803c3a926bfd65528e1abfed51b7 /articles/pml
parent6f3407606e076fd556e756fb2d505e4e58eb885e (diff)
moving here wallet papers forlder
Diffstat (limited to 'articles/pml')
-rw-r--r--articles/pml/taler-pay.pml45
-rw-r--r--articles/pml/taler-withdraw.pml33
2 files changed, 78 insertions, 0 deletions
diff --git a/articles/pml/taler-pay.pml b/articles/pml/taler-pay.pml
new file mode 100644
index 000000000..9efd779ae
--- /dev/null
+++ b/articles/pml/taler-pay.pml
@@ -0,0 +1,45 @@
+@startuml
+!includeurl https://raw.githubusercontent.com/w3c/webpayments/gh-pages/PaymentFlows/skin.ipml
+
+Actor "Payer (Shopper) Browser" as Payer
+Participant "Payee (Merchant) Site" as Payee
+Participant "Taler Exchange" as Exchange
+
+note over Payer, Payee: Tor/HTTPS
+note over Payee, Exchange: HTTP/HTTPS
+
+title Taler (Payment)
+
+== Establish Payment Obligation ==
+
+opt
+Payer->Payer: Select Taler payment method (skippable with auto-detection)
+end
+
+Payer->Payee: Choose goods
+
+Payee->Payer: Send signed digital contract proposal
+
+== Execute Payment ==
+
+opt
+Payer->Payer: Affirm contract
+end
+
+Payer->Payee: Send payment
+
+Payee->Exchange: Forward payment
+
+Exchange->Payee: Confirm payment
+
+== Fulfilment ==
+
+Payee->Payer: Confirm payment
+
+opt
+Payer->Payee: Request fulfillment (if Web article)
+
+Payee->Payer: Provide media product
+end
+
+@enduml
diff --git a/articles/pml/taler-withdraw.pml b/articles/pml/taler-withdraw.pml
new file mode 100644
index 000000000..fa0640660
--- /dev/null
+++ b/articles/pml/taler-withdraw.pml
@@ -0,0 +1,33 @@
+@startuml
+!includeurl https://raw.githubusercontent.com/w3c/webpayments/gh-pages/PaymentFlows/skin.ipml
+
+Actor "Customer Browser" as Customer
+Participant "Bank Site" as Bank
+Participant "Taler Exchange" as Exchange
+
+note over Customer, Bank: HTTPS
+note over Customer, Exchange: HTTPS
+note over Bank, Exchange: SEPA
+
+title Taler (Withdraw coins)
+
+Customer->Bank: user authentication
+Bank->Customer: send account portal
+
+Customer->Customer: initiate withdrawal (specify amount and exchange)
+
+Customer->Exchange: request key material and wire transfer data
+Exchange->Customer: send key material and wire transfer data
+
+Customer->Bank: execute withdrawal
+
+opt
+Bank->Customer: request transaction authorization
+Customer->Bank: transaction authorization
+end
+
+Bank->Customer: withdrawal confirmation
+Bank->Exchange: execute wire transfer
+
+
+@enduml