GetCountryByIsoDigitCode()

Get country by ISO digit code

Description

Retrieves a country by it's numeric 3 digit ISO code.
[https://www.iban.com/country-codes]

Package Details

Interface

IAddressManager

Syntax

AddressManager.GetCountryByIsoDigitCode(int countryCode)

Returns

Task<Country>

API

[GET] /api/v1/countries/{code}

Parameters

Querystring
code - numeric country code

Returns

200 OK - Country

Example

int countryCode = 124; //Canada var country = await _addressManager.GetCountryByIsoDigitCode(countryCode);