---
title: "Convert exchange account funds"
method: POST
path: "/exchange_accounts/{exchangeAccountId}/convert"
tags: ["Exchange accounts"]
---

# Convert exchange account funds

`POST /exchange_accounts/{exchangeAccountId}/convert`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/exchange_accounts/{exchangeAccountId}/convert`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/exchange_accounts/:exchangeAccountId/convert/post.ts> (a function with typed inputs; its response is checked against the schema)

Convert exchange account funds from the source asset to the destination asset. Coinbase (USD to USDC, USDC to USD) and Bitso (MXN to USD) are supported conversions.
Learn more about Fireblocks Exchange Connectivity in the following [guide](https://developers.fireblocks.com/docs/connect-to-exchanges-and-fiat-providers).
Endpoint Permission: Admin, Non-Signing Admin.

## Path parameters

- `exchangeAccountId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- ConvertAssetsRequest
  - `srcAsset` string, required: Name of the source asset (must be in a currency that is supported for conversions in the selected exchange type that corresponds to your exchange ID)
  - `destAsset` string, required: Name of the destination asset (must be in a currency that is supported for conversions in the selected exchange type that corresponds to your exchange ID)
  - `amount` number, required: The amount to transfer (in the currency of the source asset)

## Response `200`

Conversion successful

- ConvertAssetsResponse
  - `success` boolean, required: Indicates whether the conversion was successful

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
