Submit Exchange

This endpoint allows users to perform a currency exchange. There are two ways to perform an exchange:

  1. Using Currency Codes: You can specify the payCurrencyCode and receiveCurrencyCode to define the currencies involved in the exchange. This method provides flexibility for dynamically selected currencies.

  2. Using an Exchange Pair ID: If you already have a predefined exchangePairId, you can use it along with payAccountId (can be retrieved via [GET /public/accounts](/reference/get-accounts)) and receiveAccountId (can be retrieved via [GET /public/exchanges/pairs/ids](/reference/getcurrencyexchangepairsusingget2)) to identify the specific exchange pair and the accounts involved.

In both cases, you must specify the payAmount (the amount of currency being paid) to complete the exchange.

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!