Amount

  • The amount unit is described using JSON, specifying the currency code and amount in micros.

  • Currency codes adhere to ISO-4217 standards (e.g., USD), while the amount is represented in micros, where 1,000,000 micros equals one unit of the currency.

Describes the amount unit including the currency code.

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

string

Required. Currency codes in accordance with ISO-4217 Currency Codes . For example, USD.

amountMicros

string ( int64 format)

Required. Amount in micros (1_000_000 micros = 1 currency unit)

Design a Mobile Site
View Site in Mobile | Classic
Share by: