unconfuse pay and deposit

This commit is contained in:
Christian Grothoff 2023-07-02 16:09:09 +02:00
parent 8d6bce26ad
commit 2d4ebd3fc3
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
8 changed files with 24 additions and 19 deletions

View File

@ -1,8 +1,5 @@
\section{Deposit} \label{sec:deposit} \section{Deposit} \label{sec:deposit}
% FIXME: split up between deposit to merchant
% and deposit to customer's (own) bank account!
\begin{figure}[h!] \begin{figure}[h!]
\begin{sequencediagram} \begin{sequencediagram}
\newinst{wallet}{\shortstack{Customer wallet \\ \newinst{wallet}{\shortstack{Customer wallet \\
@ -16,7 +13,7 @@
\node at (1.5,0) {\shortstack{{{\tiny Database}}}}; \node at (1.5,0) {\shortstack{{{\tiny Database}}}};
\end{tikzpicture} \end{tikzpicture}
}} }}
\newinst[2]{bank}{\shortstack{Customer bank \\ \newinst[2]{bank}{\shortstack{Retail bank \\
\\ \begin{tikzpicture} \\ \begin{tikzpicture}
\node [fill=gray!20,draw=black,thick,align=center] {Checking \\ Accounts}; \node [fill=gray!20,draw=black,thick,align=center] {Checking \\ Accounts};
\end{tikzpicture} \end{tikzpicture}
@ -41,8 +38,10 @@
\mess[0]{exchange}{{Initiate transfer}}{bank} \mess[0]{exchange}{{Initiate transfer}}{bank}
\end{sequencediagram} \end{sequencediagram}
\caption{Deposit interactions between customer, Taler exchange (payment \caption{A customer deposits the coins issued by a Taler exchange (payment
service provider) and customer's bank.} service provider) into a bank account. Even if the
bank account is owned by the same customer, the
KYC checks from Section~\ref{sec:kyc:deposit} apply.}
\label{fig:int:deposit} \label{fig:int:deposit}
\end{figure} \end{figure}

View File

@ -1,4 +1,4 @@
\section{Pay} \section{Pay} \label{sec:pay}
\begin{figure}[h!] \begin{figure}[h!]
\begin{sequencediagram} \begin{sequencediagram}
@ -29,7 +29,7 @@
\mess[0]{merchant}{Commercial offer}{wallet} \mess[0]{merchant}{Commercial offer}{wallet}
\begin{callself}{wallet}{Review offer}{} \begin{callself}{wallet}{Review offer}{}
\end{callself} \end{callself}
\mess[0]{wallet}{Send payment {(Coins)}}{merchant} \mess[0]{wallet}{Pay {(Coins)}}{merchant}
\mess[0]{merchant}{Deposit {(Coins)}}{exchange} \mess[0]{merchant}{Deposit {(Coins)}}{exchange}
\begin{sdblock}{Acceptable account?}{} \begin{sdblock}{Acceptable account?}{}
\mess[0]{exchange}{{Refuse deposit}}{merchant} \mess[0]{exchange}{{Refuse deposit}}{merchant}
@ -45,8 +45,10 @@
\end{sdblock} \end{sdblock}
\mess[0]{exchange}{{Initiate transfer}}{bank} \mess[0]{exchange}{{Initiate transfer}}{bank}
\end{sequencediagram} \end{sequencediagram}
\caption{Deposit interactions between customer, merchant, \caption{Payments from a customer to merchant result in
Taler exchange (payment service provider) and merchant bank.} depositing coins at the Taler exchange (payment service provider)
which then credits the merchant's bank account.
The KYC/AML checks are described in Section~\ref{sec:kyc:deposit}}
\label{fig:int:pay} \label{fig:int:pay}
\end{figure} \end{figure}

View File

@ -43,7 +43,8 @@
\end{sequencediagram} \end{sequencediagram}
\caption{Interactions between wallets and Taler exchange \caption{Interactions between wallets and Taler exchange
in a pull payment.} in a pull payment. KYC/AML checks are described in
Section~\ref{sec:kyc:pull}.}
\label{fig:int:pull} \label{fig:int:pull}
\end{figure} \end{figure}

View File

@ -42,6 +42,7 @@
\end{sequencediagram} \end{sequencediagram}
\caption{Interactions between wallets and Taler exchange \caption{Interactions between wallets and Taler exchange
in a push payment.} in a push payment. KYC/AML checks are described
in Section~\ref{sec:kyc:push}.}
\label{fig:int:push} \label{fig:int:push}
\end{figure} \end{figure}

View File

@ -44,6 +44,6 @@
\end{sequencediagram} \end{sequencediagram}
\caption{Withdraw interactions between customer, Taler exchange (payment \caption{Withdraw interactions between customer, Taler exchange (payment
service provider) and bank. The amount of digital cash distributed is service provider) and bank. The amount of digital cash distributed is
subject to limits per origin account (see Figure~\ref{fig:kyc:withdraw}).} subject to limits per origin account (see Section~\ref{sec:kyc:withdraw}).}
\label{fig:int:withdraw} \label{fig:int:withdraw}
\end{figure} \end{figure}

View File

@ -1,4 +1,4 @@
\section{KYC: Deposit} \section{KYC: Deposit} \label{sec:kyc:deposit}
\begin{figure}[h!] \begin{figure}[h!]
\begin{center} \begin{center}

View File

@ -1,4 +1,4 @@
\section{KYC: Withdraw} \section{KYC: Withdraw} \label{sec:kyc:withdraw}
\begin{figure}[h!] \begin{figure}[h!]
\begin{center} \begin{center}

View File

@ -43,7 +43,7 @@ The main interactions of the system are:
In the analysis of the legal requirements, it is important to differenciate In the analysis of the legal requirements, it is important to differenciate
between transactions between wallets (customer-to-customer) and transactions between transactions between wallets (customer-to-customer) and transactions
where money flows from a wallet into a bank account (customer-to-merchant) as where money flows from a wallet into a bank account (customer-to-merchant) as
these have different limits: When digital coins are deposited at a business in these have different limits: When digital coins are used to pay at a business in
Taler, the business never actually receives usable digital coins but instead Taler, the business never actually receives usable digital coins but instead
the amount is always directly credited to their bank account. Depending on the amount is always directly credited to their bank account. Depending on
the transacted amounts, the business will nevertheless be subject to KYB the transacted amounts, the business will nevertheless be subject to KYB
@ -54,7 +54,7 @@ digital cash. Taler has no accounts (this is digital cash) and thus there is
no ``opening'' or ``closing'' of accounts for consumers. Given digital cash, no ``opening'' or ``closing'' of accounts for consumers. Given digital cash,
the customers can either (1) deposit the funds explicitly into a bank account the customers can either (1) deposit the funds explicitly into a bank account
(see Section~\ref{sec:deposit}), (2) pay a merchant (see (see Section~\ref{sec:deposit}), (2) pay a merchant (see
Section~\ref{sec:deposit}), (3) pay another customer using a peer-to-peer Section~\ref{sec:pay}), (3) pay another customer using a peer-to-peer
transfer (see Sections~\ref{sec:push} and~\ref{sec:pull}), or (4) the coins transfer (see Sections~\ref{sec:push} and~\ref{sec:pull}), or (4) the coins
will expire if the wallet was lost (including offline for a long time or will expire if the wallet was lost (including offline for a long time or
uninstalled). Finally, if a wallet remains (occasionally) online but a user uninstalled). Finally, if a wallet remains (occasionally) online but a user
@ -75,7 +75,7 @@ account and/or Swiss phone number (+41-prefix).
For {\bf merchants}, the Taler equivalent of ``opening'' an account and thus For {\bf merchants}, the Taler equivalent of ``opening'' an account and thus
establishing an ongoing business relationship is for a business to receive establishing an ongoing business relationship is for a business to receive
payments (see Section~\ref{sec:deposit}) exceeding CHF 5'000/month or CHF payments (see Section~\ref{sec:pay}) exceeding CHF 5'000/month or CHF
25'000/year. We will consider the account ``open'' (and require up-to-date KYB 25'000/year. We will consider the account ``open'' (and require up-to-date KYB
information and check sanction lists) as long as the business has made any information and check sanction lists) as long as the business has made any
transactions within the last 24 months. transactions within the last 24 months.
@ -120,7 +120,9 @@ There are five types if interactions that can trigger regulatory processes:
\begin{description} \begin{description}
\item[withdraw] a customer withdraws digital cash from their {\bf bank account} \item[withdraw] a customer withdraws digital cash from their {\bf bank account}
\item[deposit] a merchant's {\bf bank account} is designated to receive a payment in digital cash \item[deposit] a customer or merchant's {\bf bank account} is
designated to receive a payment due someone paying with or
depositing digital cash
\item[push] a {\bf wallet} accepts a payment from another wallet \item[push] a {\bf wallet} accepts a payment from another wallet
\item[pull] a {\bf wallet} requests a payment from another wallet \item[pull] a {\bf wallet} requests a payment from another wallet
% \item[balance] a withdraw or P2P payment causes the balance of a {\bf wallet} to exceed a given threshold % \item[balance] a withdraw or P2P payment causes the balance of a {\bf wallet} to exceed a given threshold