Amount

  • Represents monetary amounts with a numerical value (amountMicros) and a three-letter currency code (currencyCode).

  • amountMicros uses the Int64Value format and represents the value in micros, while currencyCode follows the ISO 4217 standard.

  • Both amountMicros and currencyCode fields are required for a valid representation.

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