List countries
GET
/v1/a/info/countries
const url = 'https://example.com/v1/a/info/countries';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/a/info/countriesReturns the countries that account.country and a source’s country_code accept, as static reference data: ISO 3166-1 alpha-2 codes, lowercase, ordered by code.
Rules:
- The route takes no credential.
- The list has no paging.
- The list has no filtering.
Responses
Section titled “Responses”Permission
This operation needs no permission.
OK
Media typeapplication/json
object
items
required
Array<object>
object
code
required
Carries the country code: ISO 3166-1 alpha-2, lowercase.
string
name
required
string
Example
{ "items": [ { "code": "rs", "name": "Serbia" } ]}