---
agentTools:
  projectIndex: https://docs.lorum.com/llms.txt
---

# Get a shareholder

Get a shareholder

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Fuse API",
    "description": "",
    "contact": {
      "name": "fuse"
    },
    "license": {
      "name": "Proprietary license",
      "identifier": "Proprietary license"
    },
    "version": "0.1.0"
  },
  "servers": [
    {
      "url": "https://api-sandbox.fuse.me"
    }
  ],
  "paths": {
    "/v1/customers/businesses/shareholders/{shareholder_id}": {
      "get": {
        "tags": [
          "Customers"
        ],
        "summary": "Get a shareholder",
        "description": "Get a shareholder",
        "operationId": "get_shareholder",
        "parameters": [
          {
            "name": "shareholder_id",
            "in": "path",
            "description": "Id of the customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "Uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns the shareholder",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetShareholderResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "description": "User-facing error type.\n\nThis is the general error structure returned by all api routes.",
        "required": [
          "error",
          "message",
          "code"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Specific error code."
          },
          "error": {
            "type": "string",
            "description": "Soon to be deprecated."
          },
          "message": {
            "type": "string",
            "description": "Renaming of `error`. Human-readable description of the error."
          }
        }
      },
      "GetShareholderResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Shareholder"
          },
          {
            "type": "object",
            "required": [
              "shareholder_type",
              "holding_percent"
            ],
            "properties": {
              "holding_percent": {
                "type": "integer",
                "format": "int32",
                "minimum": 0
              },
              "shareholder_of": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "Uuid"
              },
              "shareholder_type": {
                "$ref": "#/components/schemas/ShareholderType"
              }
            }
          }
        ]
      },
      "Shareholder": {
        "oneOf": [
          {
            "type": "object",
            "required": [
              "shareholder"
            ],
            "properties": {
              "shareholder": {
                "type": "object",
                "required": [
                  "first_name",
                  "last_name",
                  "dob",
                  "pob",
                  "id_type",
                  "id_number"
                ],
                "properties": {
                  "dob": {
                    "type": "string",
                    "format": "date"
                  },
                  "first_name": {
                    "type": "string"
                  },
                  "id_number": {
                    "type": "string"
                  },
                  "id_type": {
                    "type": "string"
                  },
                  "last_name": {
                    "type": "string"
                  },
                  "middle_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "pob": {
                    "type": "string"
                  }
                }
              }
            }
          },
          {
            "type": "object",
            "required": [
              "business_shareholder"
            ],
            "properties": {
              "business_shareholder": {
                "type": "object",
                "required": [
                  "name",
                  "registration_number"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "registration_number": {
                    "type": "string"
                  }
                }
              }
            }
          }
        ]
      },
      "ShareholderType": {
        "type": "string",
        "enum": [
          "shareholder",
          "business_shareholder"
        ]
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "OAuth2": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 6,
      "2": 43,
      "3": 163,
      "4": 188,
      "5": 201,
      "6": 251,
      "7": 0,
      "8": 31,
      "9": 122,
      "10": 23,
      "11": 217
    }
  }
}
```