SquareConnect::Money

March 27, 2019 ยท View on GitHub

Description

Represents an amount of money. Important: Unlike version 1 of the Connect API, all monetary amounts returned by v2 endpoints are positive. (In v1, monetary amounts are negative if they represent money being paid by a merchant, instead of money being paid to a merchant.)

Properties

NameTypeDescriptionNotes
amountIntegerThe amount of money, in the smallest denomination of the currency indicated by `currency`. For example, when `currency` is `USD`, `amount` is in cents.[optional]
currencyStringThe type of currency, in ISO 4217 format. For example, the currency code for US dollars is `USD`. See Currency for possible values[optional]