# `Wise.Services.Cards`
[🔗](https://github.com/iamkanishka/wise/blob/v1.0.0/lib/wise/services/cards.ex#L1)

Wise Card API — card status, permissions, and sensitive data.

# `get`

```elixir
@spec get(Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.card_token()) ::
  {:ok, map()} | {:error, Wise.Error.t()}
```

# `get_encryption_key`

```elixir
@spec get_encryption_key(Wise.Config.t()) :: {:ok, map()} | {:error, Wise.Error.t()}
```

# `get_pin`

```elixir
@spec get_pin(Wise.Config.t(), String.t()) :: {:ok, map()} | {:error, Wise.Error.t()}
```

# `get_sensitive_details`

```elixir
@spec get_sensitive_details(Wise.Config.t(), String.t()) ::
  {:ok, map()} | {:error, Wise.Error.t()}
```

# `get_spending_permissions`

```elixir
@spec get_spending_permissions(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.card_token()
) :: {:ok, map()} | {:error, Wise.Error.t()}
```

# `list`

```elixir
@spec list(Wise.Config.t(), Wise.Types.profile_id(), keyword()) ::
  {:ok, [map()]} | {:error, Wise.Error.t()}
```

# `reset_pin_count`

```elixir
@spec reset_pin_count(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.card_token()
) ::
  {:ok, :ok} | {:error, Wise.Error.t()}
```

# `update_single_permission`

```elixir
@spec update_single_permission(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.card_token(),
  String.t(),
  boolean()
) :: {:ok, map()} | {:error, Wise.Error.t()}
```

# `update_spending_permissions`

```elixir
@spec update_spending_permissions(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.card_token(),
  map()
) :: {:ok, map()} | {:error, Wise.Error.t()}
```

# `update_status`

```elixir
@spec update_status(
  Wise.Config.t(),
  Wise.Types.profile_id(),
  Wise.Types.card_token(),
  String.t()
) :: {:ok, map()} | {:error, Wise.Error.t()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
