commit 5a40f637fed3ed087e7d723bd04ed766e3b651e7
parent 8302beb9ef13811287e16aa27109821b6f660ce0
Author: Florian Dold <florian.dold@gmail.com>
Date: Fri, 7 Aug 2020 00:17:21 +0530
mechant docs
Diffstat:
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -1294,6 +1294,10 @@ Payment processing
// The refund details for this order. One entry per
// refunded coin; empty array if there are no refunds.
refund_details: RefundDetails[];
+
+ // Status URL, can be used as a redirect target for the browser
+ // to show the order QR code / trigger the wallet.
+ order_status_url: string;
}
.. ts:def:: CheckPaymentUnpaidResponse
@@ -1308,6 +1312,10 @@ Payment processing
// Only given if the same product was purchased before in the same session.
already_paid_order_id?: string;
+ // Status URL, can be used as a redirect target for the browser
+ // to show the order QR code / trigger the wallet.
+ order_status_url: string;
+
// We do we NOT return the contract terms here because they may not
// exist in case the wallet did not yet claim them.
}
@@ -2094,9 +2102,12 @@ Giving Customer Tips
// Unique tip identifier for the tip that was created.
tip_id: HashCode;
+ // taler://tip URI for the tip
+ taler_tip_uri: string;
+
// URL that will directly trigger processing
// the tip when the browser is redirected to it
- tip_redirect_url: string;
+ tip_status_url: string;
// when does the tip expire
tip_expiration: Timestamp;