From 9daf17404255125dbcdf0f37a045cbd671bdbba3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 17 Feb 2016 17:40:34 +0100 Subject: document fulfillment URL, remove old mechanism --- api-merchant.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'api-merchant.rst') diff --git a/api-merchant.rst b/api-merchant.rst index 46c9cee1..2dd9695f 100644 --- a/api-merchant.rst +++ b/api-merchant.rst @@ -48,15 +48,6 @@ that is legally non-binding: // Signature over the contract made by the merchant. // Must confirm to the `Signature specification`_ below. sig: EddsaSignature; - - // URL where the customer's wallet - // must send the payment for the contract. - // May be relative to the URL of the page that - // delivered the contract. - pay_url: string; - - // URL to the `execution page`_. - exec_url: string; } The contract must have the following structure: @@ -76,6 +67,15 @@ The contract must have the following structure: // product instance. repurchase_correlation_id?: string; + // URL that the wallet will navigate to after the customer + // confirmed purchasing the contract. Responsible for + // doing the actual payment and making available the product (if digital) + // or displaying a confirmation. + // The placeholder ${H_contract} will be replaced + // with the contract hash by wallets before navigating + // to the fulfillment URL. + fulfillment_url: string; + // Maximum total deposit fee accepted by the merchant for this contract max_fee: Amount; -- cgit v1.2.3