IRT

Calculate guaranteed FX quote

Changed on

Returns a guaranteed FX quote valid for 30 minutes. Requires fx_quote_create permission. Behind ENABLE_FX_ENGINE flag.

post/irt/v1/quote/calculate

Request

  • The document declares no server URL.
  • Auth
    none declared. Required headers: ApiKey, MerchantId, Environment

Headers

ApiKeystring required

Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.

MerchantIdstring required

Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.

Environment'live' | 'sandbox' required

Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.

Request body

inputCurrencystring required

Input currency (send side), ISO 4217 code

corridorstring required

Corridor code

amountstring required

Amount in the input currency as a positive decimal string (at most 2 decimals)

providerstring

Mobile-money operator paying out, in lowercase, as recipient.provider when funding. Required on a mobile-wallet corridor (provider_required), refused on a bank-transfer corridor (provider_not_allowed). Funding the quote for another operator is refused with quote_provider_mismatch.

Example request

{
  "inputCurrency": "EUR",
  "corridor": "XOF_MOBILE_SENEGAL",
  "amount": "200.00",
  "provider": "orange"
}

Response

rateIdstring required
exchangeRatestring required
outputAmountstring required

Amount the recipient receives, priced on the full amount quoted. The Hub2 fee is charged on top and never reduces it.

hub2Feestring required

Hub2 fee for this transaction, charged in addition to the amount sent.

quoteExpiresAtstring required
lastUpdatedstring required

Example response

{
  "rateId": "7e6c2c2e-2b1a-4f3c-9d7a-2c2e2b1a4f3c",
  "exchangeRate": "646.1176450000",
  "outputAmount": "129223",
  "hub2Fee": "3",
  "quoteExpiresAt": "2026-05-18T15:30:00.000Z",
  "lastUpdated": "2026-05-18T15:00:00.000Z"
}

Changes