---
title: "Retrieve all payments"
method: GET
path: "/consumers/{consumer_id}/payment/payments"
tags: ["Payment", "Payments"]
---

# Retrieve all payments

`GET /consumers/{consumer_id}/payment/payments`

Returns a list of payments.

## Path parameters

- `consumer_id` string, uuid, required

## Query parameters

- `page` integer
- `size` integer
- `date_from` string, date, nullable
- `date_to` string, date, nullable
- `location_id` string, nullable

## Response `200`

Successful Response

- ChiftPagePaymentItemOut
  - `items` PaymentItemOut[], required
    - `id` string, required — Technical id in Chift
    - `source_ref` Ref, required
      - `id` string, nullable — Technical id in the target software
      - `model` string, nullable — Name of the model/entity in the target software
    - `status` 'pending' | 'completed' | 'partially_completed' | 'canceled' | 'failed' | 'unknown' | 'authorized', required
    - `description` string, required — Description
    - `amount` number, required — Amount
    - `currency` string, required — Currency
    - `payment_date` string, date-time, required — Date of creation
    - `partner_id` string, nullable — Partner ID
  - `total` integer, required
  - `page` integer, required
  - `size` integer, required

## Other responses

- `400` — Bad Request
- `422` — Validation Error

---

[API](https://skmtc.net/chift/apis/chift-api.md) · [All operations](https://skmtc.net/chift/apis/chift-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chift/chift-api/versions/b5f1214a482a/schema)
