diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-14 18:04:09 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-14 18:04:09 +0200 |
commit | 74ba46db39d3a906e819cd0ed48f1d46dffe9e38 (patch) | |
tree | 53f050bacd2e634dc5e746a257b10be9294afa71 /src/include/taler_exchange_service.h | |
parent | 913eacf506860a73043be09425d1c143b786e871 (diff) | |
download | exchange-74ba46db39d3a906e819cd0ed48f1d46dffe9e38.tar.xz |
-work on new KYC logic: tests pass again
Diffstat (limited to 'src/include/taler_exchange_service.h')
-rw-r--r-- | src/include/taler_exchange_service.h | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index f4b67be9d..7c4a0f769 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -1883,11 +1883,6 @@ struct TALER_EXCHANGE_ReserveStatus */ unsigned int history_len; - /** - * KYC passed? - */ - bool kyc_ok; - } ok; } details; @@ -2138,7 +2133,7 @@ struct TALER_EXCHANGE_WithdrawResponse struct TALER_EXCHANGE_PrivateCoinDetails success; /** - * Details if the status is #MHD_HTTP_ACCEPTED. + * Details if the status is #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS. */ struct { @@ -2147,7 +2142,7 @@ struct TALER_EXCHANGE_WithdrawResponse * to check for its KYC status. */ uint64_t payment_target_uuid; - } accepted; + } unavailable_for_legal_reasons; /** * Details if the status is #MHD_HTTP_CONFLICT. @@ -4875,6 +4870,19 @@ struct TALER_EXCHANGE_AccountMergeResponse } success; + /** + * Details if the status is #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS. + */ + struct + { + /** + * Payment target that the merchant should use + * to check for its KYC status. + */ + uint64_t payment_target_uuid; + } unavailable_for_legal_reasons; + + } details; }; @@ -4970,6 +4978,19 @@ struct TALER_EXCHANGE_PurseCreateMergeResponse { } success; + + /** + * Details if the status is #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS. + */ + struct + { + /** + * Payment target that the merchant should use + * to check for its KYC status. + */ + uint64_t payment_target_uuid; + } unavailable_for_legal_reasons; + } details; }; |