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
success
boolean

Represents the status of the query operation, confirming if it was successful. This field is always true

messages
any[]

Contains a list of messages providing relevant information or feedback related to the query or operation

result
object