summaryrefslogtreecommitdiff
path: root/src/include/taler_exchange_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-09-27 15:21:51 +0200
committerChristian Grothoff <christian@grothoff.org>2022-09-27 15:21:51 +0200
commit0de4db77551458ad338bda8a76ec2c70484550f8 (patch)
treeb73c3a4148e7ab51cd0eddb630179a332fe38c0a /src/include/taler_exchange_service.h
parent7d8c49b3c74865331fb9d269a9efdb9ba0f52eab (diff)
downloadexchange-0de4db77551458ad338bda8a76ec2c70484550f8.tar.gz
exchange-0de4db77551458ad338bda8a76ec2c70484550f8.tar.bz2
exchange-0de4db77551458ad338bda8a76ec2c70484550f8.zip
implement libtalerexchange:reserve_close API
Diffstat (limited to 'src/include/taler_exchange_service.h')
-rw-r--r--src/include/taler_exchange_service.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index d59fcaef1..7949dbbf4 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -5538,8 +5538,31 @@ struct TALER_EXCHANGE_ReserveCloseResult
struct
{
+ /**
+ * Amount wired to the target account.
+ */
+ struct TALER_Amount wire_amount;
} ok;
+ /**
+ * Information returned if KYC is required to proceed, set if
+ * @e hr.http_status is #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS.
+ */
+ struct
+ {
+ /**
+ * Requirement row that the merchant should use
+ * to check for its KYC status.
+ */
+ uint64_t requirement_row;
+
+ /**
+ * Hash of the payto-URI of the account to KYC;
+ */
+ struct TALER_PaytoHashP h_payto;
+
+ } unavailable_for_legal_reasons;
+
} details;
};