Call this API to retrieve data on all country IDs, country codes and names.
Request URL #
https://api-sandbox.smartcurrencyexchange.com/v4/Country/GetCountries
Field | In | Format | Description | Required |
Authorization | header | string | Authentication token | Mandatory |
Response Sample #
{
"status": "OK",
"message": "",
"singleObject": null,
"objectCollection": [
{
"id": 225,
"countryCode": "GBR",
"name": "UNITED KINGDOM "
},
]
}
Response codes #
HTTP Status | Description | Message |
200 | Success | |
401 | Token Expired or invalid token | Token is no longer valid, please login again. |
401 | Missing token | Please add ‘Authorization’ to your request header. |