Price

  • Price is represented using JSON with amountMicros and currencyCode fields.

  • amountMicros is a string representing the price in micros, where 1 million micros equals one unit of the currency.

  • currencyCode is a string using a three-letter acronym based on ISO 4217 to indicate the currency.

The price represented as a number and currency.

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

string (int64 format)

The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).

currencyCode

string

The currency of the price using three-letter acronyms according to ISO 4217.