Use Cases

XFX supports a range of integration patterns depending on your operational needs. Below are the most common use cases, along with relevant endpoints and guidance.


1. Price Streaming

Stream real-time indicative FX prices for analysis, estimation, or internal decision-making.

Who uses this

  • Customer-facing pricing UIs
  • Treasury and ops teams
  • Pre-trade analytics and forecasting
⚠️

What to know

  • Pricing is indicative only
  • Quotes are non-executable
  • Indicative prices may differ from live executable quotes

High-level flow

Request indicative quote → Receive real-time rate → Display or analyze

Relevant endpoints

  • POST /v1/customer/quotes/indicative
💡

For guaranteed execution, see Requesting and Executing Quotes.


2. Requesting and Executing Quotes

Lock in a guaranteed FX rate and execute trades programmatically.

Who uses this

  • Automated FX execution
  • FX-as-a-Service (FXaaS)
  • Hedging and treasury workflows
📘

What to know

  • Quotes are executable
  • Quotes have a short validity window
  • Prices include your custom spreads

High-level flow

Request quote → Validate price → Execute quote → Transaction created

Relevant endpoints

  • POST /v1/customer/quotes
  • GET /v1/customer/quotes/{quoteId}
  • POST /v1/customer/quotes/{quoteId}/execute
  • POST /v1/customer/quotes/{quoteId}/cancel
⚠️

Always check quote status before execution.


3. Monitor Transactions

Track the status of executed trades from execution through settlement.

Who uses this

  • Internal dashboards
  • Operational monitoring
  • Downstream system triggers
  • Automated money movement

High-level flow

Execute quote → Receive transaction ID → Poll transaction status

Relevant endpoints

  • GET /v1/customer/transactions
  • GET /v1/customer/transactions/{transactionId}

4. Reconcile Transactions

Match executed trades with incoming deposits and completed settlements.

Who uses this

  • Finance and treasury teams
  • Reconciliation and accounting
  • Audit and reporting

High-level flow

Execute trade → Send deposit → XFX matches transaction → Settlement completes

Related sections