Money

  • Money objects represent a monetary value amount with its currency using JSON.

  • The kind field is deprecated and should not be used.

  • micros represents the monetary value in micros (e.g., 1 USD = 1000000 micros).

  • currencyCode specifies the currency used, such as USD or EUR.

JSON representation
{
  "kind": string,
  "micros": string,
  "currencyCode": string
}
Fields
kind
(deprecated)

string

Identifies what kind of resource this is. Value: the fixed string "walletobjects#money".

micros

string (int64 format)

The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros.

currencyCode

string

The currency code, such as "USD" or "EUR."