{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/currency", "title": "Currency", "type": "object", "description": "The currency and amount for a financial transaction, such as a balance or payment due.", "properties": { "currency": { "type": "string", "description": "The [three-character ISO-4217 currency code](/docs/integration/direct/rest/currency-codes/)." }, "value": { "type": "string", "description": "The value, which might be:For the required number of decimal places for a currency code, see [Currency codes - ISO 4217](https://www.iso.org/iso-4217-currency-codes.html)." } }, "required": [ "currency", "value" ] }