Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Via API

The following command authenticates you with your API credentials that you use for payment processing and returns the FX Rate upon successful authentication

Code Block
languagejava
firstline1
titleCommand-line example with curl
linenumberstrue
https://reports.primeiropay.com/fx?username=XXXXXXX&merchantId=XXXXXX&password=XXXXX

...

If the authentication is successful you will be returned with the current valid FX Rates:

Please note that only your settlement currency pair is being returned. If you wish to change your settlement currency, please contact your Account Manager.

Code Block
languagejs
firstline1
linenumberstrue
  {
  "rate" : [ {
    "currency_pair" : "BRLUSD",
    "rate" : "3.795674",
    "valid_until" : "2015-01-15 15:00:00.0"
  } ]
}

...