curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/countries/{country} \
--header 'Authorization: Bearer <token>'{
"country": {
"code": "<string>",
"name": "<string>",
"asset": "<string>",
"restrictions": [
{
"scope": "citizenship"
}
],
"subdivisions": [
{
"code": "<string>",
"name": "<string>",
"restrictions": [
{
"scope": "residence"
}
]
}
]
}
}Retrieve a country by code.
curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/countries/{country} \
--header 'Authorization: Bearer <token>'{
"country": {
"code": "<string>",
"name": "<string>",
"asset": "<string>",
"restrictions": [
{
"scope": "citizenship"
}
],
"subdivisions": [
{
"code": "<string>",
"name": "<string>",
"restrictions": [
{
"scope": "residence"
}
]
}
]
}
}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.