commit 4e753999bac2afc5fae1d18a16c5e1c98c1bbb10 parent a1d562609100d7eab946d9a7b0d75c76896e4d4b Author: Florian Dold <florian.dold@gmail.com> Date: Mon, 11 Dec 2017 17:51:09 +0100 update tipping documentation Diffstat:
| M | api-merchant.rst | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git 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;