Skip to main content

Overview

The FX API provides functionality for managing:
  • Exchange rate operations
  • FX tariffs and fee structures
  • Currency conversion
  • Rate source management

Core Concepts

Exchange Rate Types

  • BUY: Customer buys target currency
  • SELL: Customer sells target currency

Rate Sources

  • european_bank: European Central Bank rates
  • currency_cloud: Currency Cloud provider rates

Fee Calculation Methods

MethodDescriptionFormula
fixedFixed fee amountfee = fixed_fee
percentagePercentage of amountfee = amount * (percent_fee/100)
greaterGreater of fixed/percentfee = max(fixed_fee, percent_fee)
lesserLesser of fixed/percentfee = min(fixed_fee, percent_fee)
sumSum of fixed and percentfee = fixed_fee + percent_fee

Validation Rules

Amount Constraints

  • Must be positive number
  • Within min/max limits
  • Proper decimal places

Fee Rules

  • Valid date range required
  • Non-overlapping ranges
  • Valid calculation method

Security Requirements

  • Rate updates require elevated access
  • Tariff management restricted
  • Changes are audited
  • Source must be authorized
See individual endpoint documentation for detailed request/response formats and examples.