exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

test_kyc_api.conf (2197B)


      1 # This file is in the public domain.
      2 #
      3 @INLINE@ coins-rsa.conf
      4 @INLINE@ test_exchange_api.conf
      5 
      6 
      7 # This rule requests that the users passes KYC
      8 # when withdrawing funds.
      9 [kyc-rule-withdraw]
     10 ENABLED = YES
     11 # This is a public rule.
     12 EXPOSED = YES
     13 # All checks listed must be done (well, there is only one...)
     14 IS_AND_COMBINATOR = YES
     15 # This happens if we withdraw digital cash.
     16 OPERATION_TYPE = WITHDRAW
     17 # Threshold is 10.
     18 THRESHOLD = EUR:10
     19 TIMEFRAME = 1d
     20 # If the rule is triggered, ask the user to provide
     21 # personal data via OAuth2
     22 NEXT_MEASURES = run-oauth
     23 
     24 
     25 # This rule requests that the users passes KYC
     26 # when depositing digital cash.
     27 [kyc-rule-deposit]
     28 ENABLED = YES
     29 # This is a public rule.
     30 EXPOSED = YES
     31 # All checks listed must be done (well, there is only one...)
     32 IS_AND_COMBINATOR = YES
     33 # This happens if we aggregate digital cash for a wire transfer to a merchant.
     34 OPERATION_TYPE = AGGREGATE
     35 # Threshold is 0, so any amount.
     36 THRESHOLD = EUR:0
     37 # Timeframe doesn't exactly matter with a threshold of EUR:0.
     38 TIMEFRAME = 1d
     39 # If the rule is triggered, ask the user to provide
     40 # personal data via OAuth2
     41 NEXT_MEASURES = run-oauth
     42 
     43 
     44 # This rule requests that the users passes KYC
     45 # when receiving p2p payments.
     46 [kyc-rule-merge]
     47 ENABLED = YES
     48 # This is a public rule.
     49 EXPOSED = YES
     50 # All checks listed must be done (well, there is only one...)
     51 IS_AND_COMBINATOR = YES
     52 # This happens if when a purse is merged.
     53 OPERATION_TYPE = MERGE
     54 # Threshold is 0, so any amount.
     55 THRESHOLD = EUR:0
     56 # Timeframe doesn't exactly matter with a threshold of EUR:0.
     57 TIMEFRAME = 1d
     58 # If the rule is triggered, ask the user to provide
     59 # personal data via OAuth2
     60 NEXT_MEASURES = run-oauth
     61 
     62 
     63 
     64 # This rule requests that the users passes KYC
     65 # when the wallet balance is too high.
     66 [kyc-rule-balance]
     67 ENABLED = YES
     68 # This is a public rule.
     69 EXPOSED = YES
     70 # All checks listed must be done (well, there is only one...)
     71 IS_AND_COMBINATOR = YES
     72 # This happens if a wallet balance gets too high.
     73 OPERATION_TYPE = BALANCE
     74 # Threshold is 8.
     75 THRESHOLD = EUR:8
     76 # Timeframe doesn't exactly matter for BALANCE...
     77 TIMEFRAME = 1d
     78 # If the rule is triggered, ask the user to provide
     79 # personal data via OAuth2
     80 NEXT_MEASURES = run-oauth