Reverse a trade
Executes a reversal of a previously executed unsettled trade against a reverse quote.
Authorizations
Headers
Unique client-generated key for one FX operation. Within the idempotency window, sending the same request with the same key returns the stored response, including a stored failure. See Idempotency. Client-generated key for one logical FX operation.
^[a-zA-Z0-9_-]{1,255}$"3fa85f64-5717-4562-b3fc-2c963f66afa6"
Selects the environment on api.openfx.com. Omit this header or send SANDBOX to use Sandbox. Send LIVE for Live requests. Use an API key for the selected environment. See Environments.
"SANDBOX"
Path Parameters
Unique identifier of the original trade to reverse. A readable identifier with the prefix expected by the operation, or a canonical bare UUID. The service validates the identifier and decodes it to the underlying UUID; an unrecognized prefix or invalid encoding fails request validation.
1"tde_8XvH7fKH8hcFyopFF2PFas"
Body
Executes a reversal of the trade identified by id against a reverse quote.