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

# Update Payee

> Update payee name



## OpenAPI

````yaml PUT /api/platform/payee/update/{user_id}
openapi: 3.1.0
info:
  title: paywint
  version: 0.1.0
servers:
  - url: http://localhost:8001
  - url: https://api.pw.wintpay.com
  - url: https://test.pw.wintpay.com
  - url: https://api.sandbox.paywint.com
security: []
paths:
  /api/platform/payee/update/{user_id}:
    put:
      tags:
        - Payee
      summary: Update Payee
      description: Update payee name
      operationId: update_platform_contact_api_platform_payee_update__user_id__put
      parameters:
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: Unique identifier (UUID) of the user.
            title: User Id
          description: Unique identifier (UUID) of the user.
          example: f47ac10b-****-****-****-0e02b2c3d479
        - name: X-Platform-ID
          in: header
          required: true
          schema:
            type: string
            format: uuid
            description: >-
              Unique platform identifier (UUID). You receive this during
              onboarding. Must be sent with every API request.
            title: X-Platform-Id
          description: >-
            Unique platform identifier (UUID). You receive this during
            onboarding. Must be sent with every API request.
        - name: X-Signature
          in: header
          required: true
          schema:
            type: string
            description: >-
              HMAC-SHA256 request signature for authentication. Use your
              platform secret key to compute it as: `METHOD + PATH + QUERY +
              BODY_HASH`.
            title: X-Signature
          description: >-
            HMAC-SHA256 request signature for authentication. Use your platform
            secret key to compute it as: `METHOD + PATH + QUERY + BODY_HASH`.
      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: 1782303609.673092
          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

````