Adyen · JSON Structure

Payments Forex Quote Structure

ForexQuote schema from Adyen API

Type: object Properties: 12 Required: 2
PaymentsFinancial ServicesFintech

ForexQuote is a JSON Structure definition published by Adyen, describing 12 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

account accountType baseAmount basePoints buy interbank reference sell signature source type validTill

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/payments-forex-quote-structure.json",
  "description": "ForexQuote schema from Adyen API",
  "type": "object",
  "properties": {
    "account": {
      "description": "The account name.",
      "type": "string"
    },
    "accountType": {
      "description": "The account type.",
      "type": "string"
    },
    "baseAmount": {
      "description": "The base amount.",
      "$ref": "#/components/schemas/Amount"
    },
    "basePoints": {
      "description": "The base points.",
      "type": "int32"
    },
    "buy": {
      "description": "The buy rate.",
      "$ref": "#/components/schemas/Amount"
    },
    "interbank": {
      "description": "The interbank amount.",
      "$ref": "#/components/schemas/Amount"
    },
    "reference": {
      "description": "The reference assigned to the forex quote request.",
      "type": "string"
    },
    "sell": {
      "description": "The sell rate.",
      "$ref": "#/components/schemas/Amount"
    },
    "signature": {
      "description": "The signature to validate the integrity.",
      "type": "string"
    },
    "source": {
      "description": "The source of the forex quote.",
      "type": "string"
    },
    "type": {
      "description": "The type of forex.",
      "type": "string"
    },
    "validTill": {
      "description": "The date until which the forex quote is valid.",
      "type": "datetime"
    }
  },
  "required": [
    "validTill",
    "basePoints"
  ],
  "name": "ForexQuote"
}