Countries
List countries
POST
https://sandbox.mnasati.com/v1/countries
This endpoint allows you to list the available countries.
Headers
Name
Type
Description
Content-Type
string
Application/JSON
Access Token
string
The JWT key generated using the Authorization method.
{
"status":true,
"data":[
{
"country_id":"1",
"title":"Kuwait",
"title_ar":"الكويت",
"currency_decimals":"3",
"currency_title":"KWD",
"currency_title_ar":"د.ك",
"latitude":"29.366667",
"longitude":"47.966667",
"code":"KW",
"number_prefix":"965"
},
{
"country_id":"10",
"title":"Saudi Arabia",
"title_ar":"المملكة العربية السعودية",
"currency_decimals":"2",
"currency_title":"SAR",
"currency_title_ar":"ر.س",
"latitude":null,
"longitude":null,
"code":"SA",
"number_prefix":"966"
},
{
"country_id":"11",
"title":"Qatar",
"title_ar":"قطر",
"currency_decimals":"2",
"currency_title":"QAR",
"currency_title_ar":"ر.ق",
"latitude":null,
"longitude":null,
"code":"QA",
"number_prefix":"974"
},
{
"country_id":"12",
"title":"United Arab Emirates",
"title_ar":"الإمارات العربية المتحدة",
"currency_decimals":"2",
"currency_title":"AED",
"currency_title_ar":"د.إ",
"latitude":null,
"longitude":null,
"code":"AE",
"number_prefix":"971"
},
{
"country_id":"18",
"title":"united kingdom",
"title_ar":"المملكة المتحدة",
"currency_decimals":"2",
"currency_title":"GBR",
"currency_title_ar":"GBR",
"latitude":null,
"longitude":null,
"code":"UK",
"number_prefix":"44"
}
]
}
Examples
import http.client
conn = http.client.HTTPSConnection("ssandbox.mnasati.com")
headers = {
'Content-Type': "",
'Authorization-Jwt': ""
}
conn.request("POST", "/v1/countries", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Last updated
Was this helpful?