diff options
author | Sree Harsha Totakura <sreeharsha@totakura.in> | 2015-01-28 15:43:12 +0100 |
---|---|---|
committer | Sree Harsha Totakura <sreeharsha@totakura.in> | 2015-01-28 15:43:12 +0100 |
commit | 4bf98f19402565760461df02b8811caf43443827 (patch) | |
tree | 3ea17fdf5ee3f117e72b68b51e712b2bba36c320 /api-mint.rst | |
parent | 2a52c675897bcf6edfd7cf81daec0d546c2ec324 (diff) | |
download | docs-4bf98f19402565760461df02b8811caf43443827.tar.gz docs-4bf98f19402565760461df02b8811caf43443827.tar.bz2 docs-4bf98f19402565760461df02b8811caf43443827.zip |
Extend API to support refunds
Diffstat (limited to 'api-mint.rst')
-rw-r--r-- | api-mint.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/api-mint.rst b/api-mint.rst index d17fd8d5..9d158a5f 100644 --- a/api-mint.rst +++ b/api-mint.rst @@ -153,6 +153,7 @@ The new coins are linkable from all old coins. In order group multipe coins, the customer generates a refreshing session key. +.. _refresh: .. http:post:: /refresh/melt "Melt" coins, marking it for refreshing. Invalidates the coins. @@ -168,7 +169,12 @@ In order group multipe coins, the customer generates a refreshing session key. :json string coin_pub: Coin public key :json string coin_sig: Signature by the coin over the session public key :json string denom_pub: Denomination public key - :json string denom_sig: Signature over the coin public key by the denomination key + :json string denom_sig: Signature over the coin public key by the denomination + key + :json obj retract_perm (optional): If the coin was claimed as a refund, this + field should contain the retract permission obtained from the merchant, + otherwise it should not be present. For details about the object type, see + :ref:`Merchant API:retract<retract>`. **Success Response** |