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

# Listar deposits (cursor)



## OpenAPI

````yaml /reference/openapi.json get /v1/deposits
openapi: 3.1.0
info:
  title: SwytchPay API
  version: 0.1.0
  description: 'Gateway de pagamentos multi-provedor (PIX). Auth: x-api-key + x-api-secret.'
servers:
  - url: https://api.swytchpay.app
security: []
paths:
  /v1/deposits:
    get:
      tags:
        - Deposits
      summary: Listar deposits (cursor)
      parameters:
        - schema:
            type: string
          required: false
          name: external_id
          in: query
        - schema:
            type: string
            enum:
              - PENDING
              - PAID
              - EXPIRED
              - REFUNDED
              - FAILED
          required: false
          name: status
          in: query
        - schema:
            type: string
          required: false
          name: cursor
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
          required: false
          name: limit
          in: query
      responses:
        '200':
          description: Lista paginada
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Deposit'
                  next_cursor:
                    type: string
                    nullable: true
                required:
                  - data
                  - next_cursor
components:
  schemas:
    Deposit:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          enum:
            - deposit
        external_id:
          type: string
        status:
          type: string
          enum:
            - PENDING
            - PAID
            - EXPIRED
            - REFUNDED
            - FAILED
        amount_cents:
          type: integer
        fee_cents:
          type: integer
        net_cents:
          type: integer
        pix:
          type: object
          properties:
            emv:
              type: string
              nullable: true
            qr_url:
              type: string
              nullable: true
          required:
            - emv
            - qr_url
        environment:
          type: string
          enum:
            - live
            - test
      required:
        - id
        - object
        - external_id
        - status
        - amount_cents
        - fee_cents
        - net_cents
        - pix
        - environment
      additionalProperties:
        nullable: true

````