Tink.Connectivity (Tink v1.0.0)

Copy Markdown View Source

Provider connectivity health checks. Requires providers:read and credentials:read.

Summary

Functions

Check overall Tink API health.

List providers for a market. Requires providers:read.

Check if a specific provider is currently operational.

Functions

check_health(client)

@spec check_health(Tink.Client.t()) :: {:ok, map()} | {:error, Tink.Error.t()}

Check overall Tink API health.

list_providers(client, market, opts \\ [])

@spec list_providers(Tink.Client.t(), String.t(), keyword()) ::
  {:ok, map()} | {:error, Tink.Error.t()}

List providers for a market. Requires providers:read.

provider_operational?(client, provider_name)

@spec provider_operational?(Tink.Client.t(), String.t()) :: boolean()

Check if a specific provider is currently operational.