Bunq · Schema

TransferwiseQuoteTemporary

Banking

Properties

Name Type Description
currency_source string The source currency.
currency_target string The target currency.
amount_source object The source amount. Required if target amount is left empty.
amount_target object The target amount. Required if source amount is left empty.
View JSON Schema on GitHub

JSON Schema

bunq-transferwisequotetemporary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TransferwiseQuoteTemporary",
  "title": "TransferwiseQuoteTemporary",
  "type": "object",
  "properties": {
    "currency_source": {
      "type": "string",
      "description": "The source currency.",
      "readOnly": false,
      "writeOnly": true
    },
    "currency_target": {
      "type": "string",
      "description": "The target currency.",
      "readOnly": false,
      "writeOnly": true
    },
    "amount_source": {
      "type": "object",
      "description": "The source amount. Required if target amount is left empty.",
      "readOnly": false,
      "writeOnly": false,
      "$ref": "#/components/schemas/Amount"
    },
    "amount_target": {
      "type": "object",
      "description": "The target amount. Required if source amount is left empty.",
      "readOnly": false,
      "writeOnly": false,
      "$ref": "#/components/schemas/Amount"
    }
  },
  "required": [
    "currency_source",
    "currency_target"
  ]
}