Get Countries

This endpoint retrieves a list of countries along with their associated details.

GET : v1/countries

Response

On a successful request, the API will return a response with the following structure:

  • Data :An array containing country objects, where each object includes: * id: The unique identifier for the country. * name: The name of the country. * country_code: The ISO code representing the country. * currency_code: The currency code associated with the country.

{
  "status": "",
  "code": 0,
  "message": "",
  "data": [
    {
      "id": "",
      "name": "",
      "country_code": "",
      "currency_code": ""
    }
  ]
}

Last updated