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
-
sellCurrencyrequired
-
amountrequired
-
directionrequired
Response 200
-
quoteId
-
buyCurrency
-
buyAmount
-
sellCurrency
-
sellAmount
-
rate
-
direction
-
quotedAt
-
expiresAt
-
expiresInSeconds