The currency object has the following attributes:

currency.name

Returns the name of the currency (for example United States dollars or Euro).

currency.iso_code

Returns the ISO code of the currency (for example USD or EUR).

currency.symbol

Returns the symbol of the currency (for example $ or €).

Example

Use this snippet to show information about a currency.

ISO Code: {{ currency.iso_code }}
Name: {{ currency.name }}
Symbol: {{ currency.symbol }}
ISO Code: EUR
Name: Euro
Symbol: €

Learn more