AI-driven personalised financial insights.
Requires insights:read and insights:write scopes.
Summary
Functions
Archive an insight. Requires insights:write.
List active insights. Requires insights:read.
List archived insights. Requires insights:read.
Take an action on an insight. Requires insights:write.
Functions
@spec archive(Tink.Client.t(), String.t()) :: {:ok, map()} | {:error, Tink.Error.t()}
Archive an insight. Requires insights:write.
@spec list(Tink.Client.t()) :: {:ok, map()} | {:error, Tink.Error.t()}
List active insights. Requires insights:read.
@spec list_archived(Tink.Client.t()) :: {:ok, map()} | {:error, Tink.Error.t()}
List archived insights. Requires insights:read.
@spec take_action(Tink.Client.t(), map()) :: {:ok, map()} | {:error, Tink.Error.t()}
Take an action on an insight. Requires insights:write.
Example
Tink.Insights.take_action(client, %{
"insightId" => "ins-001",
"type" => "ACKNOWLEDGE"
})