View Source ExOAPI.Stripe.SDK.ExchangeRates (exoapi_stripe v0.1.4)
Link to this section Summary
Functions
description: <p>Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.</p>
description: <p>Retrieves the exchange rates from the given currency to every supported currency.</p>
Link to this section Types
@type get_exchange_rates_rate_id_opts() :: {:expand, String.t()}
Link to this section Functions
@spec get_exchange_rates(client :: ExOAPI.Client.t(), [get_exchange_rates_opts()]) :: {:ok, ExOAPI.Stripe.Schemas.Error.t() | %{ url: String.t(), object: String.t() | :list, has_more: boolean(), data: [ExOAPI.Stripe.Schemas.ExchangeRate.t()] } | map()} | {:error, any()}
description: <p>Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.</p>
@spec get_exchange_rates_rate_id( client :: ExOAPI.Client.t(), rate_id :: String.t(), [get_exchange_rates_rate_id_opts()] ) :: {:ok, ExOAPI.Stripe.Schemas.Error.t() | ExOAPI.Stripe.Schemas.ExchangeRate.t() | map()} | {:error, any()}
description: <p>Retrieves the exchange rates from the given currency to every supported currency.</p>