Amount

  • This documentation details the JSON representation for associating a monetary amount with its currency.

  • The representation uses amountMicros for the amount in micros (Int64Value format) and currencyCode for the 3-letter ISO 4217 currency code.

  • Both amountMicros and currencyCode fields are required.

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