GET
/
countries
/
{idOrCode}
curl --request GET \
  --url https://api.monime.io/countries/{idOrCode} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "messages": [
    "<any>"
  ],
  "result": {
    "id": "cnt-TJh76H8hj778hftdtu66gjio",
    "code": "SL",
    "name": "Sierra Leone",
    "currency": {
      "code": "SLE",
      "unit": "cent",
      "unitLength": 2
    },
    "supportedCurrencies": [
      "SLE"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication specified with the header Authorization: Bearer <access_token>

Path Parameters

idOrCode
string
required

The id or country code for the country.

Response

200 - application/json

OK

The response is of type object.