---
title: "FX quote updated"
method: POST
path: "fx_quote.updated"
tags: ["Webhooks"]
---

# FX quote updated

`POST fx_quote.updated` (webhook)

Sent when an FX quote changes status (`ACTIVE` → `COMPLETED`, `FAILED`, `EXPIRED`, etc.). Set the destination URL using `callback_url` when creating the quote. The body is identical to the [Get FX Quote](ref:v1_8_get_quote) response.

## Payload

- GetFxQuoteResult
  - `id` string, required: Quote ID
  - `company_id` string, required: Company ID
  - `external_id` string: External ID of the quote
  - `source_amount` string, required: Amount to transfer from source to target account (in source account currency)
  - `target_amount` string: Amount to receive in the target account currency (in target account currency)
  - `status` string, required: Status of the quote
  - `failure_reason` string: Reason of the failure, if applicable
  - `limits_warning` FxQuoteLimitsWarning
    - `rule_code` string, required: Provider account limit rule the quote would break
    - `message` string, required: Why the internal transfer may be rejected when the quote is executed
  - `source_account_id` string, required: Source account ID
  - `target_account_id` string, required: Target account ID
  - `rate` string: FX rate
  - `expire_at` string, date-time: Expiration date of the rate
  - `created_at` string, date-time: Creation date of the quote
  - `updated_at` string, date-time: Last update date of the quote
  - `callback_url` string: URL to send a POST request with the result of the quote. The schema of the POST request is the same as the response of this endpoint
  - `company` CompanyToIncludeInResponses, required
    - `id` string, required
    - `name` string, required
  - `source_account` AccountToIncludeInResponses, required
    - `id` string, required
    - `account_number` string, required
    - `currency` string, required
    - `country` string, required
    - `company` CompanyToIncludeInResponses, required
      - `id` string, required
      - `name` string, required
  - `target_account` AccountToIncludeInResponses, required
    - `id` string, required
    - `account_number` string, required
    - `currency` string, required
    - `country` string, required
    - `company` CompanyToIncludeInResponses, required
      - `id` string, required
      - `name` string, required

## Acknowledgement `200`

Any 2xx response is treated as a successful acknowledgement. Infinia will retry delivery on non-2xx responses.

---

[API](https://skmtc.dev/infiniaweb/apis/accounts.md) - [All operations](https://skmtc.dev/infiniaweb/apis/accounts/llms.txt) - [OpenAPI document](https://skmtc.dev/infiniaweb/apis/accounts/revisions/2faae77050e4?raw)
