{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/terminal-currency-conversion-schema.json", "title": "CurrencyConversion", "description": "A currency conversion occurred in the payment, and the merchant needs to know information related to this conversion (e.g. to print on the sale receipt). Information related to a currency conversion.", "type": "object", "properties": { "CustomerApprovedFlag": { "type": "boolean", "default": true, "description": "Notify if the customer has approved something. Indicates if the customer has accepted a currency conversion." }, "ConvertedAmount": { "$ref": "#/components/schemas/ConvertedAmount" }, "Rate": { "type": "string", "description": "Rate of currency conversion." }, "Markup": { "type": "string", "description": "Markup of a currency conversion amount as a percentage." }, "Commission": { "type": "number", "maximum": 99999999.999999, "minimum": 0, "description": "Commission for a currency conversion." }, "Declaration": { "type": "string", "pattern": "^.+$", "description": "If a declaration has to be presented to the customer." } }, "required": [ "ConvertedAmount" ] }