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

Latest commit

 

History

History
13 lines (8 loc) · 875 Bytes

Money.md

File metadata and controls

13 lines (8 loc) · 875 Bytes

SquareConnect::Money

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

Name Type Description Notes
amount Integer The amount of money, in the smallest denomination of the currency indicated by `currency`. For example, when `currency` is `USD`, `amount` is in cents. [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 [optional]