From 439c872af48aed41dea1027fd03a28225d3bc59b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 16 May 2022 10:53:42 +0200 Subject: -implement purse_deposit error handling --- src/include/taler_exchange_service.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/include/taler_exchange_service.h') diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index cb4d8352..c615ca7c 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -4493,6 +4493,31 @@ struct TALER_EXCHANGE_PurseDepositResponse struct { + /** + * When does the purse expire. + */ + struct GNUNET_TIME_Timestamp purse_expiration; + + /** + * How much was actually deposited into the purse. + */ + struct TALER_Amount total_deposited; + + /** + * How much should be in the purse in total in the end. + */ + struct TALER_Amount purse_value_after_fees; + + /** + * Hash of the contract (needed to verify signature). + */ + struct TALER_PrivateContractHashP h_contract_terms; + + /** + * Key with the merge capability (needed to verify signature). + */ + struct TALER_PurseMergePublicKeyP merge_pub; + } success; } details; -- cgit v1.2.3