Get country by ISO Code
With the /countries/{countrycode}
endpoint, you can retrieve the details of a country by making a request with its ISO code
Country by ISO code
GET
https://topups.reloadly.com/countries/{countrycode}
Path Parameters
countryCode*
string
The country's ISO Code
Headers
Authorization*
string
Your access token is required as a bearer token in the request's header
{
"isoName":"US",
"name":"United States",
"currencyCode":"USD",
"currencyName":"US Dollar",
"currencySymbol":"$",
"flag":"https://s3.amazonaws.com/rld-flags/us.svg",
"callingCodes":[
"+1"
]
}
Request samples
curl --location --request GET 'https://topups.reloadly.com/countries/PK' \
--header 'Accept: application/com.reloadly.topups-v1+json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN_HERE'
Response parameters
Parameters
Type
Description
isoName
string
This indicates the ISO code of the country
name
string
This indicates the country's name
currencyCode
string
This indicates the code of the country's currency
currencyName
string
This indicates the name of the country's currency
currencySymbol
string
This indicates the symbol of the country's currency
flag
string
This is a link to an SVG image of the country's flag
callingCodes
string
This indicates the country's international dialing code
Last updated
Was this helpful?