latestOpenAPI 3.0.02026-08-1056429755.6 KB

a6efafc1669c

Authorized Countries

Get authorized billing countries for a given site

Provide list of authorized billing countries by locale

get/v1/sites/{siteId}/authorized-billing-countries

Path parameters

siteIdstring required

The site's ID.

Query parameters

localestring

Only return authorized billing countries specific to the given locale

apiKeystring

The client identifier used to authorize the request. You must specify either an apiKey or token.

Response

Successful response.

Example response

{
  "authorizedBillingCountries": [
    {
      "locale": "en_US",
      "countries": [
        {
          "displayName": "Taiwan",
          "countryCode": "TW"
        }
      ]
    }
  ]
}