- GET /monitoring/deposit-confirmations#
Get a list of deposit confirmations stored by the auditor.
The following query parameters are optional, and can be used to customise the response:
Request:
- Query Parameters:
limit – A signed integer, indicating how many elements relative to the offset query parameter should be returned. The default value is -20.
offset – An unsigned integer, indicating from which row onward to return elements. The default value is INT_MAX.
return_suppressed – A boolean. If true, returns all eligible rows, otherwise only returns eligible rows that are not suppressed. The default value is false.
With the default settings, the endpoint returns at most the 20 latest elements that are not suppressed.
Response:
- 200 OK:
The auditor responds with a top level array of DepositConfirmations objects.
Details:
interface DepositConfirmations { // Row id in the exchange database deposit_confirmation_serial_id : Integer; // Hash over the contract for which this deposit is made. h_contract_terms : HashCode; // Hash over the policy concerning this deposit h_policy : HashCode; // Hash over the wiring information of the merchant. h_wire : HashCode; // Time when the deposit confirmation confirmation was generated. exchange_timestamp : Timestamp; // How much time does the merchant have to issue a refund // request? Zero if refunds are not allowed. refund_deadline : Timestamp; // By what time does the exchange have to wire the funds? wire_deadline : Timestamp; // Amount to be deposited, excluding fee. Calculated from the // amount with fee and the fee from the deposit request. total_without_fee : Amount; // Array of public keys of the deposited coins. coin_pubs : EddsaPublicKey[]; // Array of deposit signatures of the deposited coins. // Must have the same length as coin_pubs. coin_sigs : EddsaSignature[]; // The Merchant's public key. Allows the merchant to later refund // the transaction or to inquire about the wire transfer identifier. merchant_pub : EddsaPublicKey; // Signature from the exchange of type // TALER_SIGNATURE_EXCHANGE_CONFIRM_DEPOSIT. exchange_sig : EddsaSignature; // Public signing key from the exchange matching exchange_sig. exchange_pub : EddsaPublicKey; // Exchange master signature over exchange_sig. master_sig : EddsaSignature; // True if this diagnostic was suppressed. suppressed : boolean; }
Note
This endpoint is still experimental. The endpoint will be further developed as needed.