---
title: "List Transactions"
method: GET
path: "/api/v1/admin/transactions"
tags: ["Admin: Транзакции"]
---

# List Transactions

`GET /api/v1/admin/transactions`

## Request

- Base URL: `https://api.food24.kz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.food24.kz/api/v1/admin/transactions`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/auth/login`
- TypeScript: <https://skmtc.dev/food24/apis/goodfood/docs/api/v1/admin/transactions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `status` string, nullable
- `location_id` integer, nullable
- `date_from` string, date, nullable
- `date_to` string, date, nullable
- `search` string, nullable
- `page` integer: Номер страницы
- `size` integer: Количество на странице

## Response `200`

Successful Response

- PaginatedResponseTransactionDetail
  - `total` integer, required: Общее количество элементов
  - `page` integer, required: Текущая страница
  - `size` integer, required: Размер страницы
  - `pages` integer, required: Общее количество страниц
  - `items` TransactionDetail[], required: Список элементов
    - `id` integer, required
    - `order_id` string, required
    - `tran_id` string, nullable
    - `amount` integer, required
    - `customer_phone` string, nullable
    - `customer_name` string, nullable: Имя клиента из пользователей
    - `location_id` integer, nullable
    - `location_name` string, nullable
    - `location_address` string, nullable
    - `status` string, required
    - `prv_txn` string, nullable
    - `provider` string, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `items` OrderItemDetail[]
      - `id` integer, required
      - `product_name` string, required
      - `product_sku` string, nullable
      - `brand_name` string, nullable
      - `quantity` integer, required
      - `price` number, required
      - `total` number, required
    - `has_refund` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/food24/apis/goodfood.md) - [All operations](https://skmtc.dev/food24/apis/goodfood/llms.txt) - [OpenAPI document](https://skmtc.dev/food24/apis/goodfood/revisions/f75c731597d3?raw)
