commit 9daf17404255125dbcdf0f37a045cbd671bdbba3 parent c85c9893e9c958e22dbb5d80f8d85bc686fc0f29 Author: Florian Dold <florian.dold@gmail.com> Date: Wed, 17 Feb 2016 17:40:34 +0100 document fulfillment URL, remove old mechanism Diffstat:
| M | api-merchant.rst | | | 18 | +++++++++--------- |
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git 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;