Wise Quote API — rate locking and fee calculation.
Summary
Functions
Returns account requirement fields for a quote.
Creates a quote for a profile.
Creates an anonymous quote (no profile required).
Fetches a quote by ID.
Refreshes account requirements with currently filled details.
Updates a quote (e.g. target account or pay-in method).
Functions
@spec account_requirements( Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.quote_id() ) :: {:ok, list()} | {:error, Wise.Error.t()}
Returns account requirement fields for a quote.
@spec create(Wise.Config.t(), Wise.Types.profile_id(), map()) :: {:ok, map()} | {:error, Wise.Error.t()}
Creates a quote for a profile.
@spec create_anonymous(Wise.Config.t(), map()) :: {:ok, map()} | {:error, Wise.Error.t()}
Creates an anonymous quote (no profile required).
@spec get(Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.quote_id()) :: {:ok, map()} | {:error, Wise.Error.t()}
Fetches a quote by ID.
@spec refresh_account_requirements( Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.quote_id(), map() ) :: {:ok, list()} | {:error, Wise.Error.t()}
Refreshes account requirements with currently filled details.
@spec update(Wise.Config.t(), Wise.Types.profile_id(), Wise.Types.quote_id(), map()) :: {:ok, map()} | {:error, Wise.Error.t()}
Updates a quote (e.g. target account or pay-in method).