> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rolla.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Owner Verification Documents

> Returns the identity document a beneficial owner or director submitted during Rolla's hosted liveness check. Identical in shape to the account endpoint, but `subject.type` is `related_person`.

Returns the identity document a beneficial owner or director submitted during Rolla's hosted liveness check, along with the details read off that document.

Identical in shape to [Get Verification Documents](/api-reference/endpoint/accounts/verification-documents), but scoped to one person on a business account. A business has no identity check of its own — its owners and directors do.

## Example Request

```bash theme={null}
curl -X GET "https://api.rolla.xyz/api/v1/external/accounts/eec3cbed-79d8-4370-87a0-b6be9e287337/related-persons/a3d4f21e-f499-488f-8508-43228dfea485/verification/documents" \
  -H "X-API-Key: your_api_key_here"
```

## Example Response

```json theme={null}
{
  "success": true,
  "message": "Verification documents retrieved successfully",
  "data": {
    "subject": {
      "type": "related_person",
      "id": "a3d4f21e-f499-488f-8508-43228dfea485"
    },
    "status": {
      "reviewStatus": "completed",
      "reviewAnswer": "GREEN",
      "verified": true
    },
    "identity": {
      "firstName": "Jane",
      "lastName": "Doe",
      "dateOfBirth": "1985-09-21",
      "country": "NGA",
      "idDocType": "PASSPORT",
      "documentNumber": null,
      "issuedDate": null,
      "validUntil": null
    },
    "documents": [
      {
        "imageId": "440291976",
        "idDocType": "PASSPORT",
        "country": "NGA",
        "side": "front"
      }
    ],
    "inspectionId": "6a5e30bc03557d60b945d58a"
  }
}
```

## Response Fields

| Field                 | Type    | Description                                                                                                                 |
| --------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------- |
| `subject.type`        | string  | `related_person` on this endpoint                                                                                           |
| `subject.id`          | string  | The owner or director this verification belongs to                                                                          |
| `status.verified`     | boolean | `true` once the review completed with a positive result                                                                     |
| `status.reviewStatus` | string  | Review state, e.g. `init`, `pending`, `completed`                                                                           |
| `status.reviewAnswer` | string  | `GREEN` (passed) or `RED` (failed); `null` while in progress                                                                |
| `identity`            | object  | Read **off the document** by the identity provider — not the values you submitted                                           |
| `identity.idDocType`  | string  | e.g. `PASSPORT`, `ID_CARD`, `DRIVERS`                                                                                       |
| `documents[].imageId` | string  | Pass to [Download Verification Document](/api-reference/endpoint/accounts/download-verification-document) to fetch the file |
| `documents[].side`    | string  | `front` or `back`                                                                                                           |
| `inspectionId`        | string  | The provider's inspection reference, for support queries                                                                    |

<Info>
  `identity` reflects what the provider could extract. `documentNumber`, `issuedDate` and `validUntil` are frequently `null` even on a passed check — treat every field as optional.
</Info>

<Note>
  Selfies and liveness frames are not returned; only identity documents are.
</Note>

<Tip>
  Get the `personId` values from [List Related Persons](/api-reference/endpoint/accounts/list-related-persons). Each owner verifies separately, so expect a mix of completed and pending checks across a single business.
</Tip>

## Error Responses

### Person not on this account (`404`)

```json theme={null}
{
  "status": 404,
  "message": "Related person not found"
}
```

### Verification not started (`404`)

```json theme={null}
{
  "status": 404,
  "message": "No verification found. The identity check has not been started or completed yet."
}
```


## OpenAPI

````yaml GET /accounts/{accountId}/related-persons/{personId}/verification/documents
openapi: 3.1.0
info:
  title: Rolla Developer API
  description: >-
    API for programmatic transaction management on the Rolla platform. Monetary
    `amount` fields use the smallest unit of the referenced currency unless an
    endpoint says otherwise (e.g. NGN = kobo, USD = cents, where **100 cents =
    USD 1.00**).
  version: 1.0.0
servers:
  - url: https://api.rolla.xyz/api/v1/external
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /accounts/{accountId}/related-persons/{personId}/verification/documents:
    get:
      summary: Get Owner Verification Documents
      description: >-
        Returns the identity document a beneficial owner or director submitted
        during Rolla's hosted liveness check. Identical in shape to the account
        endpoint, but `subject.type` is `related_person`.
      operationId: getRelatedPersonVerificationDocuments
      parameters:
        - name: accountId
          in: path
          required: true
          description: >-
            Identifier of an account owned by the same user as your API key's
            business
          schema:
            type: string
            format: uuid
        - name: personId
          in: path
          required: true
          description: Identifier of a beneficial owner or director on this account
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Verification documents retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Verification documents retrieved successfully
                  data:
                    type: object
                    properties:
                      subject:
                        type: object
                        description: Who the verification belongs to
                        properties:
                          type:
                            type: string
                            enum:
                              - account
                              - related_person
                            example: account
                          id:
                            type: string
                            format: uuid
                      status:
                        type: object
                        properties:
                          verified:
                            type: boolean
                            example: true
                            description: >-
                              True once the review completed with a positive
                              result
                          reviewStatus:
                            type: string
                            nullable: true
                            example: completed
                          reviewAnswer:
                            type: string
                            nullable: true
                            example: GREEN
                            description: >-
                              GREEN (passed) or RED (failed); null while in
                              progress
                      identity:
                        type: object
                        description: >-
                          Read off the document by the identity provider, not
                          the values you submitted. Every field is best-effort
                          and may be null even on a passed check.
                        properties:
                          firstName:
                            type: string
                            nullable: true
                            example: Jane
                          lastName:
                            type: string
                            nullable: true
                            example: Doe
                          dateOfBirth:
                            type: string
                            nullable: true
                            example: '1990-01-15'
                          country:
                            type: string
                            nullable: true
                            example: NGA
                          idDocType:
                            type: string
                            nullable: true
                            example: PASSPORT
                          documentNumber:
                            type: string
                            nullable: true
                            description: >-
                              Frequently null — the provider does not always
                              extract it
                          issuedDate:
                            type: string
                            nullable: true
                          validUntil:
                            type: string
                            nullable: true
                      documents:
                        type: array
                        description: >-
                          Identity documents submitted during the liveness
                          check. Selfies are not returned.
                        items:
                          type: object
                          properties:
                            imageId:
                              type: string
                              example: '909788538'
                              description: Pass to the download endpoint to fetch the file
                            idDocType:
                              type: string
                              example: PASSPORT
                            country:
                              type: string
                              nullable: true
                              example: NGA
                            side:
                              type: string
                              enum:
                                - front
                                - back
                              example: front
                      inspectionId:
                        type: string
                        nullable: true
                        example: 6a7ba5bcce15d46609bd3f4b
                        description: >-
                          The provider's inspection reference, for support
                          queries
        '400':
          description: Wrong account type for this endpoint
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 400
                  message:
                    type: string
                    example: >-
                      This endpoint is only for individual accounts. Use
                      /related-persons/:personId/verification/documents for
                      business owners and directors.
        '404':
          description: Verification has not been started or completed
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 404
                  message:
                    type: string
                    example: >-
                      No verification found. The identity check has not been
                      started or completed yet.
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Rolla API key

````