Welcome‎ > ‎Version 3‎ > ‎Publisher Api‎ > ‎Data Structures‎ > ‎

Currency

When the currency of a dollar, et al, amount can not be inferred, it will be wrapped in this element which will define the amount, the currency symbol to be displayed and the ISO 4217 currency code.

Fields:
Field Data Type Nulls Description
amount float
The decimal representation of the currency amount.
isoCode
string

The three letter currency code of the currency. ISO 4217.
symbol string

The currency symbol that should be displayed, eg $, €, ¥
 

Sample JSON Response:
{
    "amount": 40.47,
    "isoCode": "EUR",
    "symbol": "€"
}



Sample XML Response:
<currency>
    <amount>40.47</amount>
    <isoCode>EUR</isoCode>
    <symbol>€</symbol>
</currency>

Comments