Skip to main content
GET
/
cabinet
/
admin
/
stats
/
payments
/
recent
Get Recent Payments
curl --request GET \
  --url http://localhost:8080/cabinet/admin/stats/payments/recent
{
  "payments": [
    {
      "id": 123,
      "user_id": 123,
      "display_name": "<string>",
      "amount_kopeks": 123,
      "amount_rubles": 123,
      "type": "<string>",
      "type_display": "<string>",
      "created_at": "<string>",
      "is_completed": true,
      "telegram_id": 123,
      "email": "<string>",
      "username": "<string>",
      "payment_method": "<string>",
      "description": "<string>"
    }
  ],
  "total_count": 123,
  "total_today_kopeks": 123,
  "total_week_kopeks": 123
}

Query Parameters

limit
integer
default:50

Response

Successful Response

Recent payments response.

payments
RecentPaymentItem · object[]
required
total_count
integer
required
total_today_kopeks
integer
required
total_week_kopeks
integer
required