gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: Spec TAN channel.


From: gnunet
Subject: [taler-docs] branch master updated: Spec TAN channel.
Date: Fri, 09 Dec 2022 12:15:59 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 8fcdc23  Spec TAN channel.
8fcdc23 is described below

commit 8fcdc23ae1d1badfa47a5684f835f9bf29de3c27
Author: MS <ms@taler.net>
AuthorDate: Fri Dec 9 12:15:34 2022 +0100

    Spec TAN channel.
---
 libeufin/api-sandbox.rst | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/libeufin/api-sandbox.rst b/libeufin/api-sandbox.rst
index 0e20f94..cad0f45 100644
--- a/libeufin/api-sandbox.rst
+++ b/libeufin/api-sandbox.rst
@@ -182,16 +182,27 @@ The following endpoints are served under 
``/demobanks/default/customer-api``.
    from the authentication credentials.  The bank sends a TAN
    to the customer, to let them confirm the operation.
 
-   ..
-     FIXME: TAN first per e-mail, or phone?
-
    **Request:**
 
+   .. ts:def:: TanChannel
+
+     enum TanChannel {
+       SMS = "sms",
+       EMAIL = "email"
+     }
+
    .. ts:def:: CashoutRequest
 
      interface CashoutRequest {
+
        // Amount in the $currency:$value format.
        amount: string; 
+
+       // Which channel the TAN should be sent to.  If
+       // this field is missing, it defaults to SMS, to
+       // prefer a different channel than the internet
+       // and let all the phones to receive it.
+       tanChannel?: TanChannel;
      }
 
    **Response:**

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]