diff options
author | MS <ms@taler.net> | 2022-12-09 12:15:34 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2022-12-09 12:15:34 +0100 |
commit | 8fcdc23ae1d1badfa47a5684f835f9bf29de3c27 (patch) | |
tree | 0f20a7b0e186378cf479bd728093fc848fc18c1c /libeufin | |
parent | 2037e8a797fa7f6fed06a3289696754dcd18059f (diff) | |
download | docs-8fcdc23ae1d1badfa47a5684f835f9bf29de3c27.tar.gz docs-8fcdc23ae1d1badfa47a5684f835f9bf29de3c27.tar.bz2 docs-8fcdc23ae1d1badfa47a5684f835f9bf29de3c27.zip |
Spec TAN channel.
Diffstat (limited to 'libeufin')
-rw-r--r-- | libeufin/api-sandbox.rst | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/libeufin/api-sandbox.rst b/libeufin/api-sandbox.rst index 0e20f946..cad0f456 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:** |