Перейти к основному содержанию
GET
/
v1
/
kaspi
/
transactions
/
detailed
cURL
curl --request GET \
  --url https://api.example.com/v1/kaspi/transactions/detailed/
{
  "count": 123,
  "results": [
    {
      "id": 123,
      "account": {
        "id": 123,
        "balance": "<string>",
        "client_id": 0
      },
      "created_at": "2023-11-07T05:31:56Z",
      "transaction": "<string>",
      "request_status": "<string>",
      "client": {
        "id": 123,
        "name": "<string>",
        "phone": "<string>",
        "type": 0,
        "avatar": "<string>",
        "email": "jsmith@example.com",
        "extra": "<unknown>"
      },
      "balance": "<string>",
      "balance_after": "<string>",
      "transaction_id": 0,
      "kaspi_id": 0,
      "bcc_id": "<string>",
      "extra": "<unknown>",
      "request_id": 0
    }
  ],
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Параметры запроса

ordering
string

Which field to use when ordering the results.

page
integer

A page number within the paginated result set.

pageSize
integer

Number of results to return per page.

Ответ

200 - application/json
count
integer
обязательно
Пример:

123

results
object[]
обязательно
next
string<uri> | null
Пример:

"http://api.example.org/accounts/?page=4"

previous
string<uri> | null
Пример:

"http://api.example.org/accounts/?page=2"