Amount

  • The Money object represents monetary values using a JSON structure with amountMicros and currencyCode fields.

  • amountMicros is a required field specifying the amount in micros (a millionth of a standard unit) using the Int64Value format.

  • currencyCode is a required field using a 3-letter ISO 4217 currency code to indicate the currency associated with the amount.

Associates an amount in micros with a currency code.

JSON representation
{
  "amountMicros": string,
  "currencyCode": string
}
Fields
amountMicros

string (Int64Value format)

REQUIRED: An amount in micros.

currencyCode

string

REQUIRED: ISO 4217 3-letter currency code