> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cryptoprocessing.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exchanges

You can exchange different currencies, both crypto and fiat, within your merchant's account. This operation can be performed both [via the merchant dashboard](#exchanges-via-the-merchant-dashboard) and [via the API](#exchanges-via-the-api).

To learn which currencies can be exchanged to which currencies, see [Supported trading pairs](/supported-trading-pairs). Each trading pair is bidirectional.

[Fees](/exchanges/fees) and minimal amounts apply. To learn the minimal amounts, see [/currencies/pairs](/api-reference/endpoints/currencies-pairs).

## Exchanges via the merchant dashboard

In the merchant dashboard, an exchange can be performed on the **Balances** tab by selecting a balance and clicking **Exchange** on the right panel.

In a dialog that appears, select the two currencies and specify the amount in either one of them. The other amount will be calculated automatically using the current exchange rate. Click **Exchange** to fix the rate, then click **Accept** within 60 seconds to perform the exchange.

<Frame>
  <img src="https://mintcdn.com/cryptoprocessing/ROCimFHd2v59e4Kf/images/exchanges/exchange.png?fit=max&auto=format&n=ROCimFHd2v59e4Kf&q=85&s=7cd96b62af1b1e6906eac84a4e15d8f3" alt="Exchange" width="2488" height="1424" data-path="images/exchanges/exchange.png" />
</Frame>

## Exchanges via the API

The fastest way to perform an exchange using the CryptoProcessing API is by calling [/exchange/now](/api-reference/endpoints/exchange-now). This will immediately subtract funds from one balance and add to the other, using the current exchange rate. You will find the information about the used rate both in the API response and in the [callback](/api-reference/callbacks/exchange-callbacks).

Another way is a two-step operation: find an exchange rate using [/exchange/calculate](/api-reference/endpoints/exchange-calculate) and, if you agree with it, use it in parameters for [/exchange/fixed](/api-reference/endpoints/exchange-fixed). The second call must be done within 60 seconds after the first one. You will also receive the [callback](/api-reference/callbacks/exchange-callbacks).
