FXv2
Preview spread rates
Preview BUY/SELL rates that would be applied for a given currency pair, tariff, and MID rate
GET
/v2/fx/spreads/previewQuery Parameters
fx_tariff_id?string
FX tariff ID (optional)
provider?string
Rate provider (optional)
base_currency*string
Base currency code
target_currency*string
Target currency code
mid_rate*number
MID rate to apply spreads to
at?string
Timestamp for which to resolve spreads (ISO 8601)
Response Body
application/json
curl -X GET "https://example.com/v2/fx/spreads/preview?base_currency=string&target_currency=string&mid_rate=0"{
"mid_rate": 1.0923,
"bid_rate": 1.0878,
"ask_rate": 1.0968,
"bid_spread_bps": 50,
"ask_spread_bps": 50,
"applied_rule_ids": [
"c3f728eb-7f89-44c5-8a0d-db30827f9b2e"
],
"spread_rule_id": "uuid1"
}Empty
Empty
Empty