cURL
curl --request GET \ --url https://api.enterprise.sandbox.uphold.com/core/countries/{country} \ --header 'Authorization: Bearer <token>'
200
Country Retrieved
{ "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.
OAuth 2.0 authentication.
The unique code of the country.
Country retrieved.
The response is of type object.
object