Airwallex · JSON Structure

Airwallex Fx Quote Structure

An Airwallex foreign exchange rate quote for currency conversion.

Type: object Properties: 8 Required: 4
Cross-Border PaymentsFinTechForeign ExchangePaymentsGlobalEmbedded FinanceMulti-Currency

FxQuote is a JSON Structure definition published by Airwallex, describing 8 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

quote_id from_currency to_currency rate from_amount to_amount expires_at created_at

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

airwallex-fx-quote-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/airwallex/refs/heads/main/json-structure/airwallex-fx-quote-structure.json",
  "name": "FxQuote",
  "description": "An Airwallex foreign exchange rate quote for currency conversion.",
  "type": "object",
  "properties": {
    "quote_id": {
      "type": "string",
      "description": "Unique quote identifier.",
      "example": "qte_abc123"
    },
    "from_currency": {
      "type": "string",
      "description": "Source currency ISO 4217 code.",
      "example": "USD"
    },
    "to_currency": {
      "type": "string",
      "description": "Target currency ISO 4217 code.",
      "example": "GBP"
    },
    "rate": {
      "type": "double",
      "description": "Quoted exchange rate (from_currency to to_currency).",
      "example": 0.7825
    },
    "from_amount": {
      "type": "double",
      "description": "Source amount to convert.",
      "example": 1000.0
    },
    "to_amount": {
      "type": "double",
      "description": "Target amount after conversion.",
      "example": 782.5
    },
    "expires_at": {
      "type": "datetime",
      "description": "Timestamp when the quote expires.",
      "example": "2026-04-19T10:32:00Z"
    },
    "created_at": {
      "type": "datetime",
      "description": "Quote creation timestamp.",
      "example": "2026-04-19T10:30:00Z"
    }
  },
  "required": [
    "quote_id",
    "from_currency",
    "to_currency",
    "rate"
  ]
}