Trade a Quote and Close The Deal
POST
/fx-rate-api/partner/fx/trade
The Execute Trade endpoint is used to initiate a foreign exchange trade on behalf of a partner, allowing them to execute a trade with a quote previously obtained from the rate api. A partner would call this endpoint when they wish to confirm and execute a trade, providing the external reference and quote ID obtained from the rate api. The endpoint returns the trade data, including the status and any relevant messages.
Request body
-
quoteIdrequiredUnique identifier for the FX quote
-
clientReferencerequiredClient-provided reference for the trade
Response 200
-
tradeReferenceUnique identifier for the trade
-
clientReferenceClient-provided reference for the trade
-
quoteIdIdentifier for the FX quote
-
buyCurrencyCurrency of the buy amount
-
buyAmountAmount to be bought
-
sellCurrencyCurrency of the sell amount
-
sellAmountAmount to be sold
-
rateFX rate applied to the trade
-
bookingTimeTime at which the trade was booked
-
bookingSourceSource of the trade booking