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

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

# PartyResponse

## 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:
    PartyResponse:
      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
```
