diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-11-30 11:21:54 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-11-30 11:22:03 +0100 |
commit | 95077e83925e9e5696501e3bb47ee9efb1fa1214 (patch) | |
tree | dc72b15ff3eb7de33401463c2195d0ffc2d327a1 | |
parent | bde9651397946b143e31eb8e0c2613cc7e0705f3 (diff) | |
download | docs-95077e83925e9e5696501e3bb47ee9efb1fa1214.tar.gz docs-95077e83925e9e5696501e3bb47ee9efb1fa1214.tar.bz2 docs-95077e83925e9e5696501e3bb47ee9efb1fa1214.zip |
properly document TALER_SIGNATURE_MERCHANT_REFUND_OK
-rw-r--r-- | api-common.rst | 11 | ||||
-rw-r--r-- | api-merchant.rst | 8 |
2 files changed, 14 insertions, 5 deletions
diff --git a/api-common.rst b/api-common.rst index b9acd5cc..1526d7ef 100644 --- a/api-common.rst +++ b/api-common.rst @@ -724,6 +724,17 @@ within the struct TALER_AmountNBO refund_fee; }; + struct TALER_MerchantRefundConfirmationPS { + /** + * purpose.purpose = TALER_SIGNATURE_MERCHANT_REFUND_OK + */ + struct GNUNET_CRYPTO_EccSignaturePurpose purpose; + /** + * Hash of the order ID (a string), hashed without the 0-termination. + */ + struct GNUNET_HashCode h_order_id; + }; + .. _TALER_PaybackRequestPS: .. sourcecode:: c diff --git a/api-merchant.rst b/api-merchant.rst index be3767ac..996bbb32 100644 --- a/api-merchant.rst +++ b/api-merchant.rst @@ -277,10 +277,8 @@ The following API are made available by the merchant's `backend` to the merchant .. code-block:: tsref interface RefundConfirmation { - // Merchant signature over the hashed order id. Note - // that the purpose is set to zero. However, this value - // is not meant to be soon verified by the frontend, but - // could be showed in court. + // Merchant signature over the hashed order id. + // The purpose is `TALER_SIGNATURE_MERCHANT_REFUND_OK`. sig: EddsaSignature } @@ -367,7 +365,7 @@ The following API are made available by the merchant's `backend` to the merchant :status 200 OK: A tip has been created. The backend responds with a `TipCreateConfirmation`_ :status 404 Not Found: - The instance is unknown to the backend, expired or was never enabled. + The instance is unknown to the backend, expired or was never enabled. :status 412 Precondition Failed: The tip amount requested exceeds the available reserve balance for tipping. |