Country
Read on retrieving data countries
The country API provides a list of all source and destination countries enabled for you.
Field | Type | Description |
id | Integer | ID of the Country in Machnet's platform |
name | String | Full name of the country |
three_char_code | String | The 3-character ISO code of the country |
two_char_code | String | The 2-character ISO code of the country |
phone_code | Integer | The county code used for international dialing |
currency | Object | Details on the currencies supported in the country |
currency.code | String | ISO code of the currency |
currency.name | String | Name of the currency |
currency.symbol | String | Symbol of the currency |
Get a list of all available countries
GET /v2/countries
Get country by code
GET /v2/countries/?countryCode={{countryCode}}
Field | Type | Description |
countryCode | String | ISO Code of a Country |
Get country by country Id
GET /v2/countries/{{countryId}}
Field | Type | Description |
countryId | Integer | Country ID |
Last updated