text stringlengths 70 351k | source stringclasses 4
values |
|---|---|
# file: hyperswitch/config/config.example.toml | crate: config
[cors]
max_age = 30 # Maximum time (in seconds) for which this CORS request may be cached.
origins = "http://localhost:8080" # List of origins that are allowed to make requests.
allowed_methods = "GET,POST,PUT,DELETE" # List... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[email.aws_ses]
email_role_arn = "" # The amazon resource name ( arn ) of the role which has permission to send emails
sts_role_session_name = "" # An identifier for the assumed role session, used to uniquely identify a session.
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[user]
password_validity_in_days = 90 # Number of days after which password should be updated
two_factor_auth_expiry_in_secs = 300 # Number of seconds after which 2FA should be done again if doing update/change from inside
totp_issuer_name = "Hyperswi... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[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", apple_pay_pre_decrypt_flow = "network_tok... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[temp_locker_enable_config]
stripe = { payment_method = "bank_transfer" }
nuvei = { payment_method = "card" }
shift4 = { payment_method = "card" }
bluesnap = { payment_method = "card" }
bankofamerica = { payment_method = "card" }
cybersource = { payment_met... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[dummy_connector]
enabled = true # Whether dummy connector is enabled or not
payment_ttl = 172800 # Time to live for dummy connector payment in redis
payment_duration = 1000 ... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[mandates.supported_payment_methods]
card.credit.connector_list = "stripe,adyen,authorizedotnet,cybersource,datatrans,globalpay,worldpay,multisafepay,nmi,nexinets,noon,bankofamerica,braintree,nuvei,payme,wellsfargo,bamboraapac,elavon,fiuu,nexixpay,novalnet,... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[mandates.update_mandate_supported]
card.credit = { connector_list = "cybersource" } # Update Mandate supported payment method type and connector for card
card.debit = { connector_list = "cybersource" } # Update Mandate supported payment method type and co... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[required_fields.pay_later] # payment_method = "pay_later"
afterpay_clearpay = { fields = { stripe = [ # payment_method_type = afterpay_clearpay, connector = "stripe"
# Required fields vector with its respective display name in front-end and field_type
... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[payouts]
payout_eligibility = true # Defaults the eligibility of a payout method to true in case connector does not provide checks for payout eligibility
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.airwallex]
credit = { country = "AU,HK,SG,NZ,US", currency = "AED,AFN,ALL,AMD,ANG,AOA,ARS,AUD,AWG,AZN,BAM,BBD,BDT,BGN,BHD,BIF,BMD,BND,BOB,BRL,BSD,BTN,BWP,BYN,BZD,CAD,CDF,CHF,CLP,CNY,COP,CRC,CUP,CVE,CZK,DJF,DKK,DOP,DZD,EGP,ERN,ETB,EUR,FJD,FKP,GBP... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.elavon]
credit = { country = "US", currency = "AED,AFN,ALL,AMD,ANG,AOA,ARS,AUD,AWG,AZN,BAM,BBD,BDT,BGN,BHD,BIF,BMD,BND,BOB,BRL,BSD,BTN,BWP,BYN,BZD,CAD,CDF,CHF,CLP,CNY,COP,CRC,CUP,CVE,CZK,DJF,DKK,DOP,DZD,EGP,ERN,ETB,EUR,FJD,FKP,GBP,GEL,GHS,GIP,GM... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.xendit]
credit = { country = "ID,PH", currency = "IDR,PHP,USD,SGD,MYR" }
debit = { country = "ID,PH", currency = "IDR,PHP,USD,SGD,MYR" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.tsys]
credit = { country = "NA", currency = "AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BZD, CAD, CDF, CHF, CLP, CNY, COP, CRC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.billwerk]
credit = { country = "DE, DK, FR, SE", currency = "DKK, NOK" }
debit = { country = "DE, DK, FR, SE", currency = "DKK, NOK" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.fiservemea]
credit = { country = "DE, FR, IT, NL, PL, ES, ZA, GB, AE", currency = "AED,AFN,ALL,AMD,ANG,AOA,ARS,AUD,AWG,AZN,BAM,BBD,BDT,BGN,BHD,BIF,BMD,BND,BOB,BRL,BSD,BTN,BWP,BYN,BZD,CAD,CDF,CHF,CLP,CNY,COP,CRC,CUP,CVE,CZK,DJF,DKK,DOP,DZD,EGP,ER... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.bambora]
credit = { country = "US,CA", currency = "USD" }
debit = { country = "US,CA", currency = "USD" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.plaid]
open_banking_pis = {currency = "EUR,GBP"}
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.zen]
credit = { not_available_flows = { capture_method = "manual" } }
debit = { not_available_flows = { capture_method = "manual" } }
boleto = { country = "BR", currency = "BRL" }
efecty = { country = "CO", currency = "COP" }
multibanco = { coun... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.zsl]
local_bank_transfer = { country = "CN", currency = "CNY" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.bankofamerica]
credit = { currency = "USD" }
debit = { currency = "USD" }
apple_pay = { currency = "USD" }
google_pay = { currency = "USD" }
samsung_pay = { currency = "USD" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.cybersource]
credit = { currency = "USD,GBP,EUR,PLN" }
debit = { currency = "USD,GBP,EUR,PLN" }
apple_pay = { currency = "USD,GBP,EUR,PLN" }
google_pay = { currency = "USD,GBP,EUR,PLN" }
samsung_pay = { currency = "USD,GBP,EUR" }
paze = { curren... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.stax]
credit = { currency = "USD" }
debit = { currency = "USD" }
ach = { currency = "USD" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.payu]
debit = { country = "AE, AF, AL, AM, CW, AO, AR, AU, AW, AZ, BA, BB, BG, BH, BI, BM, BN, BO, BR, BS, BW, BY, BZ, CA, CD, LI, CL, CN, CO, CR, CV, CZ, DJ, DK, DO, DZ, EG, ET, AD, FJ, FK, GG, GE, GH, GI, GM, GN, GT, GY, HK, HN, HR, HT, HU, ID... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.jpmorgan]
debit = { country = "CA, GB, US, AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE", currency = "USD, EUR, GBP, AUD, NZD, SGD, CAD, JPY, HKD, KRW, TWD, MXN, BRL, DKK, NOK, ZAR, S... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.bitpay]
crypto_currency = { country = "US, CA, GB, AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE", currency = "USD, AUD, CAD, GBP, MXN, NZD, CHF, EUR"}
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.paybox]
debit = { country = "FR", currency = "CAD, AUD, EUR, USD" }
credit = { country = "FR", currency = "CAD, AUD, EUR, USD" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.digitalvirgo]
direct_carrier_billing = {country = "MA, CM, ZA, EG, SN, DZ, TN, ML, GN, GH, LY, GA, CG, MG, BW, SD, NG, ID, SG, AZ, TR, FR, ES, PL, GB, PT, DE, IT, BE, IE, SK, GR, NL, CH, BR, MX, AR, CL, AE, IQ, KW, BH, SA, QA, PS, JO, OM, RU" , ... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.helcim]
credit = { country = "US, CA", currency = "USD, CAD" }
debit = { country = "US, CA", currency = "USD, CAD" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[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 = "CHF,DKK,EUR,GBP,NOK,PLN,SEK,USD,AUD,NZD,CAD" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.nexixpay]
credit = { country = "AT,BE,CY,EE,FI,FR,DE,GR,IE,IT,LV,LT,LU,MT,NL,PT,SK,SI,ES,BG,HR,DK,GB,NO,PL,CZ,RO,SE,CH,HU,AU,BR,US", currency = "ARS,AUD,BHD,CAD,CLP,CNY,COP,HRK,CZK,DKK,HKD,HUF,INR,JPY,KZT,JOD,KRW,KWD,MYR,MXN,NGN,NOK,PHP,QAR,RUB,... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.square]
credit = { country = "AU,CA,FR,IE,JP,ES,GB,US", currency = "AED,AFN,ALL,AMD,ANG,AOA,ARS,AUD,AWG,AZN,BAM,BBD,BDT,BGN,BHD,BIF,BMD,BND,BOB,BRL,BSD,BTN,BWP,BZD,CAD,CDF,CHF,CLP,CNY,COP,CRC,CUP,CVE,CZK,DJF,DKK,DOP,DZD,EGP,ERN,ETB,EUR,FJD,FKP,G... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.iatapay]
upi_collect = { country = "IN", currency = "INR" }
upi_intent = { country = "IN", currency = "INR" }
ideal = { country = "NL", currency = "EUR" }
local_bank_redirect = { country = "AT,BE,EE,FI,FR,DE,IE,IT,LV,LT,LU,NL,PT,ES,GB,IN,HK,SG,T... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.coinbase]
crypto_currency = { country = "ZA,US,BR,CA,TR,SG,VN,GB,DE,FR,ES,PT,IT,NL,AU" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.novalnet]
credit = { country = "AD,AE,AL,AM,AR,AT,AU,AZ,BA,BB,BD,BE,BG,BH,BI,BM,BN,BO,BR,BS,BW,BY,BZ,CA,CD,CH,CL,CN,CO,CR,CU,CY,CZ,DE,DJ,DK,DO,DZ,EE,EG,ET,ES,FI,FJ,FR,GB,GE,GH,GI,GM,GR,GT,GY,HK,HN,HR,HU,ID,IE,IL,IN,IS,IT,JM,JO,JP,KE,KH,KR,KW,KY,... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.mifinity]
mifinity = { country = "BR,CN,SG,MY,DE,CH,DK,GB,ES,AD,GI,FI,FR,GR,HR,IT,JP,MX,AR,CO,CL,PE,VE,UY,PY,BO,EC,GT,HN,SV,NI,CR,PA,DO,CU,PR,NL,NO,PL,PT,SE,RU,TR,TW,HK,MO,AX,AL,DZ,AS,AO,AI,AG,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BE,BZ,BJ,BM,BT,BQ,BA,BW,I... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.fiuu]
duit_now = { country = "MY", currency = "MYR" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.trustpay]
instant_bank_transfer = { country = "CZ,SK,GB,AT,DE,IT", currency = "CZK, EUR, GBP" }
sepa = { country = "ES,SK,AT,NL,DE,BE,FR,FI,PT,IE,EE,LT,LV,IT,GB", currency = "EUR" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.dlocal]
credit = {country = "AR,BD,BO,BR,CM,CL,CN,CO,CR,DO,EC,SV,EG,GH,GT,HN,IN,ID,CI,JP,KE,MY,MX,MA,NI,NG,PK,PA,PY,PE,PH,RW,SA,SN,ZA,TZ,TH,TR,UG,UY,VN,ZM", currency = "ARS,BDT,BOB,BRL,XAF,CLP,CNY,COP,CRC,DOP,USD,EGP,GHS,GTQ,HNL,INR,IDR,XOF,JPY,... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.mollie]
credit = { not_available_flows = { capture_method = "manual" } }
debit = { not_available_flows = { capture_method = "manual" } }
eps = { country = "AT", currency = "EUR" }
ideal = { country = "NL", currency = "EUR" }
przelewy24 = { count... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.rapyd]
apple_pay = { country = "AL,AS,AD,AR,AM,AU,AT,AZ,BH,BE,BM,BA,BR,BG,CA,KH,KY,CL,CO,CR,HR,CY,CZ,DK,DO,EC,SV,EE,FO,FI,FR,GE,DE,GI,GR,GL,GU,GT,GG,HN,HK,HU,IS,IE,IM,IL,IT,JP,KZ,KG,KW,LV,LI,LT,LU,MO,MY,MT,MX,MD,MC,ME,MA,NL,NZ,NI,MK,MP,NO,PA,PY,... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.bamboraapac]
credit = { country = "AD,AE,AG,AL,AM,AO,AR,AT,AU,AZ,BA,BB,BD,BE,BG,BH,BI,BJ,BN,BO,BR,BS,BT,BW,BY,BZ,CA,CD,CF,CG,CH,CI,CL,CM,CN,CO,CR,CV,CY,CZ,DE,DK,DJ,DM,DO,DZ,EC,EE,EG,ER,ES,ET,FI,FJ,FM,FR,GA,GB,GD,GE,GG,GH,GM,GN,GQ,GR,GT,GW,GY,HN,... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.gocardless]
ach = { country = "US", currency = "USD" }
becs = { country = "AU", currency = "AUD" }
sepa = { country = "AU,AT,BE,BG,CA,HR,CY,CZ,DK,FI,FR,DE,HU,IT,LU,MT,NL,NZ,NO,PL,PT,IE,RO,SK,SI,ZA,ES,SE,CH,GB", currency = "GBP,EUR,SEK,DKK,AUD,NZ... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.powertranz]
credit = { country = "AE,AF,AG,AI,AL,AM,AO,AQ,AR,AS,AT,AU,AW,AX,AZ,BA,BB,BD,BE,BF,BG,BH,BI,BJ,BL,BM,BN,BO,BQ,BR,BS,BT,BV,BW,BY,BZ,CA,CC,CD,CF,CG,CH,CI,CK,CL,CM,CN,CO,CR,CU,CV,CW,CX,CY,CZ,DE,DJ,DK,DM,DO,DZ,EC,EE,EG,EH,ER,ES,ET,FI,FJ,F... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[pm_filters.worldline]
giropay = { country = "DE", currency = "EUR" }
ideal = { country = "NL", currency = "EUR" }
credit = { country = "AD,AE,AF,AG,AI,AL,AM,AO,AQ,AR,AS,AT,AU,AW,AX,AZ,BA,BB,BD,BE,BF,BG,BH,BI,BJ,BL,BM,BN,BO,BQ,BR,BS,BT,BV,BW,BY,BZ,CA,CC,CD,... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[connector_customer]
connector_list = "gocardless,stax,stripe"
payout_connector_list = "nomupay,stripe,wise"
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[bank_config.online_banking_fpx]
adyen.banks = "affin_bank,agro_bank,alliance_bank,am_bank,bank_islam,bank_muamalat,bank_rakyat,bank_simpanan_nasional,cimb_bank,hong_leong_bank,hsbc_bank,kuwait_finance_house,maybank,ocbc_bank,public_bank,rhb_bank,standard_c... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[applepay_decrypt_keys]
apple_pay_ppc = "APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE" # Payment Processing Certificate provided by Apple Pay (https://developer.apple.com/) Certificates, Identifiers & Profiles > Apple Pay Payment Processing Certificate
... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[google_pay_decrypt_keys]
google_pay_root_signing_keys = "GOOGLE_PAY_ROOT_SIGNING_KEYS" # Base 64 Encoded Root Signing Keys provided by Google Pay (https://developers.google.com/pay/api/web/guides/resources/payment-data-cryptography)
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[applepay_merchant_configs]
# Run below command to get common merchant identifier for applepay in shell
#
# CERT_PATH="path/to/certificate.pem"
# MERCHANT_ID=$(openssl x509 -in "$CERT_PATH" -noout -text |
# awk -v oid="1.2.840.113635.100.6.32"... | ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[generic_link.payment_method_collect]
sdk_url = "http://localhost:9090/0.16.7/v0/HyperLoader.js"
expiry = 900
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[generic_link.payment_method_collect.ui_config]
theme = "#1A1A1A"
logo = "https://app.hyperswitch.io/HyperswitchFavicon.png"
merchant_name = "HyperSwitch"
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[generic_link.payment_method_collect.enabled_payment_methods]
card = "credit,debit"
bank_transfer = "ach,bacs,sepa"
wallet = "paypal,pix,venmo"
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[generic_link.payout_link]
sdk_url = "http://localhost:9090/0.16.7/v0/HyperLoader.js"
expiry = 900
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[generic_link.payout_link.ui_config]
theme = "#1A1A1A"
logo = "https://app.hyperswitch.io/HyperswitchFavicon.png"
merchant_name = "HyperSwitch"
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[generic_link.payout_link.enabled_payment_methods]
card = "credit,debit"
#Payout Method Filters Based on Country and Currency
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[payout_method_filters.adyenplatform]
sepa = { country = "ES,SK,AT,NL,DE,BE,FR,FI,PT,IE,EE,LT,LV,IT,CZ,DE,HU,NO,PL,SE,GB,CH", currency = "EUR,CZK,DKK,HUF,NOK,PLN,SEK,GBP,CHF" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[payout_method_filters.stripe]
ach = { country = "US", currency = "USD" }
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[payment_link]
sdk_url = "http://localhost:9090/0.16.7/v0/HyperLoader.js"
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[payment_method_auth]
redis_expiry = 900
pm_auth_key = "Some_pm_auth_key"
# Analytics configuration.
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[analytics]
source = "sqlx" # The Analytics source/strategy to be used
forex_enabled = false # Enable or disable forex conversion for analytics
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[analytics.clickhouse]
username = "" # Clickhouse username
password = "" # Clickhouse password (optional)
host = "" # Clickhouse host in http(s)://<URL>:<PORT> format
database_name = "" # Clickhouse database name
| ast_fragments |
# file: hyperswitch/config/config.example.toml | crate: config
[kv_config]
# TTL for KV in seconds
ttl = 900
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[pm_filters.adyen]
ach = { country = "US", currency = "USD" }
affirm = { country = "US", currency = "USD" }
afterpay_clearpay = { country = "US,CA,GB,AU,NZ", currency = "GBP,AUD,NZD,CAD,USD" }
alfamart = { country = "ID", currency = "IDR" }
ali_pay = { coun... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[server]
port = 8080
host = "0.0.0.0"
request_body_limit = 16_384 # Post request body is limited to 16k.
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[log.file]
enabled = false # Whether you want to store log in log files.
path = "logs" # Where to store log files.
level = "DEBUG" # What gets into log files.
# rotation = "60" # mins # current framework doesn't support configuring rotation. set... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[log.console]
enabled = true # Whether you want to see log in your terminal.
level = "DEBUG" # What you see in your terminal.
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[log.telemetry]
traces_enabled = false # Whether traces are enabled.
metrics_enabled = true # Whether metrics are enabled.
ignore_errors = false ... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[master_database]
username = "db_user"
password = "db_pass"
host = "pg"
port = 5432
dbname = "hyperswitch_db"
pool_size = 5
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[forex_api]
api_key = ""
fallback_api_key = ""
data_expiration_delay_in_seconds = 21600
redis_lock_timeout_in_seconds = 100
redis_ttl_in_seconds = 172800
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[replica_database]
username = "db_user"
password = "db_pass"
host = "pg"
port = 5432
dbname = "hyperswitch_db"
pool_size = 5
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[secrets]
admin_api_key = "test_admin"
jwt_secret = "secret"
master_enc_key = "73ad7bbbbc640c845a150f67d058b279849370cd2c1f3c67c4dd6c869213e13a"
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[user]
password_validity_in_days = 90
two_factor_auth_expiry_in_secs = 300
totp_issuer_name = "Hyperswitch"
base_url = "http://localhost:9000"
force_two_factor_auth = false
force_cookies = false
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[locker]
host = ""
host_rs = ""
mock_locker = true
basilisk_host = ""
locker_enabled = true
ttl_for_storage_in_secs = 220752000
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[redis]
host = "redis-standalone"
port = 6379
cluster_enabled = false
cluster_urls = ["redis-cluster:6379"]
pool_size = 5
reconnect_max_attempts = 5
reconnect_delay = 5
default_ttl = 300
default_hash_ttl = 900
use_legacy_version = false
stream_read_count = ... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[key_manager]
url = "http://localhost:5000"
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[cors]
max_age = 30
# origins = "http://localhost:8080,http://localhost:9000"
allowed_methods = "GET,POST,PUT,DELETE"
wildcard_origin = true
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[refund]
max_attempts = 10
max_age = 365
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[pm_filters.default]
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,A... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[scheduler.consumer]
disabled = false
consumer_group = "SCHEDULER_GROUP"
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[scheduler.server]
port = 3000
host = "127.0.0.1"
workers = 1
#tokenization configuration which describe token lifetime and payment method for specific connector
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[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", apple_pay_pre_decrypt_flow = "network_tok... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[dummy_connector]
enabled = true
payment_ttl = 172800
payment_duration = 1000
payment_tolerance = 100
payment_retrieve_duration = 500
payment_retrieve_tolerance = 100
payment_complete_duration = 500
payment_complete_tolerance = 100
refund_ttl = 172800
refun... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[pm_filters.stripe]
cashapp = { country = "US", currency = "USD" }
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[pm_filters.worldpay]
debit = { country = "AF,DZ,AW,AU,AZ,BS,BH,BD,BB,BZ,BM,BT,BO,BA,BW,BR,BN,BG,BI,KH,CA,CV,KY,CL,CO,KM,CD,CR,CZ,DK,DJ,ST,DO,EC,EG,SV,ER,ET,FK,FJ,GM,GE,GH,GI,GT,GN,GY,HT,HN,HK,HU,IS,IN,ID,IR,IQ,IE,IL,IT,JM,JP,JO,KZ,KE,KW,LA,LB,LS,LR,LY,LT,M... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[bank_config.online_banking_thailand]
adyen.banks = "bangkok_bank,krungsri_bank,krung_thai_bank,the_siam_commercial_bank,kasikorn_bank"
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[bank_config.open_banking_uk]
adyen = { banks = "aib,bank_of_scotland,danske_bank,first_direct,first_trust,halifax,lloyds,monzo,nat_west,nationwide_bank,royal_bank_of_scotland,starling,tsb_bank,tesco_bank,ulster_bank,barclays,hsbc_bank,revolut,santander_prz... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[mandates.supported_payment_methods]
pay_later.klarna = { connector_list = "adyen" }
wallet.google_pay = { connector_list = "stripe,adyen,bankofamerica,authorizedotnet,novalnet" }
wallet.apple_pay = { connector_list = "stripe,adyen,cybersource,noon,bankofam... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[mandates.update_mandate_supported]
card.credit = { connector_list = "cybersource" }
card.debit = { connector_list = "cybersource" }
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[network_transaction_id_supported_connectors]
connector_list = "adyen,cybersource,novalnet,stripe,worldpay"
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[payment_method_auth]
redis_expiry = 900
pm_auth_key = "Some_pm_auth_key"
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[lock_settings]
redis_lock_expiry_seconds = 180 # 3 * 60 seconds
delay_between_retries_in_milliseconds = 500
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[events.kafka]
brokers = ["localhost:9092"]
fraud_check_analytics_topic = "hyperswitch-fraud-check-events"
intent_analytics_topic = "hyperswitch-payment-intent-events"
attempt_analytics_topic = "hyperswitch-payment-attempt-events"
refund_analytics_topic = "... | ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[analytics]
source = "sqlx"
forex_enabled = false # Enable or disable forex conversion for analytics
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[analytics.clickhouse]
username = "default"
# password = ""
host = "http://localhost:8123"
database_name = "default"
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[analytics.sqlx]
username = "db_user"
password = "db_pass"
host = "pg"
port = 5432
dbname = "hyperswitch_db"
pool_size = 5
connection_timeout = 10
queue_strategy = "Fifo"
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[kv_config]
ttl = 900 # 15 * 60 seconds
soft_kill = false
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[connector_onboarding.paypal]
client_id = ""
client_secret = ""
partner_id = ""
enabled = true
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[unmasked_headers]
keys = "accept-language,user-agent,x-profile-id"
| ast_fragments |
# file: hyperswitch/config/docker_compose.toml | crate: config
[opensearch]
host = "https://opensearch:9200"
enabled = false
| ast_fragments |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.