diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-04-10 10:48:32 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-04-10 10:48:32 +0200 |
commit | 090c532b3adcf404c3b602c899c1e995762e0ace (patch) | |
tree | 8eea418309d44c95fa5450dbc62e878f75c300de /src/include/taler_exchange_service.h | |
parent | 677ac4a5c8570115134cda7537c1580bce15e5c4 (diff) | |
download | exchange-090c532b3adcf404c3b602c899c1e995762e0ace.tar.xz |
return AML status together with KYC status
Diffstat (limited to 'src/include/taler_exchange_service.h')
-rw-r--r-- | src/include/taler_exchange_service.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 2bf71a17e..4099d6bb0 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -3490,8 +3490,16 @@ struct TALER_EXCHANGE_KycStatus */ struct TALER_ExchangeSignatureP exchange_sig; + /** + * AML status for the account. + */ + enum TALER_AmlDecisionState aml_status; + } success; + /** + * KYC is required. + */ struct { @@ -3502,8 +3510,26 @@ struct TALER_EXCHANGE_KycStatus */ const char *kyc_url; + /** + * AML status for the account. + */ + enum TALER_AmlDecisionState aml_status; + } accepted; + /** + * KYC is OK, but account needs positive AML decision. + */ + struct + { + + /** + * AML status for the account. + */ + enum TALER_AmlDecisionState aml_status; + + } unavailable_for_legal_reasons; + } details; }; |