curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/countries \
--header 'Authorization: Bearer <token>'
{
"countries": [
{
"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": []
}
]
},
{
"code": "US",
"name": "United States of America",
"asset": "USD",
"restrictions": [],
"subdivisions": [
{
"code": "US-CA",
"name": "California",
"restrictions": []
},
{
"code": "US-NY",
"name": "New York",
"restrictions": [
{
"scope": "residence"
}
]
}
]
}
]
}
List countries supported by the platform.
curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/countries \
--header 'Authorization: Bearer <token>'
{
"countries": [
{
"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": []
}
]
},
{
"code": "US",
"name": "United States of America",
"asset": "USD",
"restrictions": [],
"subdivisions": [
{
"code": "US-CA",
"name": "California",
"restrictions": []
},
{
"code": "US-NY",
"name": "New York",
"restrictions": [
{
"scope": "residence"
}
]
}
]
}
]
}
OAuth 2.0 authentication.
Countries list retrieved.
The response is of type object
.