---
title: "Filter payments"
method: POST
path: "/payments"
tags: ["Payments"]
---

# Filter payments

`POST /payments`

Returns payments using pagination and available filters.

## Request body

- object
  - `from` string, date-time
  - `to` string, date-time
  - `page` integer
  - `pageSize` integer

## Response `200`

Successful operation

- object
  - `data` PaymentHistoryRecord[]
    - `date` string, date-time
    - `status` 'success' | 'failed'
    - `port` string — Port number
    - `amount` integer — Payment amount in cents
    - `balance` integer — Balance at the time of payment
    - `description` string — Payment description
  - `page` integer
  - `pageSize` integer
  - `total` integer

## Other responses

- `401` — The bearer token is missing, invalid, or no longer active.
- `429` — The configured request limit has been exceeded.
- `500` — Error

---

[API](https://skmtc.dev/ltesocks/apis/ltesocks-public-api.md) · [All operations](https://skmtc.dev/ltesocks/apis/ltesocks-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ltesocks/ltesocks-public-api/revisions/27dffb3c08b9/schema)
