Price

  • Name
    amount
    Type
    integer
    Description

    The price amount in the currency's minor unit, e.g. "cents" for many currencies.

    Most currencies have two decimals, so USD 9.99 is 999. These currencies have a different number of decimals, e.g. JPY 28,500 is 28500:

    • 0 decimals: CLP, ISK, JPY, KRW
    Example: 999
    >= 0
  • Name
    currency
    Type
    string
    Description

    Three-letter ISO 4217 currency code. Must be a supported currency.

    Example: "USD"

Price object

{
  "amount": 999,
  "currency": "USD"
}