commit 608d5ce9438df564497f3fd69b267f59cb230975
parent ed1f08c4d963770c7b700332be411c4b6a8b6bd3
Author: Florian Dold <florian.dold@gmail.com>
Date: Wed, 16 Oct 2019 19:21:33 +0530
pay_url -> merchant_base_url
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -745,9 +745,6 @@ The contract terms must have the following structure:
// before transfering it to the merchant.
amount: Amount;
- // The URL where the wallet has to send coins.
- pay_url: string;
-
// The URL for this purchase. Every time is is visited, the merchant
// will send back to the customer the same proposal. Clearly, this URL
// can be bookmarked and shared by users.
@@ -787,6 +784,10 @@ The contract terms must have the following structure:
// is typically added by the backend Note that this can be an ephemeral key.
merchant_pub: EddsaPublicKey;
+ // Base URL of the (public!) merchant backend API.
+ // Must be an absolute URL that ends with a slash.
+ merchant_base_url: string;
+
// More info about the merchant, see below
merchant: Merchant;