FX Trade - Fetch FX Exchange Rate

Fetches the current exchange rate for a proposed buy or sell transaction.

This endpoint provides a preview of the conversion, including the exchange rate, the equivalent amount in the base currency, and any applicable fees.

Key Rules:

  • Charges: Applied only to BUY operations. Sell operations generally do not incur exchange fees.
  • Currency: All fees and base currency amounts are calculated and presented in the account's base currency.
  • This API should be called to retrieve live rates and charge estimates before initiating a currency lock or execution.
Path Params
integer
required

Multi Currency Wrapper Account Id.

Query Params
string
enum
required

Can be BUY or SELL.

Allowed:
string
required

Amount to be converted.

string
required

Target currency code.

Headers
string
required

The ID of your banking instance visible in the MBANQ Console.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json