From 608d5ce9438df564497f3fd69b267f59cb230975 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 16 Oct 2019 19:21:33 +0530 Subject: pay_url -> merchant_base_url --- core/api-merchant.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'core/api-merchant.rst') 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; -- cgit v1.2.3