Exchange rates

Get exchange rates for a specific payment asset

Returns current exchange rates from all available source assets to the specified payment asset. Exchange rates are updated once per minute.

get/v3/rates/{paymentAssetCode}

Request

  • Base URL
    https://confirmo.net/api
  • URL
    https://confirmo.net/api/v3/rates/{paymentAssetCode}
  • Auth
    HTTP bearer

Path parameters

paymentAssetCode'BTC' | 'ETH' | 'LTC' | 'SOL' | 'TRX' | 'USDC' | 'USDT' required

Code of the payment asset

Query parameters

type'INVOICE' | 'PAYOUT'

The type of exchange rates to compute

invoiceSettlementCurrency'BTC' | 'CZK' | 'ETH' | 'EUR' | 'GBP' | 'HUF' | 'LTC' | 'PLN' | 'POL' | 'SOL' | 'TRX' | 'USD' | 'USDC' | 'USDT'

The currency in which the Settlement will be paid out. Merchant gets paid in this currency, when it is assigned to an invoice as settlement currency

Example:EUR

Intended invoice settlement asset. Please note that invoice exchange rate computation depends on invoice settlement asset as well - if not provided, exchange rate for no-conversion invoice (i.e. invoice which has the same payment asset and settlement asset) is returned, which may slightly differ from that for invoices with payment conversion

Response

Successfully retrieved exchange rates

ExchangeRateTo[] required

Example response

[
  "{'AED': '142947.13'}"
]

Changes

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