{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-exchange-reasons-schema.json", "title": "ExchangeReasons", "description": "The list of available exchange reasons.", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/revolut-foreign-exchange-api-openapi.yml#/components/schemas/ExchangeReasons", "type": "array", "items": { "$ref": "#/$defs/ExchangeReason" }, "$defs": { "ExchangeReason": { "type": "object", "required": [ "code", "name" ], "properties": { "code": { "type": "string", "enum": [ "business_expense_and_claims", "fees_and_charges", "fund_transfer_and_intracompany_payment", "gifts_and_donations", "government_services_and_tax", "insurance", "inventory", "investment_dividend_and_interest", "loan_and_loan_repayment", "marketing", "payment_for_goods_and_services", "payroll", "refund", "rental_and_property", "sales", "service_provider_and_software", "travel_and_transportation", "utilities" ], "description": "Category code of the reason for the exchange." }, "name": { "type": "string", "description": "Category name of the reason for the exchange." } } } } }