Wise.Services.SpendControls (Wise v1.0.0)

Copy Markdown View Source

Wise Spend Controls API — MCC and transaction-type restrictions.

Summary

Functions

get(config, profile_id, token)

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

update(config, profile_id, token, controls)

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