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
Request body (optional)
This endpoint accepts a body with no declared schema.
Response 200
-
tradeReferenceUnique identifier for the trade
-
clientReferenceUnique identifier for the client's transaction
-
quoteIdUnique identifier for the FX quote
-
buyCurrencyCurrency of the funds being purchased
-
buyAmountAmount of funds being purchased
-
sellCurrencyCurrency of the funds being sold
-
sellAmountAmount of funds being sold
-
rateFX exchange rate applied to the trade
-
bookingTimeTime at which the trade was booked
-
bookingSourceSystem or user that initiated the trade booking