GameServer.Payments.ProviderConfig
(game_server_core v1.0.1004)
Copy Markdown
Runtime payment-provider configuration helpers.
PAYMENTS_ENVIRONMENT is the single switch that selects sandbox versus
production provider credentials for this host.
Summary
Types
@type environment() :: String.t()
Functions
@spec environment() :: environment()
@spec environments() :: [String.t()]
@spec production?() :: boolean()
@spec sandbox_like?() :: boolean()
@spec stripe_api_version() :: String.t()
@spec stripe_candidate_labels(:secret_key | :webhook_secret) :: [String.t()]
@spec stripe_default_api_version() :: String.t()
@spec stripe_secret_key() :: String.t() | nil
@spec stripe_webhook_secret() :: String.t() | nil