Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Latest commit

 

History

History
13 lines (8 loc) · 1.14 KB

Money.md

File metadata and controls

13 lines (8 loc) · 1.14 KB

SquareConnect.Money

Description

Represents an amount of money. Money fields can be signed or unsigned. Fields that do not explicitly define whether they are signed or unsigned are considered unsigned and can only hold positive amounts. For signed fields, the sign of the value indicates the purpose of the money transfer. See Working with Monetary Amounts for more information.

Properties

Name Type Description Notes
amount Number The amount of money, in the smallest denomination of the currency indicated by `currency`. For example, when `currency` is `USD`, `amount` is in cents. Monetary amounts can be positive or negative. See the specific field description to determine the meaning of the sign in a particular case. [optional]
currency String The type of currency, in ISO 4217 format. For example, the currency code for US dollars is `USD`. See `Currency` for possible values. See Currency for possible values [optional]