> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.hopnow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Execute FX Quote

> Execute a foreign exchange quote to perform the currency conversion

## Path Parameters

<ParamField path="account_id" type="string" required>
  The account's external ID (starts with `acc_`)
</ParamField>

<ParamField path="quote_id" type="string" required>
  The FX quote's external ID (starts with `fxq_`)
</ParamField>

## Response

<ResponseField name="id" type="string">
  FX trade identifier (starts with `fxt_`)
</ResponseField>

<ResponseField name="object" type="string">
  Always returns `"fx_trade"`
</ResponseField>

<ResponseField name="account_id" type="string">
  Account ID
</ResponseField>

<ResponseField name="quote_id" type="string">
  FX quote ID
</ResponseField>

<ResponseField name="source_currency" type="string">
  Source currency code
</ResponseField>

<ResponseField name="target_currency" type="string">
  Target currency code
</ResponseField>

<ResponseField name="amount_type" type="string">
  Whether the amount is `source` or `target`
</ResponseField>

<ResponseField name="source_amount" type="string">
  Source currency amount (decimal)
</ResponseField>

<ResponseField name="target_amount" type="string">
  Target currency amount (decimal)
</ResponseField>

<ResponseField name="all_in_rate" type="string">
  All-in exchange rate (decimal)
</ResponseField>

<ResponseField name="status" type="string">
  Trade status: `pending`, `completed`, or `failed`
</ResponseField>

<ResponseField name="trade_type" type="string">
  Type of trade (e.g., `market`)
</ResponseField>

<ResponseField name="executed_at" type="string">
  ISO 8601 timestamp when trade was executed
</ResponseField>

<ResponseField name="note" type="string">
  Optional note
</ResponseField>

<ResponseField name="created" type="string">
  ISO 8601 timestamp when created
</ResponseField>

<ResponseField name="updated" type="string">
  ISO 8601 timestamp when last updated
</ResponseField>

## Response Example

```json theme={null}
{
  "id": "fxt_1234567890abcdef",
  "object": "fx_trade",
  "account_id": "acc_1234567890abcdef",
  "quote_id": "fxq_1234567890abcdef",
  "source_currency": "USD",
  "target_currency": "EUR",
  "amount_type": "source",
  "source_amount": "1000.00",
  "target_amount": "855.69",
  "all_in_rate": "0.85569",
  "status": "completed",
  "trade_type": "market",
  "executed_at": "2024-01-15T10:00:30Z",
  "note": null,
  "created": "2024-01-15T10:00:30Z",
  "updated": "2024-01-15T10:00:30Z"
}
```
