---
updatedAt: 2025-11-11T00:10:31.000Z
agentTools:
  projectIndex: https://docs.interswitchgroup.com/v1.1/llms.txt
---

# Get Countries

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "retail-ecosystem",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "https://retail-ecosystem-service.k8.isw.la"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/retail-ecosystem/api/v1/customer-addresses/countries": {
      "get": {
        "summary": "Get Countries",
        "description": "",
        "operationId": "get-countries",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"statusCode\": 200,\n    \"message\": \"Successful\",\n    \"data\": [\n        {\n            \"id\": 82,\n            \"name\": \"Ghana\",\n            \"code\": \"GH\"\n        },\n        {\n            \"id\": 111,\n            \"name\": \"Kenya\",\n            \"code\": \"KE\"\n        },\n        {\n            \"id\": 159,\n            \"name\": \"Nigeria\",\n            \"code\": \"NG\"\n        },\n        {\n            \"id\": 223,\n            \"name\": \"Uganda\",\n            \"code\": \"UG\"\n        }\n    ],\n    \"validation\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "statusCode": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "message": {
                      "type": "string",
                      "example": "Successful"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 82,
                            "default": 0
                          },
                          "name": {
                            "type": "string",
                            "example": "Ghana"
                          },
                          "code": {
                            "type": "string",
                            "example": "GH"
                          }
                        }
                      }
                    },
                    "validation": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Authourization",
        "value": "Bearer <token>"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```