---
title: "OrganisationPartyResponse"
url: "https://developer.pexa.co.uk/apis/instruction-v1-v1/versions/861f183b-600d-4bbf-9762-abebcbf9b5ac/schemas/OrganisationPartyResponse"
---

> Full API specification: https://developer.pexa.co.uk/apis/instruction-v1-v1/versions/861f183b-600d-4bbf-9762-abebcbf9b5ac.md

# OrganisationPartyResponse

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Lender Instruction
  version: v1
servers:
  - url: https://api.pexa.co.uk
    description: API Gateway URL
components:
  schemas:
    OrganisationPartyResponse:
      type: object
      required:
        - type
        - partyDetails
      allOf:
        - type: object
          discriminator:
            propertyName: type
            mapping:
              INDIVIDUAL: "#/components/schemas/IndividualPartyResponse"
              ORGANISATION: "#/components/schemas/OrganisationPartyResponse"
          properties:
            partyId:
              type: string
              format: uuid
              description: Unique identifier for the party
            role:
              type: string
              pattern: ^(BORROWER|BUYER|INTRODUCER|OUTGOING_LENDER)$
              description: >
                Allowed Values: [`BORROWER`, `BUYER`, `INTRODUCER`,
                `OUTGOING_LENDER`]
          required:
            - role
      properties:
        type:
          type: string
          pattern: ^(ORGANISATION)$
          description: |
            Allowed Values: [`ORGANISATION`]
        partyDetails:
          type: object
          required:
            - organisationName
          properties:
            organisationName:
              type: string
              maxLength: 160
              minLength: 1
              pattern: ^[a-zA-ZÀ-ÖØ-öø-ſĀ-ıĴ-ľŁ-ŉŊ-ŏŐ-őŒ-žǼǺǾẀẂẄỲǽǻǿẁẃẅỳ\d&@£$€¥#'''(){}<>!«»"""\[\]?*=%+\s.,:\/;\\-]+$
              description: Organization name is required for Organisation BORROWER and BUYER
                parties
              example: Smith Ltd
            registrationNumber:
              type: string
              minLength: 6
              maxLength: 8
              pattern: ^[A-Z0-9]+$
              description: Company registration number is required only for Organisation
                BORROWER, BUYER, OUTGOING_LENDER parties
              example: "12345678"
            organisationType:
              type: string
              pattern: ^(LIMITED_COMPANY)$
              description: >
                Type of organization is required only only for Organisation
                BORROWER and BUYER parties Allowed Values: [`LIMITED_COMPANY`]
              example: LIMITED_COMPANY
            outgoingLenderAccountNumber:
              type: string
              description: Account number with the outgoing lender is required for only
                Organisation OUTGOING_LENDER party
              example: "12345678"
```
