Square · JSON Structure

Money Structure

Represents an amount of money. Money fields can be signed or unsigned. The amount is specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents).

Type: object Properties: 2
RestaurantBookingsCatalogCheckoutCustomersDisputesEcommerceFinancial TechnologyGift CardsInventoryInvoicingLaborLocationsLoyaltyMerchantsOrdersPaymentsPoint of SaleRefundsRetailSubscriptionsTeamTerminalWebhooks

Square Money is a JSON Structure definition published by Square, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

amount currency

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/square/refs/heads/main/json-structure/money-structure.json",
  "name": "Square Money",
  "description": "Represents an amount of money. Money fields can be signed or unsigned. The amount is specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents).",
  "type": "object",
  "properties": {
    "amount": {
      "description": "The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.",
      "type": "int64"
    },
    "currency": {
      "description": "The type of currency, in ISO 4217 format. For example, the currency code for US dollars is USD.",
      "minLength": 3,
      "maxLength": 3,
      "type": "string"
    }
  }
}