Exchange accounts

Convert exchange account funds

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. Endpoint Permission: Admin, Non-Signing Admin.

post/exchange_accounts/{exchangeAccountId}/convert

Request

Path parameters

exchangeAccountIdstring required

The ID of the exchange account. Please make sure the exchange supports conversions. To find the ID of your exchange account, use GET/exchange_accounts.

Headers

Idempotency-Keystring

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Request body

srcAssetstring 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)

destAssetstring 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)

amountnumber required

The amount to transfer (in the currency of the source asset)

Response

Conversion successful

successboolean required

Indicates whether the conversion was successful

Changes

No recorded changes to this operation across all 1 revision of this API.