summaryrefslogtreecommitdiff
path: root/api-mint.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-08 21:19:29 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-08 21:19:29 +0200
commit37d403bbe04e49445dc697ecfab23dcdb115fe1d (patch)
treee00c664b8ff1a08984901ee8ae7550e6e41a4aa0 /api-mint.rst
parent95afc65ab01fec2c22e8555af69ba386233c80b2 (diff)
downloaddocs-37d403bbe04e49445dc697ecfab23dcdb115fe1d.tar.gz
docs-37d403bbe04e49445dc697ecfab23dcdb115fe1d.tar.bz2
docs-37d403bbe04e49445dc697ecfab23dcdb115fe1d.zip
document other API return values
Diffstat (limited to 'api-mint.rst')
-rw-r--r--api-mint.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/api-mint.rst b/api-mint.rst
index 1248b395..3f6db4d4 100644
--- a/api-mint.rst
+++ b/api-mint.rst
@@ -346,6 +346,10 @@ However, the new coins are linkable from the private keys of all old coins using
:status 403 Forbidden: The operation is not allowed as (at least) one of the coins has insufficient funds.
:resheader Content-Type: application/json
:>json string error: the value is "insufficient funds"
+ :>json base32 coin_pub: public key of a melted coin that had insufficient funds
+ :>json amount original_value: original (total) value of the coin
+ :>json amount residual_value: remaining value of the coin
+ :>json amount requested_value: amount of the coin's value that was to be melted
:>json array history: the transaction list of the respective coin that failed to have sufficient funds left. The format is the same as for insufficient fund reports during /deposit. Note that only the transaction history for one bogus coin is given, even if multiple coins would have failed the check.
**Failure response: Unknown denomination key**