cURL
curl --request GET \ --url https://api.monime.io/countries/{idOrCode} \ --header 'Authorization: Bearer <token>'
{ "success": true, "messages": [ "<unknown>" ], "result": { "id": "cnt-TJh76H8hj778hftdtu66gjio", "code": "SL", "name": "Sierra Leone", "currency": { "code": "SLE", "unit": "cent", "unitLength": 2 }, "supportedCurrencies": [ "SLE" ] } }
Bearer HTTP authentication specified with the header Authorization: Bearer <access_token>
The id or country code for the country.
OK
Represents the status of the query operation, confirming if it was successful. This field is always true
Contains a list of messages providing relevant information or feedback related to the query or operation
Show child attributes
Was this page helpful?