---
title: "List payments"
url: "https://kongair.terwilligar.com/apis/payments-api/versions/f6b27cfe-b147-4a9e-af56-9802bfc4bc86/operations/listPayments"
---

> Full API specification: https://kongair.terwilligar.com/apis/payments-api/versions/f6b27cfe-b147-4a9e-af56-9802bfc4bc86.md

# List payments

`GET` `/payments`

Operation ID: `listPayments`

## Responses

- `200` - A list of payments

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Payments API
  version: 1.0.1
servers:
  - url: https://api.example.com
paths:
  /payments:
    get:
      summary: List payments
      operationId: listPayments
      responses:
        "200":
          description: A list of payments
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: "#/components/schemas/Payment"
components:
  schemas:
    Payment:
      type: object
      required:
        - id
        - amount
        - currency
        - status
      properties:
        id:
          type: string
          example: pay_12345
        amount:
          type: number
          format: float
          example: 49.99
        currency:
          type: string
          example: USD
        status:
          type: string
          enum:
            - pending
            - completed
            - failed
        created_at:
          type: string
          format: date-time
```
