diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-26 16:39:45 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-26 16:39:45 +0200 |
commit | a42d85021d88d36a1bcea6ecb596ff392656836d (patch) | |
tree | f2267e5d4a985ed6bc1eb90a85bb63c8af4cb82a /api-exchange.rst | |
parent | e3fd0565cef4fb9c542d824e0f39d7d0bb6f5dcf (diff) | |
download | docs-a42d85021d88d36a1bcea6ecb596ff392656836d.tar.gz docs-a42d85021d88d36a1bcea6ecb596ff392656836d.tar.bz2 docs-a42d85021d88d36a1bcea6ecb596ff392656836d.zip |
fix #4533 for exchange (breaks interaction with bank for /admin/add/incoming)
Diffstat (limited to 'api-exchange.rst')
-rw-r--r-- | api-exchange.rst | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/api-exchange.rst b/api-exchange.rst index d9dc14aa..80ad0a76 100644 --- a/api-exchange.rst +++ b/api-exchange.rst @@ -343,8 +343,11 @@ exchange. // The amount that was withdrawn or deposited. amount: Amount; - // Wiring details, only present if type is "DEPOSIT". - wire?: any; + // Sender account details, only present if type is "DEPOSIT". + sender_account_details?: any; + + // Transfer details uniquely identifying the transfer, only present if type is "DEPOSIT". + transfer_details?: any; // binary encoding of the transaction data as a `TALER_WithdrawRequestPS` // struct described in :ref:`Signatures`, only present if the `type` was @@ -1261,17 +1264,22 @@ Administrative API: Bank transactions // When was the transaction executed execution_date: Timestamp; - // Client's wire details, so that the exchange knows from whom money comes from. - // In order to create a reserve on any exchange, an equivalent - // amount of money must be wire transferred from the client's to the exchange's - // bank account. - // The wire details given here should include some unique identifier + // Sender's wire account details, so that the exchange knows from whom the + // money comes from (and can possibly refund it). The details + // given here must be in a wire format supported by the exchange. + sender_account_details: any; + + // The wire details given here should include an unique identifier // for each transaction. The exchange will check that the details // given are unique, and if the wire details are identical to previous // wire details will treat the request as a duplicate and not actually // do any update. This is true even if the amount or execution date // differs. - wire: any; + // + // Note that the exchange does not interpret these details in any + // way, other than for "being unique". They are stored for diagnostics + // and auditing. + transfer_details: any; } **Response:** |