commit 5b78e71a292aec08598648c241d42fd8d6d6a2dc parent 239b35320fb467bfb47d232d3202320c2124a8cb Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 17 Jan 2016 17:20:18 +0100 update spec for /wire/deposits Diffstat:
| M | api-mint.rst | | | 13 | +++++-------- |
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/api-mint.rst b/api-mint.rst @@ -541,16 +541,13 @@ typically also view the balance.) :>json base32 merchant_pub: public key of the merchant (identical for all deposits) :>json object deposits: JSON array with **deposit details**. - Objects in the deposit array have the following format: + Objects in the `deposits` array have the following format: - :>jsonarr object f: the amount_ of the original deposit amount + :>jsonarr object deposit_value: the total amount_ the original deposit was worth :>jsonarr object deposit_fee: applicable fees for the deposit - :>json base32 H_contract: SHA-512 hash of the contact of the merchant with the customer. Further details are never disclosed to the mint. - :>json base32 coin_pub: coin's public key, both ECDHE and EdDSA. - :>json date timestamp: timestamp when the contract was finalized, must match approximately the current time of the mint - :>json int transaction_id: 64-bit transaction id for the transaction between merchant and customer - :>json date refund_deadline: date until which the merchant can issue a refund to the customer via the mint, possibly zero if refunds are not allowed. - :>json base32 coin_sig: the EdDSA signature_ (binary-only) made with purpose `TALER_SIGNATURE_WALLET_COIN_DEPOSIT` made by the customer with the coin's private key. + :>jsonarr base32 H_contract: SHA-512 hash of the contact of the merchant with the customer. + :>jsonarr int transaction_id: 64-bit transaction id for the transaction between merchant and customer + :>jsonarr base32 coin_pub: coin's public key, both ECDHE and EdDSA. **Error Response: Unknown wire transfer identifier**