summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-10-16 19:21:33 +0530
committerFlorian Dold <florian.dold@gmail.com>2019-10-16 19:21:33 +0530
commit608d5ce9438df564497f3fd69b267f59cb230975 (patch)
tree23793cf47bb1f07e6297577c7a8859655f4fa933 /core/api-merchant.rst
parented1f08c4d963770c7b700332be411c4b6a8b6bd3 (diff)
downloaddocs-608d5ce9438df564497f3fd69b267f59cb230975.tar.gz
docs-608d5ce9438df564497f3fd69b267f59cb230975.tar.bz2
docs-608d5ce9438df564497f3fd69b267f59cb230975.zip
pay_url -> merchant_base_url
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 56054761..0bddaf5c 100644
--- 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;