CSL Pay Developers

Get Latest Rate By Currency

GET /fx-rate-api/traded-rates/{currencyCode}

This endpoint retrieves the latest traded FX rate for a specified currency code, providing real-time data for partners to make informed decisions. A partner would call this endpoint when they need to access the current rate they traded for a particular currency in order to facilitate transactions or pricing. The endpoint returns the latest traded rate along with associated deal information.

Path parameters

  • currencyCoderequired string

Request body (optional)

This endpoint accepts a body with no declared schema.

Response 200

  • partnerCode string
    A unique code assigned to the partner using the API.
  • partnerName string
    The name of the partner using the API.
  • tradedRateEntry object7 fields
    An object containing information about a single traded rate entry.
    • currencyIsoCode string
      The ISO code of the currency for which the traded rate is applicable.
    • baseCurrencyCode string
      The base currency code for the traded rate.
    • tradedRate number
      The traded rate value.
    • dealAmount number
      The amount of the deal in the base currency.
    • totalExchangeAmount number
      The total exchange amount for the deal.
    • tradedAt string
      The timestamp when the traded rate was applied.
    • dealId string
      A unique identifier for the deal.