Skip to main content
GET
/
v1
/
countries
/
{CountryCode}
Get Country by Code
curl --request GET \
  --url https://qa-lynx.nayax.com/operational/v1/countries/{CountryCode} \
  --header 'Authorization: <api-key>'
{
  "CountryID": 123,
  "CountryCode": "<string>",
  "CountryName": "<string>",
  "CountryDialingCode": 123,
  "CountryReference": 123,
  "CountryISONumericCode": 123
}

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Path Parameters

CountryCode
string
required

The unique code of the country to be retrieved.

Response

200 - application/json

The details of the country associated with the specified code.

Represents detailed information about a country, including its identifiers, name, and dialing code.

CountryID
integer<int32> | null

The unique identifier of the country.

CountryCode
string | null

The ISO 3166-1 alpha-2 code of the country (e.g., "US" for the United States).

CountryName
string | null

The full name of the country.

CountryDialingCode
integer<int32> | null

The international dialing code for the country (e.g., 1 for the United States).

CountryReference
integer<int32> | null

An internal reference number associated with the country.

CountryISONumericCode
integer<int32> | null

The ISO 3166-1 numeric code of the country (e.g., 840 for the United States).