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

# Update Payee Name

> Update the display name of an existing payee.

This endpoint allows you to:
- Correct a payee’s name
- Align beneficiary records with accounting systems

Only the stored payee name is updated. The payee identity remains unchanged.



## OpenAPI

````yaml PUT /api/user-api/payee/update
openapi: 3.1.0
info:
  title: paywint
  version: 0.1.0
servers:
  - url: https://api.sandbox.paywint.com
  - url: https://api.paywint.com
security: []
paths:
  /api/user-api/payee/update:
    put:
      tags:
        - Developer API Payee
      summary: Update Payee
      description: >-
        Update the display name of an existing payee.


        This endpoint allows you to:

        - Correct a payee’s name

        - Align beneficiary records with accounting systems


        Only the stored payee name is updated. The payee identity remains
        unchanged.
      operationId: update_payee_details_api_user_api_payee_update_put
      parameters:
        - name: X-Api-Key
          in: header
          required: true
          schema:
            type: string
            description: >-
              Your API Key (UUID format). Required to identify and authorize
              each request
            title: X-Api-Key
          description: >-
            Your API Key (UUID format). Required to identify and authorize each
            request
        - name: X-Api-Secret
          in: header
          required: true
          schema:
            type: string
            description: >-
              Secret associated with your API Key. Used for authenticating
              requests. Keep this secure.
            title: X-Api-Secret
          description: >-
            Secret associated with your API Key. Used for authenticating
            requests. Keep this secure.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalContactUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonResponse_ExternalContactsRead_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ExternalContactUpdate:
      properties:
        payee_id:
          type: string
          format: uuid
          title: Payee Id
          description: Unique identifier (UUID) assigned to the payee.
          example: f47ac10b-****-****-****-0e02b2c3d479
        name:
          type: string
          title: Name
          description: Full name of the payee
          example: John Doe
      type: object
      required:
        - payee_id
        - name
      title: ExternalContactUpdate
    CommonResponse_ExternalContactsRead_:
      properties:
        success:
          type: boolean
          title: Success
          description: Indicates whether the request was processed successfully.
          default: true
          example: true
        message:
          type: string
          title: Message
          description: >-
            A short, human-readable message describing the result of the
            request.
          default: Success
          example: Operation completed.
        data:
          anyOf:
            - $ref: '#/components/schemas/ExternalContactsRead'
            - type: 'null'
          description: The main response payload, if applicable
        queryGeneratedTime:
          anyOf:
            - type: number
            - type: 'null'
          title: Querygeneratedtime
          description: >-
            The Unix timestamp (in seconds) indicating when the response was
            generated.
          default: 1778161546.973489
          example: 1718006400
      type: object
      title: CommonResponse[ExternalContactsRead]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ExternalContactsRead:
      properties:
        payee_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Payee Id
          description: Unique identifier (UUID) assigned to the payee.
          example: f47ac10b-****-****-****-0e02b2c3d479
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Full name of the payee saved by the user.
          example: John Doe
        email:
          anyOf:
            - type: string
              format: email
            - type: 'null'
          title: Email
          description: Email address of the payee
          example: john.doe@example.com
        phone_country_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone Country Code
          description: >-
            International dialing code of the payee’s phone number (e.g., +1 for
            US).
          example: '+1'
        phone:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone
          description: Payee’s local phone number, excluding country code.
          example: '1234567890'
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Timestamp indicating when the payee was added to the contact list.
          example: '2025-06-10T18:10:42.000Z'
      type: object
      title: ExternalContactsRead
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````