---
title: "Get Transaction"
method: GET
path: "/api/v1/admin/transactions/{order_id}"
tags: ["Admin: Транзакции"]
---

# Get Transaction

`GET /api/v1/admin/transactions/{order_id}`

## 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/{order_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/auth/login`
- TypeScript: <https://skmtc.dev/food24/apis/goodfood/docs/api/v1/admin/transactions/:order_id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `order_id` string, required

## Response `200`

Successful Response

- TransactionDetail: Детальная информация о транзакции
  - `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)
