User

List supported billing countries

Retrieve the list of supported ISO 3166-1 alpha-2 country codes that can be used for billing information. Country values submitted through the billing endpoints are validated against this list, which excludes sanctioned and otherwise restricted countries.

get/billing/user/countries

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/billing/user/countries
  • Auth: API key in header api_key

Response

Returns the complete list of supported country codes. The example shows a representative sample.

statusboolean

Whether the request succeeded.

countriesstring[]

The supported ISO 3166-1 alpha-2 country codes that can be used for billing information. Codes for sanctioned or otherwise restricted countries are excluded.

Example response

{
  "status": true,
  "countries": [
    "AE",
    "AU",
    "BR",
    "CA",
    "DE",
    "FR",
    "GB",
    "IN",
    "JP",
    "SG",
    "US",
    "ZA"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.