Amount Data Type

An amount of money in a certain currency

name data type constraints description
amount number required, max digits: 14 (integer), 3 (fraction)

The amount given with fractional digits, where fractions must be compliant to the currency definition. Up to 14 significant figures. Negative amounts are signed by minus. The decimal separator is a dot.

Example: Valid representations for EUR with up to two decimals are:

  • 1056
  • 5768.2
  • -1.50
  • 5877.78
currency string required, regex: [A-Z]{3} ISO 4217 Alpha 3 currency code


  "amount" : 5877.78,
  "currency" : "EUR"