CSL Pay Developers

Retrieve A Closed Deal By Trade Reference

GET /fx-rate-api/deal/{tradeReference}

This endpoint retrieves a closed deal by its trade reference, allowing partners to access historical transaction data. A partner would call this endpoint when they need to retrieve details of a previously executed foreign exchange transaction. The endpoint returns the key details of the deal, including the trade reference, client reference, and exchange rate.

Path parameters

  • tradeReferencerequired string

Request body (optional)

This endpoint accepts a body with no declared schema.

Response 200

  • tradeReference string
    Unique identifier for the trade
  • clientReference string
    Unique identifier for the client's transaction
  • quoteId string
    Unique identifier for the FX quote
  • buyCurrency string
    Currency of the funds being purchased
  • buyAmount number
    Amount of funds being purchased
  • sellCurrency string
    Currency of the funds being sold
  • sellAmount number
    Amount of funds being sold
  • rate number
    FX exchange rate applied to the trade
  • bookingTime string
    Time at which the trade was booked
  • bookingSource string
    System or user that initiated the trade booking