End-point overview #

URL:

https://crm-api-test.10npay.com/api/v1/country


HTTP Method: GET

Headers #

accept: application/json

Authorization: Bearer {token}

Example Request #

To make a request to the countries endpoint, use the following curl command:

curl -X 'GET' \
'https://crm-api-test.10npay.com/api/v1/country' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {your_token_here}'

Note: Replace {your_token_here} with the actual Bearer token obtained from the /Auth/validate step.

Response #

Status Code: 200 OK

Response Body: A JSON array of countries

Example Response

[
	{
		"id": "PK",
		"name": "Pakistan"
	},
	{
		"id": "OM",
		"name": "Oman"
	},
	{
		"id": "NO",
		"name": "Norway"
	},
	{
		"id": "MP",
		"name": "Northern Mariana Islands"
	},
	{
		"id": "NG",
		"name": "Nigeria"
	},
	{
		"id": "NU",
		"name": "Niue"
	},
	{
		"id": "NE",
		"name": "Niger"
	},
	{
		"id": "NI",
		"name": "Nicaragua"
	},
	{
		"id": "PW",
		"name": "Palau"
	},
	{
		"id": "NZ",
		"name": "New Zealand"
	},
	{
		"id": "NF",
		"name": "Norfolk Island"
	},
	{
		"id": "PS",
		"name": "Palestinian Territory, Occupied"
	},
	{
		"id": "PT",
		"name": "Portugal"
	},
	{
		"id": "PG",
		"name": "Papua New Guinea"
	},
	{
		"id": "PE",
		"name": "Peru"
	},
	{
		"id": "PH",
		"name": "Philippines"
	},
	{
		"id": "PN",
		"name": "Pitcairn"
	},
	{
		"id": "PL",
		"name": "Poland"
	},
	{
		"id": "PR",
		"name": "Puerto Rico"
	},
	{
		"id": "QA",
		"name": "Qatar"
	},
	{
		"id": "RO",
		"name": "Romania"
	},
	{
		"id": "RU",
		"name": "Russian Federation"
	},
	{
		"id": "RW",
		"name": "Rwanda"
	},
	{
		"id": "AN",
		"name": "Netherlands Antilles"
	},
	{
		"id": "PA",
		"name": "Panama"
	},
	{
		"id": "NL",
		"name": "Netherlands"
	},
	{
		"id": "MH",
		"name": "Marshall Islands"
	},
	{
		"id": "NR",
		"name": "Nauru"
	},
	{
		"id": "LY",
		"name": "Libya"
	},
	{
		"id": "LI",
		"name": "Liechtenstein"
	},
	{
		"id": "LT",
		"name": "Lithuania"
	},
	{
		"id": "LU",
		"name": "Luxembourg"
	},
	{
		"id": "MO",
		"name": "Macao, Special Administrative Region of China"
	},
	{
		"id": "MK",
		"name": "Macedonia, Republic of"
	},
	{
		"id": "MG",
		"name": "Madagascar"
	},
	{
		"id": "MW",
		"name": "Malawi"
	},
	{
		"id": "MY",
		"name": "Malaysia"
	},
	{
		"id": "MV",
		"name": "Maldives"
	},
	{
		"id": "ML",
		"name": "Mali"
	},
	{
		"id": "MT",
		"name": "Malta"
	},
	{
		"id": "SH",
		"name": "Saint Helena"
	},
	{
		"id": "MR",
		"name": "Mauritania"
	},
	{
		"id": "MU",
		"name": "Mauritius"
	},
	{
		"id": "MX",
		"name": "Mexico"
	},
	{
		"id": "MD",
		"name": "Moldova"
	},
	{
		"id": "MC",
		"name": "Monaco"
	},
	{
		"id": "MN",
		"name": "Mongolia"
	},
	{
		"id": "ME",
		"name": "Montenegro"
	},
	{
		"id": "MS",
		"name": "Montserrat"
	},
	{
		"id": "MA",
		"name": "Morocco"
	},
	{
		"id": "MZ",
		"name": "Mozambique"
	},
	{
		"id": "MM",
		"name": "Myanmar"
	},
	{
		"id": "NA",
		"name": "Namibia"
	},
	{
		"id": "NP",
		"name": "Nepal"
	},
	{
		"id": "KN",
		"name": "Saint Kitts and Nevis"
	},
	{
		"id": "SI",
		"name": "Slovenia"
	},
	{
		"id": "PM",
		"name": "Saint Pierre and Miquelon"
	},
	{
		"id": "TH",
		"name": "Thailand"
	},
	{
		"id": "TL",
		"name": "Timor-Leste"
	},
	{
		"id": "TG",
		"name": "Togo"
	},
	{
		"id": "TK",
		"name": "Tokelau"
	},
	{
		"id": "TO",
		"name": "Tonga"
	},
	{
		"id": "TT",
		"name": "Trinidad and Tobago"
	},
	{
		"id": "TN",
		"name": "Tunisia"
	},
	{
		"id": "TR",
		"name": "Turkey"
	},
	{
		"id": "TM",
		"name": "Turkmenistan"
	},
	{
		"id": "TC",
		"name": "Turks and Caicos Islands"
	},
	{
		"id": "TV",
		"name": "Tuvalu"
	},
	{
		"id": "UG",
		"name": "Uganda"
	},
	{
		"id": "UA",
		"name": "Ukraine"
	},
	{
		"id": "AE",
		"name": "United Arab Emirates"
	},
	{
		"id": "GB",
		"name": "United Kingdom"
	},
	{
		"id": "US",
		"name": "United States of America"
	},
	{
		"id": "UY",
		"name": "Uruguay"
	},
	{
		"id": "UZ",
		"name": "Uzbekistan"
	},
	{
		"id": "VU",
		"name": "Vanuatu"
	},
	{
		"id": "VE",
		"name": "Venezuela (Bolivarian Republic of)"
	},
	{
		"id": "VN",
		"name": "Vietnam"
	},
	{
		"id": "VI",
		"name": "Virgin Islands, US"
	},
	{
		"id": "YE",
		"name": "Yemen"
	},
	{
		"id": "ZM",
		"name": "Zambia"
	},
	{
		"id": "ZW",
		"name": "Zimbabwe"
	},
	{
		"id": "TZ",
		"name": "Tanzania, United Republic of"
	},
	{
		"id": "LC",
		"name": "Saint Lucia"
	},
	{
		"id": "TJ",
		"name": "Tajikistan"
	},
	{
		"id": "SY",
		"name": "Syrian Arab Republic (Syria)"
	},
	{
		"id": "VC",
		"name": "Saint Vincent and Grenadines"
	},
	{
		"id": "WS",
		"name": "Samoa"
	},
	{
		"id": "AS",
		"name": "Samoa, American"
	},
	{
		"id": "SM",
		"name": "San Marino"
	},
	{
		"id": "ST",
		"name": "Sao Tome and Principe"
	},
	{
		"id": "SA",
		"name": "Saudi Arabia"
	},
	{
		"id": "SN",
		"name": "Senegal"
	},
	{
		"id": "RS",
		"name": "Serbia"
	},
	{
		"id": "SC",
		"name": "Seychelles"
	},
	{
		"id": "SL",
		"name": "Sierra Leone"
	},
	{
		"id": "SG",
		"name": "Singapore"
	},
	{
		"id": "SK",
		"name": "Slovakia"
	},
	{
		"id": "LR",
		"name": "Liberia"
	},
	{
		"id": "SB",
		"name": "Solomon Islands"
	},
	{
		"id": "SO",
		"name": "Somalia"
	},
	{
		"id": "ZA",
		"name": "South Africa"
	},
	{
		"id": "SS",
		"name": "South Sudan"
	},
	{
		"id": "ES",
		"name": "Spain"
	},
	{
		"id": "LK",
		"name": "Sri Lanka"
	},
	{
		"id": "SD",
		"name": "Sudan"
	},
	{
		"id": "SR",
		"name": "Suriname"
	},
	{
		"id": "SJ",
		"name": "Svalbard and Jan Mayen Islands"
	},
	{
		"id": "SZ",
		"name": "Swaziland"
	},
	{
		"id": "SE",
		"name": "Sweden"
	},
	{
		"id": "CH",
		"name": "Switzerland"
	},
	{
		"id": "TW",
		"name": "Taiwan, Republic of China"
	},
	{
		"id": "LS",
		"name": "Lesotho"
	},
	{
		"id": "PY",
		"name": "Paraguay"
	},
	{
		"id": "LV",
		"name": "Latvia"
	},
	{
		"id": "BG",
		"name": "Bulgaria"
	},
	{
		"id": "BF",
		"name": "Burkina Faso"
	},
	{
		"id": "BI",
		"name": "Burundi"
	},
	{
		"id": "KH",
		"name": "Cambodia"
	},
	{
		"id": "CM",
		"name": "Cameroon"
	},
	{
		"id": "CA",
		"name": "Canada"
	},
	{
		"id": "CV",
		"name": "Cape Verde"
	},
	{
		"id": "KY",
		"name": "Cayman Islands"
	},
	{
		"id": "CF",
		"name": "Central African Republic"
	},
	{
		"id": "TD",
		"name": "Chad"
	},
	{
		"id": "CL",
		"name": "Chile"
	},
	{
		"id": "CN",
		"name": "China"
	},
	{
		"id": "CX",
		"name": "Christmas Island"
	},
	{
		"id": "CC",
		"name": "Cocos (Keeling) Islands"
	},
	{
		"id": "CO",
		"name": "Colombia"
	},
	{
		"id": "KM",
		"name": "Comoros"
	},
	{
		"id": "CG",
		"name": "Congo (Brazzaville)"
	},
	{
		"id": "CD",
		"name": "Congo, Democratic Republic of the"
	},
	{
		"id": "CK",
		"name": "Cook Islands"
	},
	{
		"id": "CR",
		"name": "Costa Rica"
	},
	{
		"id": "CI",
		"name": "Côte d Ivoire"
	},
	{
		"id": "HR",
		"name": "Croatia"
	},
	{
		"id": "CU",
		"name": "Cuba"
	},
	{
		"id": "CY",
		"name": "Cyprus"
	},
	{
		"id": "CZ",
		"name": "Czech Republic"
	},
	{
		"id": "BN",
		"name": "Brunei Darussalam"
	},
	{
		"id": "DK",
		"name": "Denmark"
	},
	{
		"id": "VG",
		"name": "British Virgin Islands"
	},
	{
		"id": "BW",
		"name": "Botswana"
	},
	{
		"id": "AF",
		"name": "Afghanistan"
	},
	{
		"id": "AL",
		"name": "Albania"
	},
	{
		"id": "DZ",
		"name": "Algeria"
	},
	{
		"id": "AD",
		"name": "Andorra"
	},
	{
		"id": "AO",
		"name": "Angola"
	},
	{
		"id": "AI",
		"name": "Anguilla"
	},
	{
		"id": "AG",
		"name": "Antigua and Barbuda"
	},
	{
		"id": "AR",
		"name": "Argentina"
	},
	{
		"id": "AM",
		"name": "Armenia"
	},
	{
		"id": "AW",
		"name": "Aruba"
	},
	{
		"id": "AU",
		"name": "Australia"
	},
	{
		"id": "AT",
		"name": "Austria"
	},
	{
		"id": "AZ",
		"name": "Azerbaijan"
	},
	{
		"id": "BS",
		"name": "Bahamas"
	},
	{
		"id": "BH",
		"name": "Bahrain"
	},
	{
		"id": "BD",
		"name": "Bangladesh"
	},
	{
		"id": "BB",
		"name": "Barbados"
	},
	{
		"id": "BY",
		"name": "Belarus"
	},
	{
		"id": "BE",
		"name": "Belgium"
	},
	{
		"id": "BZ",
		"name": "Belize"
	},
	{
		"id": "BJ",
		"name": "Benin"
	},
	{
		"id": "BM",
		"name": "Bermuda"
	},
	{
		"id": "BT",
		"name": "Bhutan"
	},
	{
		"id": "BO",
		"name": "Bolivia"
	},
	{
		"id": "BA",
		"name": "Bosnia and Herzegovina"
	},
	{
		"id": "BR",
		"name": "Brazil"
	},
	{
		"id": "LB",
		"name": "Lebanon"
	},
	{
		"id": "DJ",
		"name": "Djibouti"
	},
	{
		"id": "DO",
		"name": "Dominican Republic"
	},
	{
		"id": "HN",
		"name": "Honduras"
	},
	{
		"id": "HK",
		"name": "Hong Kong, Special Administrative Region of China"
	},
	{
		"id": "HU",
		"name": "Hungary"
	},
	{
		"id": "IS",
		"name": "Iceland"
	},
	{
		"id": "IN",
		"name": "India"
	},
	{
		"id": "ID",
		"name": "Indonesia"
	},
	{
		"id": "IR",
		"name": "Iran, Islamic Republic of"
	},
	{
		"id": "IQ",
		"name": "Iraq"
	},
	{
		"id": "IE",
		"name": "Ireland"
	},
	{
		"id": "IM",
		"name": "Isle of Man"
	},
	{
		"id": "IL",
		"name": "Israel"
	},
	{
		"id": "IT",
		"name": "Italy"
	},
	{
		"id": "JM",
		"name": "Jamaica"
	},
	{
		"id": "JP",
		"name": "Japan"
	},
	{
		"id": "JE",
		"name": "Jersey"
	},
	{
		"id": "JO",
		"name": "Jordan"
	},
	{
		"id": "KZ",
		"name": "Kazakhstan"
	},
	{
		"id": "KE",
		"name": "Kenya"
	},
	{
		"id": "KI",
		"name": "Kiribati"
	},
	{
		"id": "KP",
		"name": "Korea: North"
	},
	{
		"id": "KR",
		"name": "Korea: South"
	},
	{
		"id": "XK",
		"name": "Kosovo"
	},
	{
		"id": "KW",
		"name": "Kuwait"
	},
	{
		"id": "KG",
		"name": "Kyrgyzstan"
	},
	{
		"id": "LA",
		"name": "Lao PDR (LAOS)"
	},
	{
		"id": "VA",
		"name": "Holy See (Vatican City State)"
	},
	{
		"id": "DM",
		"name": "Dominica"
	},
	{
		"id": "HT",
		"name": "Haiti"
	},
	{
		"id": "GW",
		"name": "Guinea-Bissau"
	},
	{
		"id": "EC",
		"name": "Ecuador"
	},
	{
		"id": "EG",
		"name": "Egypt"
	},
	{
		"id": "SV",
		"name": "El Salvador"
	},
	{
		"id": "GQ",
		"name": "Equatorial Guinea"
	},
	{
		"id": "ER",
		"name": "Eritrea"
	},
	{
		"id": "EE",
		"name": "Estonia"
	},
	{
		"id": "ET",
		"name": "Ethiopia"
	},
	{
		"id": "FK",
		"name": "Falkland Islands (Malvinas)"
	},
	{
		"id": "FJ",
		"name": "Fiji"
	},
	{
		"id": "FI",
		"name": "Finland"
	},
	{
		"id": "FR",
		"name": "France"
	},
	{
		"id": "GY",
		"name": "Guyana"
	},
	{
		"id": "PF",
		"name": "French Polynesia"
	},
	{
		"id": "GM",
		"name": "Gambia"
	},
	{
		"id": "GE",
		"name": "Georgia"
	},
	{
		"id": "DE",
		"name": "Germany"
	},
	{
		"id": "GH",
		"name": "Ghana"
	},
	{
		"id": "GI",
		"name": "Gibraltar"
	},
	{
		"id": "GR",
		"name": "Greece"
	},
	{
		"id": "GD",
		"name": "Grenada"
	},
	{
		"id": "GU",
		"name": "Guam"
	},
	{
		"id": "GT",
		"name": "Guatemala"
	},
	{
		"id": "GG",
		"name": "Guernsey"
	},
	{
		"id": "GN",
		"name": "Guinea"
	},
	{
		"id": "GA",
		"name": "Gabon"
	}
]

Purpose of Fetching Countries #

The countries endpoint provides a list of countries that are used in the KYC process to specify the user’s country of residence or operation. This information is crucial for assessing geographical risks and ensuring compliance with international regulations.

Snippet #

API Properties
Header parameters
Result of the call

Powered by BetterDocs