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

FieldTypeDescription
buyCurrency required string
sellCurrency required string
amount required number
direction required string

Response 200

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