diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-04-03 22:51:04 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-04-03 22:51:04 +0200 |
commit | 9fea9257d68d8a535f031e1223139aa273696e64 (patch) | |
tree | 6360f622dc2c8effd0533479a1ea3bf28d6a638d /api | |
parent | fad86d780a33e8712cc76e542b955b2316e2e2e7 (diff) | |
download | docs-9fea9257d68d8a535f031e1223139aa273696e64.tar.gz docs-9fea9257d68d8a535f031e1223139aa273696e64.tar.bz2 docs-9fea9257d68d8a535f031e1223139aa273696e64.zip |
note on #4980
Diffstat (limited to 'api')
-rw-r--r-- | api/api-exchange.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/api/api-exchange.rst b/api/api-exchange.rst index 4c5dde87..794d2e94 100644 --- a/api/api-exchange.rst +++ b/api/api-exchange.rst @@ -411,10 +411,11 @@ exchange. // Transfer details uniquely identifying the transfer, only present if type is "DEPOSIT". transfer_details?: any; - // `base32`_ encoding of a purpose, not present for "DEPOSIT" or "PAYBACK". + // `base32`_ encoding of a purpose, not present for "DEPOSIT" // If `type` is "WITHDRAW", this is a `TALER_WithdrawRequestPS`_ with purpose TALER_SIGNATURE_WALLET_RESERVE_WITHDRAW. // If `type` is "CLOSING", this is a `struct TALER_ReserveCloseConfirmationPS` with purpose TALER_SIGNATURE_EXCHANGE_RESERVE_CLOSED. - details?: string; + // If `type` is "PAYBACK", this is a `struct TALER_PaybackConfirmationPS` with purpose TALER_SIGNATURE_EXCHANGE_CONFIRM_PAYBACK. + details?: SignaturePurpose; // See #4980 // Signature of `TALER_WithdrawRequestPS`_ created with the `reserves's private key <reserve-priv>`_. Only present if type is "WITHDRAW". signature?: EddsaSignature; @@ -662,7 +663,7 @@ denomination. // `base32`_ binary encoding of the transaction data as a // `TALER_DepositRequestPS`_, `TALER_RefreshMeltCoinAffirmationPS`_, // `TALER_RefundRequestPS`_ or `TALER_PaybackConfirmationPS`_. - details: string; + details: SignaturePurpose; // See #4980 // `EdDSA Signature <eddsa-sig>`_ of what we got in `details`. // Note that in the case of a 'refund', the signature is made with |