taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 191c40491fd1b06de907241dfa51f91155be2654
parent c1df76913083db2299fbe02b3e1a459ccf6af271
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 28 Dec 2017 17:00:58 +0100

update /pay abort specification

Diffstat:
Mapi-merchant.rst | 17++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/api-merchant.rst b/api-merchant.rst @@ -256,8 +256,23 @@ The following API are made available by the merchant's `backend` to the merchant interface PaymentRefundResponse { // array of refunds, in the order of the coins that // were given originally. - refunds: RefundConfirmation[]; + refunds: RefundDetail[]; + + // public key of the merchant used to sign the refund + // details. + merchant_pub: MerchantPublicKeyP; } + + + interface RefundDetail { + // Merchant signature over the hashed order id. + // The purpose is `TALER_SIGNATURE_MERCHANT_REFUND_OK`. + sig: EddsaSignature; + + // refund transaction ID chosen by the merchant. + rtransaction_id: uint64_t; + } + .. http:post:: /refund