Etsy · Schema

Money

A representation of an amount of money.

MarketplaceEcommerceHandmadeListingsOrdersPaymentsReviewsShippingTaxonomyOAuth2

Properties

Name Type Description
amount integer The amount of represented by this data.
divisor integer The divisor to render the amount.
currency_code string The ISO currency code for this data.
View JSON Schema on GitHub

JSON Schema

open-api-v3-money-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Money",
  "description": "A representation of an amount of money.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etsy/refs/heads/main/json-schema/open-api-v3-money-schema.json",
  "type": "object",
  "properties": {
    "amount": {
      "type": "integer",
      "description": "The amount of represented by this data.",
      "example": 2500
    },
    "divisor": {
      "type": "integer",
      "description": "The divisor to render the amount.",
      "minimum": 0,
      "example": 1
    },
    "currency_code": {
      "type": "string",
      "description": "The ISO currency code for this data.",
      "example": "USD"
    }
  }
}