mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
268 lines
11 KiB
TOML
268 lines
11 KiB
TOML
[log.file]
|
|
enabled = false
|
|
|
|
[log.console]
|
|
enabled = true
|
|
level = "DEBUG"
|
|
log_format = "default"
|
|
|
|
[log.telemetry]
|
|
traces_enabled = false
|
|
metrics_enabled = false
|
|
use_xray_generator = false
|
|
|
|
# TODO: Update database credentials before running application
|
|
[master_database]
|
|
username = "db_user"
|
|
password = "db_pass"
|
|
host = "localhost"
|
|
port = 5432
|
|
dbname = "hyperswitch_db"
|
|
pool_size = 5
|
|
connection_timeout = 10
|
|
|
|
[replica_database]
|
|
username = "replica_user"
|
|
password = "replica_pass"
|
|
host = "localhost"
|
|
port = 5432
|
|
dbname = "hyperswitch_db"
|
|
pool_size = 5
|
|
connection_timeout = 10
|
|
|
|
[secrets]
|
|
admin_api_key = "test_admin"
|
|
master_enc_key = "73ad7bbbbc640c845a150f67d058b279849370cd2c1f3c67c4dd6c869213e13a"
|
|
|
|
[locker]
|
|
host = ""
|
|
mock_locker = true
|
|
basilisk_host = ""
|
|
locker_setup = "legacy_locker"
|
|
|
|
[jwekey]
|
|
locker_key_identifier1 = ""
|
|
locker_key_identifier2 = ""
|
|
locker_encryption_key1 = ""
|
|
locker_encryption_key2 = ""
|
|
locker_decryption_key1 = ""
|
|
locker_decryption_key2 = ""
|
|
vault_encryption_key = ""
|
|
vault_private_key = ""
|
|
tunnel_private_key = ""
|
|
|
|
[connectors.supported]
|
|
wallets = ["klarna", "braintree", "applepay"]
|
|
cards = [
|
|
"aci",
|
|
"adyen",
|
|
"airwallex",
|
|
"authorizedotnet",
|
|
"bambora",
|
|
"bitpay",
|
|
"bluesnap",
|
|
"braintree",
|
|
"checkout",
|
|
"coinbase",
|
|
"cybersource",
|
|
"dlocal",
|
|
"dummyconnector",
|
|
"fiserv",
|
|
"forte",
|
|
"globalpay",
|
|
"iatapay",
|
|
"mollie",
|
|
"multisafepay",
|
|
"nexinets",
|
|
"nmi",
|
|
"noon",
|
|
"nuvei",
|
|
"opennode",
|
|
"payeezy",
|
|
"paypal",
|
|
"payu",
|
|
"shift4",
|
|
"stripe",
|
|
"trustpay",
|
|
"worldline",
|
|
"worldpay",
|
|
"zen",
|
|
]
|
|
|
|
[refund]
|
|
max_attempts = 10
|
|
max_age = 365
|
|
|
|
[webhooks]
|
|
outgoing_enabled = true
|
|
|
|
[eph_key]
|
|
validity = 1
|
|
|
|
[api_keys]
|
|
hash_key = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
|
|
|
|
[connectors]
|
|
aci.base_url = "https://eu-test.oppwa.com/"
|
|
adyen.base_url = "https://checkout-test.adyen.com/"
|
|
airwallex.base_url = "https://api-demo.airwallex.com/"
|
|
applepay.base_url = "https://apple-pay-gateway.apple.com/"
|
|
authorizedotnet.base_url = "https://apitest.authorize.net/xml/v1/request.api"
|
|
bambora.base_url = "https://api.na.bambora.com"
|
|
bitpay.base_url = "https://test.bitpay.com"
|
|
bluesnap.base_url = "https://sandbox.bluesnap.com/"
|
|
braintree.base_url = "https://api.sandbox.braintreegateway.com/"
|
|
checkout.base_url = "https://api.sandbox.checkout.com/"
|
|
coinbase.base_url = "https://api.commerce.coinbase.com"
|
|
cybersource.base_url = "https://apitest.cybersource.com/"
|
|
dlocal.base_url = "https://sandbox.dlocal.com/"
|
|
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
|
|
fiserv.base_url = "https://cert.api.fiservapps.com/"
|
|
forte.base_url = "https://sandbox.forte.net/api/v3"
|
|
globalpay.base_url = "https://apis.sandbox.globalpay.com/ucp/"
|
|
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
|
|
klarna.base_url = "https://api-na.playground.klarna.com/"
|
|
mollie.base_url = "https://api.mollie.com/v2/"
|
|
multisafepay.base_url = "https://testapi.multisafepay.com/"
|
|
nexinets.base_url = "https://apitest.payengine.de/v1"
|
|
nmi.base_url = "https://secure.nmi.com/"
|
|
noon.base_url = "https://api-test.noonpayments.com/"
|
|
nuvei.base_url = "https://ppp-test.nuvei.com/"
|
|
opennode.base_url = "https://dev-api.opennode.com"
|
|
payeezy.base_url = "https://api-cert.payeezy.com/"
|
|
paypal.base_url = "https://www.sandbox.paypal.com/"
|
|
payu.base_url = "https://secure.snd.payu.com/"
|
|
rapyd.base_url = "https://sandboxapi.rapyd.net"
|
|
shift4.base_url = "https://api.shift4.com/"
|
|
stripe.base_url = "https://api.stripe.com/"
|
|
stripe.base_url_file_upload = "https://files.stripe.com/"
|
|
worldline.base_url = "https://eu.sandbox.api-ingenico.com/"
|
|
worldpay.base_url = "https://try.access.worldpay.com/"
|
|
trustpay.base_url = "https://test-tpgw.trustpay.eu/"
|
|
trustpay.base_url_bank_redirects = "https://aapi.trustpay.eu/"
|
|
zen.base_url = "https://api.zen-test.com/"
|
|
zen.secondary_base_url = "https://secure.zen.com/"
|
|
|
|
[scheduler]
|
|
stream = "SCHEDULER_STREAM"
|
|
|
|
[scheduler.consumer]
|
|
disabled = false
|
|
consumer_group = "SCHEDULER_GROUP"
|
|
|
|
[email]
|
|
from_email = "notify@example.com"
|
|
aws_region = ""
|
|
base_url = ""
|
|
|
|
[bank_config.eps]
|
|
stripe = { banks = "arzte_und_apotheker_bank,austrian_anadi_bank_ag,bank_austria,bankhaus_carl_spangler,bankhaus_schelhammer_und_schattera_ag,bawag_psk_ag,bks_bank_ag,brull_kallmus_bank_ag,btv_vier_lander_bank,capital_bank_grawe_gruppe_ag,dolomitenbank,easybank_ag,erste_bank_und_sparkassen,hypo_alpeadriabank_international_ag,hypo_noe_lb_fur_niederosterreich_u_wien,hypo_oberosterreich_salzburg_steiermark,hypo_tirol_bank_ag,hypo_vorarlberg_bank_ag,hypo_bank_burgenland_aktiengesellschaft,marchfelder_bank,oberbank_ag,raiffeisen_bankengruppe_osterreich,schoellerbank_ag,sparda_bank_wien,volksbank_gruppe,volkskreditbank_ag,vr_bank_braunau" }
|
|
adyen = { banks = "bank_austria,bawag_psk_ag,dolomitenbank,easybank_ag,erste_bank_und_sparkassen,hypo_tirol_bank_ag,posojilnica_bank_e_gen,raiffeisen_bankengruppe_osterreich,schoellerbank_ag,sparda_bank_wien,volksbank_gruppe,volkskreditbank_ag" }
|
|
|
|
[bank_config.ideal]
|
|
stripe = { banks = "abn_amro,asn_bank,bunq,handelsbanken,ing,knab,moneyou,rabobank,regiobank,revolut,sns_bank,triodos_bank,van_lanschot" }
|
|
adyen = { banks = "abn_amro,asn_bank,bunq,handelsbanken,ing,knab,moneyou,rabobank,regiobank,revolut,sns_bank,triodos_bank,van_lanschot" }
|
|
|
|
[bank_config.online_banking_czech_republic]
|
|
adyen = { banks = "ceska_sporitelna,komercni_banka,platnosc_online_karta_platnicza" }
|
|
|
|
[bank_config.online_banking_slovakia]
|
|
adyen = { banks = "e_platby_vub,postova_banka,sporo_pay,tatra_pay,viamo" }
|
|
|
|
[bank_config.online_banking_poland]
|
|
adyen = { banks = "blik_psp,place_zipko,m_bank,pay_with_ing,santander_przelew24,bank_pekaosa,bank_millennium,pay_with_alior_bank,banki_spoldzielcze,pay_with_inteligo,bnp_paribas_poland,bank_nowy_sa,credit_agricole,pay_with_bos,pay_with_citi_handlowy,pay_with_plus_bank,toyota_bank,velo_bank,e_transfer_pocztowy24"}
|
|
|
|
[bank_config.przelewy24]
|
|
stripe = { banks = "alior_bank,bank_millennium,bank_nowy_bfg_sa,bank_pekao_sa,banki_spbdzielcze,blik,bnp_paribas,boz,citi,credit_agricole,e_transfer_pocztowy24,getin_bank,idea_bank,inteligo,mbank_mtransfer,nest_przelew,noble_pay,pbac_z_ipko,plus_bank,santander_przelew24,toyota_bank,volkswagen_bank" }
|
|
|
|
[pm_filters.stripe]
|
|
google_pay = { country = "AL,DZ,AS,AO,AG,AR,AU,AT,AZ,BH,BY,BE,BR,BG,CA,CL,CO,HR,CZ,DK,DO,EG,EE,FI,FR,DE,GR,HK,HU,IN,ID,IE,IL,IT,JP,JO,KZ,KE,KW,LV,LB,LT,LU,MY,MX,NL,NZ,NO,OM,PK,PA,PE,PH,PL,PT,QA,RO,RU,SA,SG,SK,ZA,ES,LK,SE,CH,TW,TH,TR,UA,AE,GB,US,UY,VN" }
|
|
apple_pay = { country = "AU,CN,HK,JP,MO,MY,NZ,SG,TW,AM,AT,AZ,BY,BE,BG,HR,CY,CZ,DK,EE,FO,FI,FR,GE,DE,GR,GL,GG,HU,IS,IE,IM,IT,KZ,JE,LV,LI,LT,LU,MT,MD,MC,ME,NL,NO,PL,PT,RO,SM,RS,SK,SI,ES,SE,CH,UA,GB,AR,CO,CR,BR,MX,PE,BH,IL,JO,KW,PS,QA,SA,AE,CA,UM,US" }
|
|
klarna = { country = "AT,BE,DK,FI,FR,DE,IE,IT,NL,NO,ES,SE,GB,US", currency = "EUR,USD,GBP,DKK,SEK,NOK" }
|
|
affirm = { country = "US", currency = "USD" }
|
|
afterpay_clearpay = { country = "US,CA,GB,AU,NZ,FR,ES", currency = "USD,CAD,GBP,AUD,NZD,EUR" }
|
|
giropay = { country = "DE", currency = "EUR" }
|
|
eps = { country = "AT", currency = "EUR" }
|
|
sofort = { country = "AT,BE,DE,IT,NL,ES", currency = "EUR" }
|
|
ideal = { country = "NL", currency = "EUR" }
|
|
|
|
[pm_filters.adyen]
|
|
google_pay = { country = "AL,DZ,AS,AO,AG,AR,AU,AT,AZ,BH,BY,BE,BR,BG,CA,CL,CO,HR,CZ,DK,DO,EG,EE,FI,FR,DE,GR,HK,HU,IN,ID,IE,IL,IT,JP,JO,KZ,KE,KW,LV,LB,LT,LU,MY,MX,NL,NZ,NO,OM,PK,PA,PE,PH,PL,PT,QA,RO,RU,SA,SG,SK,ZA,ES,LK,SE,CH,TW,TH,TR,UA,AE,GB,US,UY,VN" }
|
|
apple_pay = { country = "AU,CN,HK,JP,MO,MY,NZ,SG,TW,AM,AT,AZ,BY,BE,BG,HR,CY,CZ,DK,EE,FO,FI,FR,GE,DE,GR,GL,GG,HU,IS,IE,IM,IT,KZ,JE,LV,LI,LT,LU,MT,MD,MC,ME,NL,NO,PL,PT,RO,SM,RS,SK,SI,ES,SE,CH,UA,GB,AR,CO,CR,BR,MX,PE,BH,IL,JO,KW,PS,QA,SA,AE,CA,UM,US", currency = "AUD,CHF,CAD,EUR,GBP,HKD,SGD,USD" }
|
|
paypal = { currency = "AUD,BRL,CAD,CZK,DKK,EUR,HKD,HUF,INR,JPY,MYR,MXN,NZD,NOK,PHP,PLN,RUB,GBP,SGD,SEK,CHF,THB,USD" }
|
|
klarna = { country = "AT,BE,DK,FI,FR,DE,IE,IT,NL,NO,ES,SE,GB,US,CA", currency = "USD,GBP,EUR,CHF,DKK,SEK,NOK,AUD,PLN,CAD" }
|
|
affirm = { country = "US", currency = "USD" }
|
|
afterpay_clearpay = { country = "US,CA,GB,AU,NZ,FR,ES", currency = "GBP" }
|
|
giropay = { country = "DE", currency = "EUR" }
|
|
eps = { country = "AT", currency = "EUR" }
|
|
sofort = { country = "ES,GB,SE,AT,NL,DE,CH,BE,FR,FI,IT,PL", currency = "EUR" }
|
|
ideal = { country = "NL", currency = "EUR" }
|
|
|
|
[pm_filters.braintree]
|
|
paypal = { currency = "AUD,BRL,CAD,CNY,CZK,DKK,EUR,HKD,HUF,ILS,JPY,MYR,MXN,TWD,NZD,NOK,PHP,PLN,GBP,RUB,SGD,SEK,CHF,THB,USD" }
|
|
credit = { not_available_flows = { capture_method = "manual" } }
|
|
debit = { not_available_flows = { capture_method = "manual" } }
|
|
|
|
[pm_filters.klarna]
|
|
klarna = { country = "AU,AT,BE,CA,CZ,DK,FI,FR,DE,GR,IE,IT,NL,NZ,NO,PL,PT,ES,SE,CH,GB,US", currency = "AUD,EUR,EUR,CAD,CZK,DKK,EUR,EUR,EUR,EUR,EUR,EUR,EUR,NZD,NOK,PLN,EUR,EUR,SEK,CHF,GBP,USD" }
|
|
credit = { not_available_flows = { capture_method = "manual" } }
|
|
debit = { not_available_flows = { capture_method = "manual" } }
|
|
|
|
[pm_filters.zen]
|
|
credit = { not_available_flows = { capture_method = "manual" } }
|
|
debit = { not_available_flows = { capture_method = "manual" } }
|
|
|
|
[pm_filters.aci]
|
|
credit = { not_available_flows = { capture_method = "manual" } }
|
|
debit = { not_available_flows = { capture_method = "manual" } }
|
|
|
|
[pm_filters.mollie]
|
|
credit = { not_available_flows = { capture_method = "manual" } }
|
|
debit = { not_available_flows = { capture_method = "manual" } }
|
|
|
|
[pm_filters.multisafepay]
|
|
credit = { not_available_flows = { capture_method = "manual" } }
|
|
debit = { not_available_flows = { capture_method = "manual" } }
|
|
|
|
[pm_filters.trustpay]
|
|
credit = { not_available_flows = { capture_method = "manual" } }
|
|
debit = { not_available_flows = { capture_method = "manual" } }
|
|
|
|
[pm_filters.authorizedotnet]
|
|
google_pay = { currency = "CHF,DKK,EUR,GBP,NOK,PLN,SEK,USD,AUD,NZD,CAD" }
|
|
paypal = { currency = "CHF,DKK,EUR,GBP,NOK,PLN,SEK,USD,AUD,NZD,CAD" }
|
|
|
|
[pm_filters.worldpay]
|
|
google_pay = { country = "AL,DZ,AS,AO,AG,AR,AU,AT,AZ,BH,BY,BE,BR,BG,CA,CL,CO,HR,CZ,DK,DO,EG,EE,FI,FR,DE,GR,HK,HU,IN,ID,IE,IL,IT,JP,JO,KZ,KE,KW,LV,LB,LT,LU,MY,MX,NL,NZ,NO,OM,PK,PA,PE,PH,PL,PT,QA,RO,RU,SA,SG,SK,ZA,ES,LK,SE,CH,TW,TH,TR,UA,AE,GB,US,UY,VN" }
|
|
apple_pay = { country = "AU,CN,HK,JP,MO,MY,NZ,SG,TW,AM,AT,AZ,BY,BE,BG,HR,CY,CZ,DK,EE,FO,FI,FR,GE,DE,GR,GL,GG,HU,IS,IE,IM,IT,KZ,JE,LV,LI,LT,LU,MT,MD,MC,ME,NL,NO,PL,PT,RO,SM,RS,SK,SI,ES,SE,CH,UA,GB,AR,CO,CR,BR,MX,PE,BH,IL,JO,KW,PS,QA,SA,AE,CA,UM,US" }
|
|
|
|
[file_upload_config]
|
|
bucket_name = ""
|
|
region = ""
|
|
|
|
[pm_filters.forte]
|
|
credit = { currency = "USD" }
|
|
debit = { currency = "USD" }
|
|
|
|
[tokenization]
|
|
stripe = { long_lived_token = false, payment_method = "wallet", payment_method_type = { type = "disable_only", list = "google_pay" } }
|
|
checkout = { long_lived_token = false, payment_method = "wallet" }
|
|
|
|
[connector_customer]
|
|
connector_list = "bluesnap,stripe"
|
|
|
|
[dummy_connector]
|
|
payment_ttl = 172800
|
|
payment_duration = 1000
|
|
payment_tolerance = 100
|
|
payment_retrieve_duration = 500
|
|
payment_retrieve_tolerance = 100
|
|
refund_ttl = 172800
|
|
refund_duration = 1000
|
|
refund_tolerance = 100
|
|
refund_retrieve_duration = 500
|
|
refund_retrieve_tolerance = 100
|
|
|
|
[delayed_session_response]
|
|
connectors_with_delayed_session_response = "trustpay"
|