Price

  • The JSON object represents the price of a service or fee using priceMicros, currencyCode, and pricingOptionTag.

  • priceMicros represents the price in the smallest currency unit (micro-units) as a string formatted as an int64, with fractions rounded to the nearest even value.

  • currencyCode is a string that defines the currency using the ISO 4217 standard.

  • pricingOptionTag is an optional string used to identify the specific pricing option associated with this price.

The price of a service or a fee.

JSON representation
{
  "priceMicros": string,
  "currencyCode": string,
  "pricingOptionTag": string
}
Fields
priceMicros

string (int64 format)

The price in micro-units of the currency. Fractions of smallest currency unit will be rounded using nearest even rounding. (e.g. For USD 2.5 cents rounded to 2 cents, 3.5 cents rounded to 4 cents, 0.5 cents rounded to 0 cents, 2.51 cents rounded to 3 cents).

currencyCode

string

The currency of the price that is defined in ISO 4217.

pricingOptionTag

string

An optional and opaque string that identifies the pricing option that is associated with the extended price.