# `Payzum.Rates`
[🔗](https://github.com/payzum-dev/payzum-elixir/blob/main/lib/payzum.ex#L266)

The public estimate and minimum-amount endpoints.

# `estimate`

```elixir
@spec estimate(Payzum.Client.t(), String.t(), String.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}
```

Convert an amount between two currencies.

# `min_amount`

```elixir
@spec min_amount(Payzum.Client.t(), String.t(), String.t()) ::
  {:ok, map()} | {:error, Exception.t()}
```

The minimum amount for a currency pair.

The endpoint ignores the network — `eth` reports the mainnet minimum even when
the cheapest chain is 20x lower — so treat it as a floor.

---

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