> ## 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.

# List Payee Cards

> This endpoint returns all cards linked to a specific payee.

- Returns a list of saved cards including nickname, masked number, and expiration



## OpenAPI

````yaml POST /api/platform/card/list-payee-card/{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/card/list-payee-card/{user_id}:
    post:
      tags:
        - Platform Card
      summary: List Payee Cards
      description: >-
        This endpoint returns all cards linked to a specific payee.


        - Returns a list of saved cards including nickname, masked number, and
        expiration
      operationId: list_payee_card_api_platform_card_list_payee_card__user_id__post
      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/ExternalContactPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ExternalListResponse_ExternalContactCardRead_
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ExternalContactPayload:
      properties:
        payee_id:
          type: string
          format: uuid
          title: Payee Id
          description: Unique identifier (UUID) assigned to the payee.
          example: f47ac10b-****-****-****-0e02b2c3d479
      type: object
      required:
        - payee_id
      title: ExternalContactPayload
    ExternalListResponse_ExternalContactCardRead_:
      properties:
        success:
          type: boolean
          title: Success
          description: Indicates whether the request was processed successfully.
          default: true
          example: true
        status_code:
          anyOf:
            - type: integer
            - type: 'null'
          title: Status Code
          description: HTTP status code representing the result of the request.
          default: 200
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
          description: Short, human-readable message describing the outcome of the request.
          default: Success
        records:
          anyOf:
            - items:
                $ref: '#/components/schemas/ExternalContactCardRead'
              type: array
            - type: 'null'
          title: Records
          description: List of result items returned for the current page.
        totalRecords:
          anyOf:
            - type: integer
            - type: 'null'
          title: Totalrecords
          description: >-
            Total number of matching records in the database, useful for
            paginating the full dataset.
          default: 0
        queryGeneratedTime:
          anyOf:
            - type: integer
            - type: 'null'
          title: Querygeneratedtime
          description: >-
            Unix timestamp (in seconds) indicating when this response was
            generated.
          default: 1782303609
      type: object
      title: ExternalListResponse[ExternalContactCardRead]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ExternalContactCardRead:
      properties:
        payee_id:
          anyOf:
            - type: string
              format: uuid4
            - type: 'null'
          title: Payee Id
          description: Unique identifier (UUID) of the payee associated with this card.
          example: f47ac10b-****-****-****-0e02b2c3d479
        card_id:
          anyOf:
            - type: string
              format: uuid4
            - type: 'null'
          title: Card Id
          description: Unique identifier (UUID) of the saved card.
          example: b62f010b-****-****-****-9e02b2c3d478
        card_nick_name:
          anyOf:
            - type: string
              maxLength: 100
            - type: 'null'
          title: Card Nick Name
          description: Nickname to help the user identify this card.
          example: Personal Visa Card
        card_number:
          anyOf:
            - type: string
              maxLength: 16
            - type: 'null'
          title: Card Number
          description: Last four digits of the card, shown for reference.
          example: '1111'
        card_exp:
          anyOf:
            - type: string
              maxLength: 10
            - type: 'null'
          title: Card Exp
          description: Card expiration date in MM/YYYY format.
          example: 06/2030
      type: object
      title: ExternalContactCardRead
    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

````