KashierDevelopersKashier Developers

List countries

curl -X GET "https://test-api.kashier.io/v2/constants/countries"
[  {    "abbreviation2": "eg",    "abbreviation3": "egy",    "name": "مصر",    "phone": "+20",    "flag": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA…"  }]

Retrieves every country Kashier recognises, with its two- and three-letter codes, its international dialling prefix, and its flag as an embedded image. Useful for country and phone-prefix pickers. The response is large because each entry embeds its flag, so cache it rather than fetching it per page load.

Response Body

application/json

application/json

application/json

GET
/v2/constants/countries