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

# List Transfers For Patient

> List every discount transfer touching this patient (sent or received).



## OpenAPI

````yaml get /billing/discount/patient/{patient_id}/transfers
openapi: 3.1.0
info:
  title: Decoda API
  description: External API documentation for the Decoda Health platform.
  version: '1.0'
servers: []
security: []
paths:
  /billing/discount/patient/{patient_id}/transfers:
    get:
      tags:
        - Discounts
      summary: List Transfers For Patient
      description: List every discount transfer touching this patient (sent or received).
      operationId: >-
        list_transfers_for_patient_billing_discount_patient__patient_id__transfers_get
      parameters:
        - name: TENANT
          in: header
          required: true
          schema:
            type: string
            title: Tenant
          description: The tenant you are making this request on behalf of
        - name: API-KEY
          in: header
          required: true
          schema:
            type: string
            title: Api-Key
          description: Your api key
        - name: patient_id
          in: path
          required: true
          schema:
            type: string
            title: Patient Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DiscountTransfer'
                title: >-
                  Response List Transfers For Patient Billing Discount Patient 
                  Patient Id  Transfers Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DiscountTransfer:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier for the transfer
        sourceDiscountId:
          type: string
          title: Sourcediscountid
          description: Discount the redemptions were taken from
        destinationDiscountId:
          type: string
          title: Destinationdiscountid
          description: Newly-created discount the redemptions landed on
        discountName:
          anyOf:
            - type: string
            - type: 'null'
          title: Discountname
          description: >-
            Display label for the transferred discount (item, category, or
            item-type bucket)
        discountValue:
          anyOf:
            - type: string
            - type: 'null'
          title: Discountvalue
          description: Formatted value of the transferred discount (e.g. '10%' or '$50')
        fromPatientId:
          type: string
          title: Frompatientid
          description: Patient the source discount belonged to
        fromPatientName:
          anyOf:
            - type: string
            - type: 'null'
          title: Frompatientname
          description: Display name of the sending patient
        toPatientId:
          type: string
          title: Topatientid
          description: Patient who received the new discount
        toPatientName:
          anyOf:
            - type: string
            - type: 'null'
          title: Topatientname
          description: Display name of the receiving patient
        quantity:
          type: integer
          title: Quantity
          description: How many redemptions were moved
        reason:
          $ref: '#/components/schemas/DiscountTransferReason'
          description: Why the transfer was made
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: Note
          description: Optional internal note from the staff member
        creatorId:
          type: string
          title: Creatorid
          description: User who recorded the transfer
        creatorName:
          anyOf:
            - type: string
            - type: 'null'
          title: Creatorname
          description: Display name of the user who recorded the transfer
        createdDate:
          type: string
          format: date-time
          title: Createddate
          description: When the transfer was recorded
      type: object
      required:
        - id
        - sourceDiscountId
        - destinationDiscountId
        - fromPatientId
        - toPatientId
        - quantity
        - reason
        - creatorId
        - createdDate
      title: DiscountTransfer
      description: Serialized discount-transfer audit row.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DiscountTransferReason:
      type: string
      enum:
        - GIFT
        - FAMILY_SHARE
        - ACCOUNT_MERGE
        - CORRECTION
        - OTHER
      title: DiscountTransferReason
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````