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

# Get settlements

> Retrieve the details of all your Settlements in a given time.



## OpenAPI

````yaml open-api-yaml/reconciliation-api/retrieve-information/get-settlements.json GET /settlements
openapi: 3.0.0
info:
  title: Reconciliation API - Settlements Endpoint
  version: 1.0.0
servers:
  - url: https://merchants-api.pandablue.com/v1
    description: Production Server
  - url: https://merchants-api-stg.pandablue.com/v1
    description: Staging Server
security:
  - bearerAuth: []
  - cookieAuth: []
paths:
  /settlements:
    get:
      tags:
        - Balance & Reports
      summary: Settlements Endpoint
      description: Retrieve the details of all your Settlements in a given time.
      operationId: getSettlements
      parameters:
        - name: from
          in: query
          description: Transaction creation date interval in UnixTimeStamp format.
          schema:
            type: integer
        - name: to
          in: query
          description: >-
            Transaction creation date interval in Unix TimeStamp format, max
            difference with 'from' value 60 days.
          schema:
            type: integer
        - name: page
          in: query
          description: The page number.
          schema:
            type: integer
            default: 0
        - name: status
          in: query
          description: Transaction status.
          schema:
            type: string
            enum:
              - PENDING
              - COMPLETED
              - CANCELLED
              - FAILED
      responses:
        '200':
          description: A paginated list of settlements.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedSettlements'
components:
  schemas:
    PaginatedSettlements:
      allOf:
        - $ref: '#/components/schemas/Pagination'
        - type: object
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/Settlement'
      title: PaginatedSettlements
    Pagination:
      type: object
      properties:
        page:
          type: integer
        rows:
          type: integer
        maxRows:
          type: integer
      title: Pagination
    Settlement:
      type: object
      properties:
        id:
          type: integer
        creationDate:
          type: string
          format: date-time
        type:
          type: string
        currency:
          type: string
        requestedAmount:
          type: number
          format: float
        fee:
          type: number
          format: float
        amountToTransfer:
          type: number
          format: float
        status:
          type: string
        idMerchant:
          type: integer
        merchantName:
          type: string
      title: Settlement
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    cookieAuth:
      type: apiKey
      in: cookie
      name: BEARER_TOKEN

````

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