Find A Trade By The Client Reference You Supplied
GET
/fx-rate-api/fx/orders/reference
This endpoint retrieves a trade by its external reference, allowing a partner to retrieve the status and details of a previously submitted trade. A partner would call this endpoint when they need to check the status of a trade that was submitted using the external reference. The endpoint returns the trade data, including its status, message, and system reference.
Query parameters
-
clientReference
Request body (optional)
This endpoint accepts a body with no declared schema.
Response 200
-
successIndicates the outcome of the request
-
externalReferenceA unique identifier for the external system making the request
-
tradeDataContains information about the trade
-
fixedSideThe side of the trade that is fixed
-
sourceCurrencyThe currency of the source amount
-
sourceAmountThe amount in the source currency
-
targetCurrencyThe currency of the target amount
-
targetAmountThe amount in the target currency
-
rateThe exchange rate used for the trade
-
quoteIdA unique identifier for the quote used for the trade
-
quoteValidUntilDateTimeThe date and time until which the quote is valid
-
settlementStatusThe settlement status of the trade, indicating whether the trade has been settled or not. The possible values are UNSETTLED and SETTLED. UNSETTLED is not an error or a pending approval. The rate is fixed, the trade is binding, and neither party can back out. It means only that disbursement has not happened yet. SETTLED is set once and never revisited. A deal already SETTLED cannot be credited again - the API refuses, which is what prevents a double credit.
-