Skip to main content

Currency Configuration

By default RateParity auto-detects and displays the end-user's preferred currency. To override this behavior, add the data-default-currency attribute to the installer script and set it to the desired ISO 4217 code.

Example — force Euro:

<script
src="https://code.rateparity.com/versions/installer.min.js"
data-default-currency="EUR"
defer
></script>

Common ISO 4217 examples:

  • EUR — Euro
  • USD — US Dollar
  • GBP — British Pound
  • CHF — Swiss Franc
  • AUD — Australian Dollar

If you need more complex behaviour, prefer calling the Client API setCurrency method (see Client API → General → setCurrency).