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

# Get Document

# 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/documents/{id}": {
      "get": {
        "tags": [
          "Compliance"
        ],
        "summary": "Get Document",
        "operationId": "get_get_document",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Document/properties/id"
            },
            "example": "doc_1b869f951c2a43a9942df4b6a6bb9644"
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the Document",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated"
          },
          "403": {
            "description": "Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Document": {
        "required": [
          "type"
        ],
        "properties": {
          "id": {
            "description": "The unique identifier of the Document",
            "type": "string",
            "pattern": "doc_[0-9a-f]{32}"
          },
          "contact": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/Contact"
              }
            ]
          },
          "type": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/Type"
              }
            ]
          },
          "status": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/Status"
              }
            ]
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/File"
            }
          },
          "extra_data": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "File": {
        "properties": {
          "id": {
            "description": "The unique identifier of the File",
            "type": "string",
            "pattern": "fi_[0-9a-f]{32}"
          },
          "filename": {
            "type": "string",
            "nullable": true
          },
          "extra_data": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "download_url": {
            "type": "string",
            "nullable": true
          }
        },
        "type": "object"
      },
      "Contact": {
        "properties": {
          "first_name": {
            "type": "string",
            "nullable": true
          },
          "last_name": {
            "type": "string",
            "nullable": true
          },
          "birth_date": {
            "type": "string",
            "format": "date-time",
            "maximum": -18,
            "minimum": -120,
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "maxLength": 15,
            "nullable": true
          },
          "capital_shares": {
            "type": "integer",
            "nullable": true
          },
          "city_of_birth": {
            "type": "string",
            "nullable": true
          },
          "native_country": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ContactAddress"
              }
            ]
          },
          "nationality": {
            "type": "string",
            "nullable": true
          }
        },
        "type": "object"
      },
      "Type": {
        "type": "object"
      },
      "Status": {
        "type": "object"
      },
      "ContactAddress": {
        "type": "object"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "bearerFormat": "JWT",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```