diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-01-01 22:32:25 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-01-04 12:06:42 +0100 |
commit | ecd05947b2e0e0a89a3a120208f63b7756c27a4c (patch) | |
tree | 144fa4b97ab0a0a931e5b0bac2b902046c7b3829 | |
parent | 53ebcdc601582609da0064c110c83856ce25e629 (diff) | |
download | docs-ecd05947b2e0e0a89a3a120208f63b7756c27a4c.tar.gz docs-ecd05947b2e0e0a89a3a120208f63b7756c27a4c.tar.bz2 docs-ecd05947b2e0e0a89a3a120208f63b7756c27a4c.zip |
fix spec to match actual implementation
-rw-r--r-- | api-merchant.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/api-merchant.rst b/api-merchant.rst index 2a1fafc9..7c70fd40 100644 --- a/api-merchant.rst +++ b/api-merchant.rst @@ -220,6 +220,8 @@ The following API are made available by the merchant's `backend` to the merchant :status 412 Precondition Failed: The given exchange is not acceptable for this merchant, as it is not in the list of accepted exchanges and not audited by an approved auditor. + :status 401 Unauthorized: + One of the coin signatures was not valid. :status 403 Forbidden: The exchange rejected the payment because a coin was already spent before. The response will include the `coin_pub` for which the payment failed, @@ -267,7 +269,7 @@ The following API are made available by the merchant's `backend` to the merchant interface RefundDetail { // Merchant signature over the hashed order id. // The purpose is `TALER_SIGNATURE_MERCHANT_REFUND_OK`. - sig: EddsaSignature; + merchant_sig: EddsaSignature; // refund transaction ID chosen by the merchant. rtransaction_id: uint64_t; |