# The FX Quote object

### The FX Quote object

```json
{
  "id": "fxq_1QKf8UET9NELqCotgW6CNTnm",
  "object": "fx_quote",
  "created": 1731498806.6424642,
  "lock_duration": "hour",
  "lock_expires_at": 1731502406.5579598,
  "lock_status": "active",
  "rates": {
    "gbp": {
      "exchange_rate": 1.10167,
      "rate_details": {
        "base_rate": 1.12415,
        "fx_fee_rate": 0.02,
        "reference_rate": 1.12437,
        "reference_rate_provider": "ecb"
      }
    },
    "krw": {
      "exchange_rate": 0.000617274,
      "rate_details": {
        "base_rate": 0.000629871,
        "fx_fee_rate": 0.02,
        "reference_rate": 0.000629997,
        "reference_rate_provider": "ecb"
      }
    }
  },
  "to_currency": "chf",
  "usage": {
    "payment": null,
    "transfer": null,
    "type": "payment"
  }
}
```

## Attributes

- `id` (string)
  Unique identifier for the object.

- `object` (string)
  String representing the object’s type. Objects of the same type share the same value.

- `created` (timestamp)
  Time at which the quote was created, measured in seconds since the Unix epoch.

- `lock_duration` (enum)
  The duration that the quote is locked for, from creation time. The quote will be usable for the duration specified.
Possible enum values:
  - `day`
    Requests a quote valid for one day

  - `five_minutes`
    Requests a quote valid for five minutes

  - `hour`
    Requests a quote valid for one hour

  - `none`
    Requests a quote valid without lock rate

- `lock_expires_at` (timestamp, nullable)
  Time at which the quote will expire, measured in seconds since the Unix epoch.

  If lock_duration is set to ‘none’ this field will be set to null.

- `lock_status` (enum)
  Lock status of the quote.  Transitions from active to expired once past the lock_expires_at timestamp.

  Can return value none, active, or expired.
Possible enum values:
  - `active`
    FX Quote lock is active

  - `expired`
    FX Quote lock has expired

  - `none`
    FX Quote does not have a lock status

- [`rates`](https://docs.stripe.com/api/fx_quotes/object.md?query=rates) (object)
  Information about the rates.

- `to_currency` (string)
  The currency to convert into, typically this is the currency that you want to settle to your Stripe balance. Three-letter ISO currency code, in lowercase. Must be a supported currency.

- [`usage`](https://docs.stripe.com/api/fx_quotes/object.md?query=usage) (object)
  The usage specific information for the quote.
