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
| Name | Type | Description |
|---|---|---|
| tradeReferencerequired | string | — |
Request body (optional)
This endpoint accepts a body with no declared schema.
Response 200
| Field | Type | Description |
|---|---|---|
| tradeReference | string | — |
| clientReference | string | — |
| quoteId | string | — |
| buyCurrency | string | — |
| buyAmount | number | — |
| sellCurrency | string | — |
| sellAmount | number | — |
| rate | number | — |
| bookingTime | string | — |
| bookingSource | string | — |