---
search:
  tags:
    - Payments
    - GET
seo:
  description: >-
    Returns a paginated list of payments, newest first. Reference for the GET
    /payments endpoint in the Apipay API.
sidebar:
  label: List payments
  badge: GET
title: List payments
type: openapi-operation
---
Returns a paginated list of payments, newest first.

`GET /payments`

**Responses**

- `200` — A page of payments.
- `401` — The API key is missing, invalid, or revoked.

Response example, 200:

```json
{
  "data": [
    {
      "id": "pay_6b2f9d4e",
      "amount": 150000,
      "currency": "IDR",
      "method": "qris",
      "status": "pending",
      "customer_id": "cus_8f3a2b1c",
      "description": "Order",
      "created_at": "2019-08-24T14:15:22Z"
    }
  ],
  "next_cursor": "string"
}
```
