Request Quote
POST
/fx-rate-api/partner/fx/quote
This endpoint is used to request a foreign exchange quote from the CSL Pay platform. A partner would call this endpoint when they need to obtain a quote for a specific foreign exchange transaction, typically before initiating the transaction. The endpoint accepts a request containing the fixed side of the transaction, the source currency, the source amount, and the target currency, and returns a response containing the quote data and a system reference.
Request body
| Field | Type | Description |
|---|---|---|
| fixedSide required | string | — |
| sourceCurrency required | string | — |
| sourceAmount required | number | — |
| targetCurrency required | string | — |
Response 200
| Field | Type | Description |
|---|---|---|
| success | boolean | — |
| quoteDataResponse | object | — |
| status | string | — |
| message | string | — |
| systemReference | string | — |
| fixedSide | string | — |
| sourceCurrency | string | — |
| sourceAmount | number | — |
| targetCurrency | string | — |
| targetAmount | number | — |
| quoteId | string | — |
| rate | number | — |
| valueDate | string | — |