diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-02-17 17:40:34 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-02-17 17:40:34 +0100 |
commit | 9daf17404255125dbcdf0f37a045cbd671bdbba3 (patch) | |
tree | a382636ffac91851784cca7cd50be0e6819dd766 /api-merchant.rst | |
parent | c85c9893e9c958e22dbb5d80f8d85bc686fc0f29 (diff) | |
download | docs-9daf17404255125dbcdf0f37a045cbd671bdbba3.tar.gz docs-9daf17404255125dbcdf0f37a045cbd671bdbba3.tar.bz2 docs-9daf17404255125dbcdf0f37a045cbd671bdbba3.zip |
document fulfillment URL, remove old mechanism
Diffstat (limited to 'api-merchant.rst')
-rw-r--r-- | api-merchant.rst | 18 |
1 files changed, 9 insertions, 9 deletions
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; |