CSL Pay Developers

Request an FX Quote

POST /fx-rate-api/request/quote

This endpoint requests an FX quote from the CSL Pay platform, providing the necessary information to generate a quote for a specific currency exchange. A partner would call this endpoint when they need to obtain a quote for a potential FX transaction, allowing them to plan and manage their currency exchange requirements. The endpoint accepts a POST request with the required fields and returns a quote ID and the corresponding FX quote details.

Request body

  • buyCurrencyrequired string
  • sellCurrencyrequired string
  • amountrequired number
  • directionrequired string

Response 200

  • quoteId string
  • buyCurrency string
  • buyAmount number
  • sellCurrency string
  • sellAmount number
  • rate number
  • direction string
  • quotedAt string
  • expiresAt string
  • expiresInSeconds integer