Modern Treasury · Schema

foreign_exchange_quote

FintechPaymentsACHWiresTreasury

Properties

Name Type Description
id string
object string
live_mode boolean This field will be true if this object exists in the live environment or false if it exists in the test environment.
created_at string
updated_at string
effective_at string The timestamp until when the quoted rate is valid.
expires_at string The timestamp until which the quote must be booked by.
foreign_exchange_indicator string Either `fixed_to_variable` if the `base_amount` was specified, or `variable_to_fixed` if the `target_amount` was specified when requesting the quote.
foreign_exchange_rate object The serialized rate information represented by this quote.
internal_account_id string The ID for the `InternalAccount` this quote is associated with.
metadata object Additional data represented as key-value pairs. Both the key and value must be strings.
vendor_id string This vendor assigned ID for this quote.
View JSON Schema on GitHub

JSON Schema

modern-treasury-foreign-exchange-quote-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/foreign_exchange_quote",
  "title": "foreign_exchange_quote",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "object": {
      "type": "string"
    },
    "live_mode": {
      "type": "boolean",
      "description": "This field will be true if this object exists in the live environment or false if it exists in the test environment."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "effective_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp until when the quoted rate is valid."
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp until which the quote must be booked by."
    },
    "foreign_exchange_indicator": {
      "type": "string",
      "description": "Either `fixed_to_variable` if the `base_amount` was specified, or `variable_to_fixed` if the `target_amount` was specified when requesting the quote."
    },
    "foreign_exchange_rate": {
      "$ref": "#/components/schemas/foreign_exchange_rate",
      "description": "The serialized rate information represented by this quote."
    },
    "internal_account_id": {
      "type": "string",
      "format": "uuid",
      "description": "The ID for the `InternalAccount` this quote is associated with."
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "key": "value",
        "foo": "bar",
        "modern": "treasury"
      },
      "description": "Additional data represented as key-value pairs. Both the key and value must be strings."
    },
    "vendor_id": {
      "type": "string",
      "description": "This vendor assigned ID for this quote."
    }
  },
  "additionalProperties": false,
  "required": [
    "id",
    "object",
    "live_mode",
    "created_at",
    "updated_at",
    "effective_at",
    "expires_at",
    "foreign_exchange_indicator",
    "foreign_exchange_rate",
    "internal_account_id",
    "metadata"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/modern-treasury-foreign-exchange-quote"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.