---
updatedAt: 2025-06-16T22:57:51.000Z
agentTools:
  projectIndex: https://developers.paygreen.fr/llms.txt
---

# List Addresses

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Account API",
    "description": "This API processes PayGreen V3 shop management",
    "version": "1.10.28"
  },
  "servers": [
    {
      "url": "https://api.paygreen.fr",
      "description": "Production environment"
    },
    {
      "url": "https://sb-api.paygreen.fr",
      "description": "Sandbox environment"
    }
  ],
  "paths": {
    "/account/addresses": {
      "get": {
        "tags": [
          "Addresses"
        ],
        "summary": "List Addresses",
        "operationId": "get_list_addresses",
        "parameters": [
          {
            "name": "account_id",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Account/properties/id"
            },
            "example": "acc_9a7ee2e4d66f4fe38639843a503411a3"
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the Addresses",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Address"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated"
          },
          "403": {
            "description": "Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Account": {
        "properties": {
          "id": {
            "type": "string",
            "pattern": "acc_[0-9a-f]{32}"
          }
        },
        "type": "object"
      },
      "Address": {
        "properties": {
          "id": {
            "description": "The unique identifier of this Address",
            "type": "string",
            "pattern": "add_[0-9a-f]{32}"
          },
          "line1": {
            "type": "string",
            "maxLength": 255,
            "minLength": 2,
            "nullable": true
          },
          "line2": {
            "type": "string",
            "maxLength": 255,
            "minLength": 2,
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "bearerFormat": "JWT",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```