{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ConvertedAmount",
"title": "ConvertedAmount",
"type": "object",
"properties": {
"convertedFromCurrency": {
"type": "string",
"description": "The three-letter ISO 4217 code representing the currency of the amount in the convertedFromValue field. This value is required or returned only if currency conversion/localization is required, and represents the pre-conversion currency. For implementation help, refer to eBay API documentation"
},
"convertedFromValue": {
"type": "string",
"description": "The monetary amount before any conversion is performed, in the currency specified by the convertedFromCurrency field. This value is required or returned only if currency conversion/localization is required. The value field contains the converted amount of this value, in the currency specified by the currency field."
},
"currency": {
"type": "string",
"description": "The three-letter ISO 4217 code representing the currency of the amount in the value field. If currency conversion/localization is required, this is the post-conversion currency of the amount in the value field.
Default: The currency of the authenticated user's country. For implementation help, refer to eBay API documentation"
},
"value": {
"type": "string",
"description": "The monetary amount in the currency specified by the currency field. If currency conversion/localization is required, this value is the converted amount, and the convertedFromValue field contains the amount in the original currency."
}
},
"description": "This type defines the monetary value of an amount. It can provide the amount in both the currency used on the eBay site where an item is being offered and the conversion of that value into another currency, if applicable."
}