Wise Card API — card status, permissions, and sensitive data.
Summary
Functions
@spec get(Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.card_token()) :: {:ok, map()} | {:error, Wise.Error.t()}
@spec get_encryption_key(Wise.Config.t()) :: {:ok, map()} | {:error, Wise.Error.t()}
@spec get_pin(Wise.Config.t(), String.t()) :: {:ok, map()} | {:error, Wise.Error.t()}
@spec get_sensitive_details(Wise.Config.t(), String.t()) :: {:ok, map()} | {:error, Wise.Error.t()}
@spec get_spending_permissions( Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.card_token() ) :: {:ok, map()} | {:error, Wise.Error.t()}
@spec list(Wise.Config.t(), Wise.Types.profile_id(), keyword()) :: {:ok, [map()]} | {:error, Wise.Error.t()}
@spec reset_pin_count( Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.card_token() ) :: {:ok, :ok} | {:error, Wise.Error.t()}
@spec update_single_permission( Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.card_token(), String.t(), boolean() ) :: {:ok, map()} | {:error, Wise.Error.t()}
@spec update_spending_permissions( Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.card_token(), map() ) :: {:ok, map()} | {:error, Wise.Error.t()}
@spec update_status( Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.card_token(), String.t() ) :: {:ok, map()} | {:error, Wise.Error.t()}