diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-10-16 19:21:33 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-10-16 19:21:33 +0530 |
commit | 608d5ce9438df564497f3fd69b267f59cb230975 (patch) | |
tree | 23793cf47bb1f07e6297577c7a8859655f4fa933 | |
parent | ed1f08c4d963770c7b700332be411c4b6a8b6bd3 (diff) | |
download | docs-608d5ce9438df564497f3fd69b267f59cb230975.tar.gz docs-608d5ce9438df564497f3fd69b267f59cb230975.tar.bz2 docs-608d5ce9438df564497f3fd69b267f59cb230975.zip |
pay_url -> merchant_base_url
-rw-r--r-- | core/api-merchant.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 5605476..0bddaf5 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; |