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

# List Refunds

> Use this endpoint to list all refunds associated with a funds recovery request.



## OpenAPI

````yaml /pt/openapi/v3-current/indirect-pix.yaml get /v1/dict/funds-recoveries/{funds_recovery_id}/refunds
openapi: 3.1.0
info:
  contact:
    email: contact@lerian.studio
    name: Lerian Studio
    url: https://lerian.studio
  description: >-
    API for Pix Indirect via BTG. It covers DICT keys and claims; MED infraction
    reports, fraud markers, refund requests, and funds recoveries; DICT
    statistics and reconciliation; Pix transfers, refunds, and schedules; static
    QR codes and QR code decoding; immediate and due-date collections; Pix
    Automático for the payer; transaction reports and TemposTransacoes
    statistics; and inbound and outbound webhook records.
  license:
    name: Lerian Studio General License
  title: Pix BTG API
  version: 1.14.0
servers:
  - url: https://api.example.com
    description: >-
      Replace the example host with the URL provided during environment
      onboarding.
security:
  - BearerAuth: []
paths:
  /v1/dict/funds-recoveries/{funds_recovery_id}/refunds:
    get:
      tags:
        - Funds Recovery
      summary: List Refunds
      description: >-
        Use this endpoint to list all refunds associated with a funds recovery
        request.
      operationId: dict-list-funds-recovery-refunds
      parameters:
        - description: Funds Recovery ID (UUID format)
          in: path
          name: funds_recovery_id
          required: true
          schema:
            description: Funds Recovery ID (UUID format)
            format: uuid
            type: string
        - description: Account ID (UUID) from X-Account-Id header
          in: header
          name: X-Account-Id
          schema:
            description: Account ID (UUID) from X-Account-Id header
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListFundsRecoveryRefundsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorBody'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorBody'
          description: Internal Server Error
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorBody'
          description: Error
components:
  schemas:
    ListFundsRecoveryRefundsOutput:
      additionalProperties: false
      properties:
        refunds:
          description: List of refunds associated with the funds recovery
          items:
            $ref: '#/components/schemas/FundsRecoveryRefundOutput'
          type: array
      required:
        - refunds
      type: object
    LegacyErrorBody:
      additionalProperties: false
      properties:
        code:
          type: string
        fields:
          additionalProperties:
            type: string
          type: object
        headers:
          additionalProperties:
            type: string
          type: object
        message:
          type: string
        paths:
          additionalProperties:
            type: string
          type: object
        queryParams:
          additionalProperties:
            type: string
          type: object
        raw:
          type: string
        title:
          type: string
      required:
        - code
        - title
        - message
      type: object
    FundsRecoveryRefundOutput:
      additionalProperties: false
      properties:
        analysisResult:
          description: Result of the refund analysis
          examples:
            - TOTALLY_ACCEPTED
          type: string
        bacenFundsRecoveryId:
          description: BACEN/BTG funds recovery external identifier
          examples:
            - ca1b9c01-ff9e-4a58-90ab-d31512e15ce0
          type: string
        contestedParticipant:
          description: ISPB of the contested participant (8 digits)
          examples:
            - '87654321'
          type: string
        creationTime:
          description: Creation timestamp (ISO 8601 UTC)
          examples:
            - '2024-01-15T10:30:00Z'
          format: date-time
          type: string
        fundsRecoveryId:
          description: Funds recovery identifier (UUID)
          examples:
            - 550e8400-e29b-41d4-a716-446655440000
          type: string
        id:
          description: Unique identifier of the refund (UUID)
          examples:
            - 550e8400-e29b-41d4-a716-446655440000
          type: string
        lastModified:
          description: Last modification timestamp (ISO 8601 UTC)
          examples:
            - '2024-01-15T11:30:00Z'
          format: date-time
          type: string
        refundAmount:
          description: Refund amount in BRL
          examples:
            - '100.50'
          type: string
        refundReason:
          description: Reason for the refund request
          examples:
            - FRAUD
          type: string
        refundTransactionId:
          description: Transaction ID of the executed refund (32 characters)
          examples:
            - E12345678202411241430ABCDEFGHIJK
          type: string
        requestingParticipant:
          description: ISPB of the requesting participant (8 digits)
          examples:
            - '12345678'
          type: string
        status:
          description: Current status of the refund
          examples:
            - OPEN
          type: string
        transactionId:
          description: Pix End-to-End transaction ID (32 characters)
          examples:
            - E12345678202411241430ABCDEFGHIJK
          type: string
      required:
        - id
        - transactionId
        - fundsRecoveryId
        - refundReason
        - refundAmount
        - status
        - requestingParticipant
        - contestedParticipant
        - creationTime
        - lastModified
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      description: JWT bearer token issued by the identity provider.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.