Base URL: https://{tenant-domain}/api/countries
|
Endpoint:/
Method: GET
Description:Lists countries and itβs description like currency code and many more
[ { "id": 1, "country_name": "Australia", "currency_code": "AUD", "currency_name": "Australian Dollar", "country_dialing_code": "61", "value": "Australia - AUD [Australian Dollar]" }, { "id": 2, "country_name": "United States", "currency_code": "USD", "currency_name": "US Dollar", "country_dialing_code": "1", "value": "United States - USD [US Dollar]" }, { "id": 3, "country_name": "United Kingdom", "currency_code": "GBP", "currency_name": "British Pound Sterling", "country_dialing_code": "44", "value": "United Kingdom - GBP [British Pound Sterling]" } β¦. ] |
Endpoint:/list?keyword={character}
Method: GET
Description:Lists countries also supports wildcards for searching specific country
country_name is a parameter which accepts country name and fetch specific country
Endpoint:/list?keyword=Austr
[ { "id": 11, "country_name": "Australia", "currency_name": "Australian dollar", "currency_code": "AUD", "country_code": "AU", "country_dialing_code": "61", "country_code_iso_alpha3": "AUS", "value": "Australia" }, { "id": 12, "country_name": "Austria", "currency_name": "euro", "currency_code": "EUR", "country_code": "AT", "country_dialing_code": "43", "country_code_iso_alpha3": "AUT", "value": "Austria" } ] |