From ecd05947b2e0e0a89a3a120208f63b7756c27a4c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 1 Jan 2018 22:32:25 +0100 Subject: fix spec to match actual implementation --- api-merchant.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3