Amount

currency
required
string^[A-Z]{3}$

A valid, active currency code as defined in ISO 4217 indicating the currency of the amount.

value
required
number <double> >= 0

The payment amount in the denomination of the indicated currency, in the format '. with the number of minor units (fractional digits) compliant with the number of decimal places published in ISO 4217.

Currency Code Example Valid Notes
USD 10.0 Represents 10 USD and no cents.
USD 10.00
USD 10.001 US dollar does not support three decimal places.
JPY 10.0 Represents 10 Japanese Yen.
JPY 10.1 Japanese Yen does not support decimal places.
{
  • "currency": "string",
  • "value": 0
}
Copyright © Electrum Payments (Pty) Ltd. 2019-2023. All right reserved.