diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-11 17:51:09 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-11 17:51:09 +0100 |
commit | 4e753999bac2afc5fae1d18a16c5e1c98c1bbb10 (patch) | |
tree | ec1c9df0f6d652457033cb38e861c327b959d550 | |
parent | a1d562609100d7eab946d9a7b0d75c76896e4d4b (diff) | |
download | docs-4e753999bac2afc5fae1d18a16c5e1c98c1bbb10.tar.gz docs-4e753999bac2afc5fae1d18a16c5e1c98c1bbb10.tar.bz2 docs-4e753999bac2afc5fae1d18a16c5e1c98c1bbb10.zip |
update tipping documentation
-rw-r--r-- | api-merchant.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/api-merchant.rst b/api-merchant.rst index 996bbb32..d57fd010 100644 --- a/api-merchant.rst +++ b/api-merchant.rst @@ -381,12 +381,25 @@ The following API are made available by the merchant's `backend` to the merchant // Justification for giving the tip justification: string; + + // URL that the wallet should pick up the tip from, + // will be included in the tip_token. + pickup_url: string; + + // URL that the user should be directed to after tipping, + // will be included in the tip_token. + next_url: string; } .. _TipCreateConfirmation: .. code-block:: tsref interface TipCreateConfirmation { + // Token that will be handed to the wallet, + // contains all relevant information to accept + // a tip. + tip_token: string; + // Identifier for the tip authorization tip_id: HashCode; |