Skip to main content

All Countries

As part of the sign up process, clients are required to indicate their country of origin.
This endpoint allows clients to view all the countries and their various basic information such as the country code, currency and the list of states/regions. This is very purposeful in identifying the nationality of clients.

To get a list of all countries to select from, use the endpoint below.

GET /api/v1/countries

Headers

authorization : bearer token

Response Sample

name
required
string

Country name

countryCode
string

Country Code

phone
required
string

Phone number extension

currency
string

Country currency

stateProvinces
Array of strings

Sates/Regions in the country

{
  • "name": "Ghana",
  • "countryCode": "GH",
  • "phone": "233",
  • "currency": "GHS",
  • "stateProvinces": [
    ]
}