From 4e753999bac2afc5fae1d18a16c5e1c98c1bbb10 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 11 Dec 2017 17:51:09 +0100 Subject: update tipping documentation --- api-merchant.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; -- cgit v1.2.3