diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-12-28 17:00:58 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-12-28 17:00:58 +0100 |
commit | 191c40491fd1b06de907241dfa51f91155be2654 (patch) | |
tree | c3fe2ae3f670ac44e2c6cfb06828785ca2a95662 /api-merchant.rst | |
parent | c1df76913083db2299fbe02b3e1a459ccf6af271 (diff) | |
download | docs-191c40491fd1b06de907241dfa51f91155be2654.tar.gz docs-191c40491fd1b06de907241dfa51f91155be2654.tar.bz2 docs-191c40491fd1b06de907241dfa51f91155be2654.zip |
update /pay abort specification
Diffstat (limited to 'api-merchant.rst')
-rw-r--r-- | api-merchant.rst | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/api-merchant.rst b/api-merchant.rst index ee71bc35..83bc74c0 100644 --- 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 |