| name | data type | constraints | description |
|---|---|---|---|
| currency | string | required, regex: [A-Z]{3} | ISO 4217 Alpha 3 currency code. |
| amount | string | required, regex: -?[0-9]{1,14}(\.[0-9]{1,3})? | 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 |
Example
{
"currency" : "...",
"amount" : "..."
}