Execute Trade
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
| Field | Type | Description |
|---|---|---|
| externalReference required | string | — |
| quoteId required | string | — |
Response 200
| Field | Type | Description |
|---|---|---|
| success | boolean | — |
| externalReference | string | — |
| tradeData | object | — |
| status | string | — |
| message | string | — |
| systemReference | string | — |
| fixedSide | string | — |
| sourceCurrency | string | — |
| sourceAmount | number | — |
| targetCurrency | string | — |
| targetAmount | number | — |
| quoteId | string | — |
| rate | number | — |
| valueDate | string | — |