I am trying to get the currency symbol based on ipinfo provides using javascript. So far I am able to get the countries' names and other info from ipinfo using the following code below, but I need to find a way to use these infos to know the currency used on that particular country.
$.get("https://ipinfo.io", function(response) {
alert(response.country);
}, "jsonp");