Refresh QuickBooks Online Exchange Rates

This action refreshes the QuickBooks Online exchange rates for the currencies configured with your account. Exchange rates are refreshed automatically daily.

Examples
curl –X POST https://secure.fusebill.com/v1/QuickBooksOnlineExchangeRates\ 
-H "Content-Type: application/json" \ 
-H "Authorization: Basic {APIKey}" \ 
-d "{}"
//Json data for payload 
string jsonData = "{}"; 
//Setup API key 
string apiKey = "{APIKey}"; 
//Configure URI 
WebRequest request = WebRequest.Create("HTTPS://secure.fusebill.com/v1/QuickBooksOnlineExchangeRates"); 
//Add Content type 
request.ContentType = "application/json"; 
//Add Api key authorization 
request.Headers.Add(HttpRequestHeader.Authorization, "Basic "+apiKey); 
//Set request method 
request.Method = "POST"; 
//Add the json data to request 
using (var streamWriter = new StreamWriter(request.GetRequestStream())) 
{ 
  streamWriter.Write(jsonData); 
  streamWriter.Flush(); 
  streamWriter.Close(); 
} 
//Perform the request 
var httpResponse = (HttpWebResponse)request.GetResponse(); 
//Record the response from our request 
var result = ""; 
using (var streamReader = new StreamReader(httpResponse.GetResponseStream())) 
{ 
  result = streamReader.ReadToEnd(); 
}
#Import library JSON 
import json 
#Import library Requests 
import requests 
#Pass in a dictionary to the Headers parameter 
headers = {'Authorization' : 'Basic {APIKey}', 'Content-Type' : 'application/json'} 
#Pass in a dict to the Payload parameter 
payload = {} 
#Pass in your URI, Payload and Headers 
r = requests.post('https://secure.fusebill.com/v1/QuickBooksOnlineExchangeRates', data=json.dumps(payload), headers=headers) 
print(r.content)
This request does not need a JSON payload
Response
{
  "exchangeRates": [
    {
      "exchangeRate": 1,
      "currency": {
        "id": 1,
        "isoName": "USD",
        "symbol": "$"
      },
      "createdTimestamp": "2019-09-13T15:15:18",
      "effectiveTimestamp": "2019-09-13T07:10:34",
      "id": 12345,
      "uri": null
    },
    {
      "exchangeRate": 0.0589,
      "currency": {
        "id": 19,
        "isoName": "RUB",
        "symbol": "₽"
      },
      "createdTimestamp": "2019-09-13T15:15:18",
      "effectiveTimestamp": "2019-09-13T07:10:34",
      "id": 12346,
      "uri": null
    }
  ]
}
Language
Authorization