curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/countries/{country} \
--header 'Authorization: Bearer <token>'{
"country": {
"code": "GB",
"name": "United Kingdom",
"asset": "GBP",
"restrictions": [],
"subdivisions": [
{
"code": "GB-BAS",
"name": "Bath and North East Somerset",
"restrictions": []
},
{
"code": "GB-LND",
"name": "London, City of",
"restrictions": []
}
]
}
}Retrieve a country by code.
curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/countries/{country} \
--header 'Authorization: Bearer <token>'{
"country": {
"code": "GB",
"name": "United Kingdom",
"asset": "GBP",
"restrictions": [],
"subdivisions": [
{
"code": "GB-BAS",
"name": "Bath and North East Somerset",
"restrictions": []
},
{
"code": "GB-LND",
"name": "London, City of",
"restrictions": []
}
]
}
}OAuth 2.0 authentication.
The unique code of the country.
Country retrieved.
Show child attributes
The unique code of the country.
The name of the country.
The national asset of the country.
The subdivisions of the country.
Show child attributes
The unique code of the subdivision.
The name of the subdivision.