MoneyHub.ConsentHistory (MoneyHub v1.0.0)

Copy Markdown View Source

Historical record of consent grants/revocations across a user's connections and payment authorisations - useful for compliance and audit trails.

Summary

Functions

Lists consent history events for the user identified by token.

Types

consent_event()

@type consent_event() :: map()

Functions

list(config, token, opts \\ [])

@spec list(MoneyHub.Config.t(), String.t(), keyword()) ::
  {:ok, [consent_event()]} | {:error, MoneyHub.Error.t()}

Lists consent history events for the user identified by token.