Packages

Production-grade Elixir client for the SaltEdge API v6 (AIS · PIS · Data Enrichment)

Current section

Files

Jump to
salt_edge_client config config.exs
Raw

config/config.exs

import Config
config :salt_edge_client,
app_id: System.get_env("SALTEDGE_APP_ID"),
secret: System.get_env("SALTEDGE_SECRET"),
private_key: System.get_env("SALTEDGE_PRIVATE_KEY"),
webhook_secret: System.get_env("SALTEDGE_WEBHOOK_SECRET"),
base_url: "https://www.saltedge.com/api/v6",
timeout: 30_000,
max_retries: 3,
retry_base_delay: 200,
retry_max_delay: 30_000,
debug: false
import_config "#{config_env()}.exs"