Money
Represents a monetary value.
type Money {
amount: Int!
currency: Currency!
display(format: MoneyDisplayFormat = STANDARD): String!
}
Fields
Money.amount
● Int!
non-null scalar
The amount of money in the smallest denomination of the target currency. In
USD
, for example, this represents cents.
Money.currency
● Currency!
non-null scalar
The ISO-4217 currency associated with this money (currently, only USD is supported)
Money.display
● String!
non-null scalar
The amount and currency formatted for display e.g. $10.00
Money.display.format
●MoneyDisplayFormat
enumThe format to use for display.
Member of
Account
object