summaryrefslogtreecommitdiff
path: root/api-merchant.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-12-28 17:00:58 +0100
committerChristian Grothoff <christian@grothoff.org>2017-12-28 17:00:58 +0100
commit191c40491fd1b06de907241dfa51f91155be2654 (patch)
treec3fe2ae3f670ac44e2c6cfb06828785ca2a95662 /api-merchant.rst
parentc1df76913083db2299fbe02b3e1a459ccf6af271 (diff)
downloaddocs-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.rst17
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